Commit 1fa16ace authored by Satya van Heummen's avatar Satya van Heummen Committed by Dan Abramov
Browse files

Make uglify work in Safari 10.0 - fixes #3280 (#3281)

Implement settings as suggested here:
https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-options

To solve this Safari bug:
https://bugs.webkit.org/show_bug.cgi?id=171041
parent 8c7b6e76
Showing with 3 additions and 0 deletions
+3 -0
...@@ -299,6 +299,9 @@ module.exports = { ...@@ -299,6 +299,9 @@ module.exports = {
// https://github.com/mishoo/UglifyJS2/issues/2011 // https://github.com/mishoo/UglifyJS2/issues/2011
comparisons: false, comparisons: false,
}, },
mangle: {
safari10: true,
},
output: { output: {
comments: false, comments: false,
// Turned on because emoji and regex is not minified properly using default // Turned on because emoji and regex is not minified properly using default
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment