aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-06-03 20:48:26 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-06-03 20:48:26 +0200
commit73bcf22ebf39078e9998d191780ba8cabedb893c (patch)
tree59b7038c32452b888506ba55e911272949a8a1f3 /webpack.config.js
parent07a84844dbc050dcb2d51118628f5de05a3845c0 (diff)
don't uglify, since it makes source maps too big
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index cc17ad4de..60311aaa2 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -42,7 +42,7 @@ module.exports = function (env) {
],
}
if (env.prod) {
- base.plugins.push(new webpack.optimize.UglifyJsPlugin());
+ //base.plugins.push(new webpack.optimize.UglifyJsPlugin({sourceMap: true}));
base.plugins.push(new webpack.LoaderOptionsPlugin({minimize: true}));
base.plugins.push(new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify("production")