Generate sourcemap in production build

Fixes #974
This commit is contained in:
Pavel Djundik 2017-03-18 16:09:43 +02:00
parent dcefcd19cb
commit d9358d555f

View file

@ -71,6 +71,7 @@ let config = {
if (process.env.NODE_ENV === "production") {
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
sourceMap: true,
comments: false
}));
} else {