landxml/webpack.dev.js

30 lines
709 B
JavaScript
Raw Permalink Normal View History

2020-12-10 16:54:02 +01:00
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'
},
})
]