Skip to content

Commit

Permalink
Make uglify work in Safari 10.0 - fixes #3280 (#3281)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyavh authored and gaearon committed Oct 28, 2017
1 parent 8c7b6e7 commit 1fa16ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ module.exports = {
// https://github.com/mishoo/UglifyJS2/issues/2011
comparisons: false,
},
mangle: {
safari10: true,
},
output: {
comments: false,
// Turned on because emoji and regex is not minified properly using default
Expand Down

0 comments on commit 1fa16ac

Please sign in to comment.