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
This commit is contained in:
Satya van Heummen
2017-10-28 22:42:41 +02:00
committed by Dan Abramov
parent 8c7b6e766e
commit 1fa16ace5f

View File

@@ -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