Skip to content

Commit

Permalink
Removed the overriding of reduce_vars to false since webpack v2.6.0 i…
Browse files Browse the repository at this point in the history
…ncluded the fixed for Uglify bug (#2351)
  • Loading branch information
Zaccc123 authored and gaearon committed May 27, 2017
1 parent fbaeff2 commit c1ba38d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c1ba38d

Please sign in to comment.