Skip to content

Commit a39870f

Browse files
committed
Enable source map in development build
1 parent 5ecea7e commit a39870f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ var path = require('path')
55
module.exports = [Object.assign({}, baseConfig, {
66
plugins: baseConfig.plugins.concat([
77
new ExtractTextPlugin('[name].css')
8-
])
8+
]),
9+
devtool: 'source-map'
910
}), {
11+
devtool: 'source-map',
1012
entry: {
1113
htmlExport: path.join(__dirname, 'public/js/htmlExport.js')
1214
},

0 commit comments

Comments
 (0)