client/build: work around uglifyjs bug #1286
https://github.com/mishoo/UglifyJS2/issues/1286
This commit is contained in:
parent
a69bdba63f
commit
67cb12e9d9
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue