Compare commits
5 Commits
develop
...
replace-pa
Author | SHA1 | Date |
---|---|---|
John McLear | 7e51d8cb46 | |
John McLear | 88a3c16a0e | |
John McLear | 3823bddbba | |
John McLear | f31a529039 | |
John McLear | 0fc69b1b61 |
|
@ -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
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
var CleanCSS = require('clean-css');
|
||||
var terser = require("terser");
|
||||
var terser = require("uglify-js");
|
||||
var path = require('path');
|
||||
var Threads = require('threads')
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,7 +30,7 @@
|
|||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"async": "3.2.0",
|
||||
"async": "0.9.0",
|
||||
"async-stacktrace": "0.0.2",
|
||||
"channels": "0.0.4",
|
||||
"cheerio": "0.22.0",
|
||||
|
@ -51,11 +51,11 @@
|
|||
"lodash.clonedeep": "4.5.0",
|
||||
"log4js": "0.6.35",
|
||||
"measured-core": "1.11.2",
|
||||
"rehype": "^10.0.0",
|
||||
"rehype-format": "^3.0.1",
|
||||
"nodeify": "1.0.1",
|
||||
"npm": "6.14.5",
|
||||
"openapi-backend": "2.4.1",
|
||||
"rehype": "^10.0.0",
|
||||
"rehype-format": "^3.0.1",
|
||||
"request": "2.88.2",
|
||||
"resolve": "1.1.7",
|
||||
"security": "1.0.0",
|
||||
|
@ -67,6 +67,7 @@
|
|||
"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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue