mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
update modules
This commit is contained in:
3
node_modules/terser/bin/terser
generated
vendored
3
node_modules/terser/bin/terser
generated
vendored
@@ -99,7 +99,7 @@ if (program.beautify) {
|
||||
}
|
||||
if (program.comments) {
|
||||
if (typeof options.output != "object") options.output = {};
|
||||
options.output.comments = typeof program.comments == "string" ? program.comments : "some";
|
||||
options.output.comments = typeof program.comments == "string" ? (program.comments == "false" ? false : program.comments) : "some";
|
||||
}
|
||||
if (program.define) {
|
||||
if (typeof options.compress != "object") options.compress = {};
|
||||
@@ -281,6 +281,7 @@ function run() {
|
||||
result.enclosed = value.block_scope.enclosed;
|
||||
}
|
||||
value.CTOR.PROPS.forEach(function(prop) {
|
||||
if (prop === "block_scope") return;
|
||||
result[prop] = value[prop];
|
||||
});
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user