remove uglify

This commit is contained in:
John McLear 2020-06-07 14:55:24 +00:00
parent f31a529039
commit 3823bddbba
3 changed files with 1 additions and 11 deletions

View file

@ -374,7 +374,7 @@ function getFileCompressed(filename, contentType, callback) {
const compressResult = await compressJS(content);
if (compressResult.error) {
console.error(`Error compressing JS (${filename}) using UglifyJS`, compressResult.error);
console.error(`Error compressing JS (${filename}) using terser`, compressResult.error);
} else {
content = compressResult.code.toString(); // Convert content obj code to string
}

9
src/package-lock.json generated
View file

@ -8163,15 +8163,6 @@
}
}
},
"uglify-js": {
"version": "3.8.1",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.1.tgz",
"integrity": "sha512-W7KxyzeaQmZvUFbGj4+YFshhVrMBGSg2IbcYAjGWGvx8DHvJMclbTDMpffdxFUGPBHjIytk7KJUR/KUXstUGDw==",
"requires": {
"commander": "~2.20.3",
"source-map": "~0.6.1"
}
},
"uid-safe": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz",

View file

@ -67,7 +67,6 @@
"tiny-worker": "^2.3.0",
"tinycon": "0.0.1",
"ueberdb2": "0.4.9",
"uglify-js": "3.8.1",
"underscore": "1.8.3",
"unorm": "1.4.1"
},