From 611df8ff6409c093356f214133ddd885f78547d4 Mon Sep 17 00:00:00 2001 From: Satya van Heummen Date: Sat, 28 Oct 2017 22:42:41 +0200 Subject: [PATCH] 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 --- config/webpack.config.prod.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index 124d5b3cbeb..23708af5ae4 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -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