We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c27d765 commit fd2a800Copy full SHA for fd2a800
packages/react-scripts/config/webpack.config.prod.js
@@ -280,6 +280,10 @@ module.exports = {
280
new webpack.optimize.UglifyJsPlugin({
281
compress: {
282
warnings: false,
283
+ // This feature has been reported as buggy a few times, such as:
284
+ // https://github.com/mishoo/UglifyJS2/issues/1964
285
+ // We'll wait with enabling it by default until it is more solid.
286
+ reduce_vars: false,
287
},
288
output: {
289
comments: false,
0 commit comments