landxml/webpack.dev.js

30 lines
709 B
JavaScript

const webpack = require('webpack')
const common = require('./webpack.common.js')
const { merge } = require('webpack-merge')
const path = require('path')
module.exports = [
merge(common[0], {
devtool: 'inline-source-map',
mode: 'development',
output: {
path: path.join(__dirname, 'bundles'),
filename: 'landxml.node.dev.js'
},
}),
(common[1], {
devtool: 'inline-source-map',
mode: 'development',
output: {
path: path.join(__dirname, 'bundles'),
filename: 'landxml.native.dev.js'
},
}),
merge(common[2], {
mode: 'development',
output: {
path: path.join(__dirname, 'bundles'),
filename: 'landxml.browser.dev.js'
},
})
]