Enable source map in development build
This commit is contained in:
parent
5ecea7e118
commit
a39870f224
1 changed files with 3 additions and 1 deletions
|
@ -5,8 +5,10 @@ var path = require('path')
|
|||
module.exports = [Object.assign({}, baseConfig, {
|
||||
plugins: baseConfig.plugins.concat([
|
||||
new ExtractTextPlugin('[name].css')
|
||||
])
|
||||
]),
|
||||
devtool: 'source-map'
|
||||
}), {
|
||||
devtool: 'source-map',
|
||||
entry: {
|
||||
htmlExport: path.join(__dirname, 'public/js/htmlExport.js')
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue