diff options
| author | rr- <rr-@sakuya.pl> | 2016-09-29 11:24:22 +0200 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2016-09-29 11:24:22 +0200 |
| commit | 67cb12e9d9747a3e939311c326447fe4612395a6 (patch) | |
| tree | 504ebc1557580cba7a92914807489de434a9b577 /client/build.js | |
| parent | a69bdba63f94ef78d6919b119b6f6536a4826777 (diff) | |
client/build: work around uglifyjs bug #1286
https://github.com/mishoo/UglifyJS2/issues/1286
Diffstat (limited to 'client/build.js')
| -rw-r--r-- | client/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/build.js b/client/build.js index e1792a7..25fe512 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) { |