From 9f9aa23a69829dd0171164655bb7f894a69339b7 Mon Sep 17 00:00:00 2001 From: Jakub Juszczak Date: Fri, 9 Feb 2018 16:48:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20sourcemap=20generation=20f?= =?UTF-8?q?or=20minified=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.release.min.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/webpack.release.min.js b/build/webpack.release.min.js index 1ad4c0f2..94b38129 100644 --- a/build/webpack.release.min.js +++ b/build/webpack.release.min.js @@ -3,12 +3,10 @@ var webpack = require('webpack') config.output.filename = config.output.filename.replace(/\.js$/, '.min.js') -delete config.devtool - config.plugins = [ new webpack.optimize.ModuleConcatenationPlugin(), new webpack.optimize.UglifyJsPlugin({ - sourceMap: false, + sourceMap: true, compress: { warnings: false }