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

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 wmonk committed Aug 7, 2017
1 parent a3b4de1 commit bfeb950
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 @@ -266,10 +266,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 bfeb950

Please sign in to comment.