Skip to content

Commit c1ba38d

Browse files
Zaccc123gaearon
authored andcommitted
Removed the overriding of reduce_vars to false since webpack v2.6.0 included the fixed for Uglify bug (#2351)
1 parent fbaeff2 commit c1ba38d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/react-scripts/config/webpack.config.prod.js

-4
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,6 @@ module.exports = {
282282
new webpack.optimize.UglifyJsPlugin({
283283
compress: {
284284
warnings: false,
285-
// This feature has been reported as buggy a few times, such as:
286-
// https://github.com/mishoo/UglifyJS2/issues/1964
287-
// We'll wait with enabling it by default until it is more solid.
288-
reduce_vars: false,
289285
},
290286
output: {
291287
comments: false,

0 commit comments

Comments
 (0)