Skip to content

Commit

Permalink
Make uglify work in Safari 10.0 - fixes facebook#3280 (facebook#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 6999055 commit ff523ba
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 ff523ba

Please sign in to comment.