Skip to content
This repository has been archived by the owner on Dec 3, 2018. 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 gaearon committed May 27, 2017
1 parent bf3d63a commit 3a13ce5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions 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 3a13ce5

Please sign in to comment.