Skip to content

Commit

Permalink
Make uglify work in Safari 10.0 - fixes facebook#3280
Browse files Browse the repository at this point in the history
  • Loading branch information
satyavh committed Oct 14, 2017
1 parent 991b092 commit eb3ec1c
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 eb3ec1c

Please sign in to comment.