client/build: work around uglifyjs bug #1286

https://github.com/mishoo/UglifyJS2/issues/1286
This commit is contained in:
rr- 2016-09-29 11:24:22 +02:00
parent a69bdba63f
commit 67cb12e9d9

View file

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