From 8604bfb351f11e1caf000a0acfa148aea2892276 Mon Sep 17 00:00:00 2001 From: Aruna Herath Date: Fri, 23 Sep 2016 16:17:51 +0530 Subject: [PATCH] Stop uglifyjs from mangling names. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This affects info addon’s source inspection. --- src/server/config/webpack.config.prod.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server/config/webpack.config.prod.js b/src/server/config/webpack.config.prod.js index 309f55583711..86d6a276d619 100644 --- a/src/server/config/webpack.config.prod.js +++ b/src/server/config/webpack.config.prod.js @@ -35,9 +35,7 @@ export default function () { screw_ie8: true, warnings: false, }, - mangle: { - screw_ie8: true, - }, + mangle: false, output: { comments: false, screw_ie8: true,