Skip to content

Commit 611df8f

Browse files
satyavhgaearon
authored andcommitted
Make uglify work in Safari 10.0 - fixes facebook#3280 (facebook#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
1 parent 6d32fee commit 611df8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/webpack.config.prod.js

+3
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ module.exports = {
299299
// https://github.com/mishoo/UglifyJS2/issues/2011
300300
comparisons: false,
301301
},
302+
mangle: {
303+
safari10: true,
304+
},
302305
output: {
303306
comments: false,
304307
// Turned on because emoji and regex is not minified properly using default

0 commit comments

Comments
 (0)