Browse Source

Enable source map in development build

pull/425/head
Yukai Huang 4 years ago
parent
commit
a39870f224
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      webpack.config.js

+ 3
- 1
webpack.config.js 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')
},


Loading…
Cancel
Save