From da1eb84e928cb26433baf6df02d363062437b63b Mon Sep 17 00:00:00 2001 From: Zac Kwan Date: Thu, 25 May 2017 00:27:07 +0800 Subject: [PATCH] Removed the overriding of reduce_vars to false since webpack v2.6.0 included the fixed for Uglify bug --- packages/react-scripts/config/webpack.config.prod.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 446fd5ca39d..fec81bcabb7 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -282,10 +282,6 @@ module.exports = { new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false, - // This feature has been reported as buggy a few times, such as: - // https://github.com/mishoo/UglifyJS2/issues/1964 - // We'll wait with enabling it by default until it is more solid. - reduce_vars: false, }, output: { comments: false,