From 67cb12e9d9747a3e939311c326447fe4612395a6 Mon Sep 17 00:00:00 2001 From: rr- Date: Thu, 29 Sep 2016 11:24:22 +0200 Subject: [PATCH] client/build: work around uglifyjs bug #1286 https://github.com/mishoo/UglifyJS2/issues/1286 --- client/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/build.js b/client/build.js index e1792a75..25fe5123 100644 --- a/client/build.js +++ b/client/build.js @@ -70,7 +70,7 @@ function copyFile(source, target) { } function minifyJs(path) { - return require('uglify-js').minify(path).code; + return require('uglify-js').minify(path, {compress: {unused: false}}).code; } function minifyCss(css) {