summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYukai Huang2017-04-11 16:39:47 +0800
committerYukai Huang2017-04-11 16:40:13 +0800
commita39870f224320856d43eb3377343f1c4229f11dd (patch)
treefff452e34a6e59875c264e03eef3a1c6aa429166
parent5ecea7e1183e4efce445967318d6c43c223504f1 (diff)
Enable source map in development build
Diffstat (limited to '')
-rw-r--r--webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index f9f0a1c9..b725174c 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -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')
},