Enable source map in development build

This commit is contained in:
Yukai Huang 2017-04-11 16:39:47 +08:00
parent 5ecea7e118
commit a39870f224

View file

@ -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')
},