From d9358d555fb7bf9c4640ec49e0ac42348dc25670 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 18 Mar 2017 16:09:43 +0200 Subject: [PATCH] Generate sourcemap in production build Fixes #974 --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 09c36561..8d66b1a9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -71,6 +71,7 @@ let config = { if (process.env.NODE_ENV === "production") { config.plugins.push(new webpack.optimize.UglifyJsPlugin({ + sourceMap: true, comments: false })); } else {