mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/build: work around uglifyjs bug #1286
https://github.com/mishoo/UglifyJS2/issues/1286
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user