mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
fix minify files and log minify errors
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
38f5bf2e0f
commit
91bd5ae702
6 changed files with 20 additions and 984 deletions
|
@ -64,6 +64,7 @@ var minifyMeshCentralSourceFiles = [
|
|||
"../views/agentinvite.handlebars",
|
||||
"../views/invite.handlebars",
|
||||
"../views/default.handlebars",
|
||||
"../views/default3.handlebars",
|
||||
"../views/default-mobile.handlebars",
|
||||
"../views/download.handlebars",
|
||||
"../views/download2.handlebars",
|
||||
|
@ -452,7 +453,8 @@ function startEx(argv) {
|
|||
removeScriptTypeAttributes: true,
|
||||
removeTagWhitespace: true,
|
||||
preserveLineBreaks: false,
|
||||
useShortDoctype: true
|
||||
useShortDoctype: true,
|
||||
log: function(a) { if (typeof a !== 'string') { console.log(a); } } // Log errors from UglifyJS to console output
|
||||
});
|
||||
} catch (ex) {
|
||||
console.log(ex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue