Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit bfeb950

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

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
@@ -266,10 +266,6 @@ module.exports = {
266266
new webpack.optimize.UglifyJsPlugin({
267267
compress: {
268268
warnings: false,
269-
// This feature has been reported as buggy a few times, such as:
270-
// https://github.com/mishoo/UglifyJS2/issues/1964
271-
// We'll wait with enabling it by default until it is more solid.
272-
reduce_vars: false,
273269
},
274270
output: {
275271
comments: false,

0 commit comments

Comments
 (0)