1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 20:30:04 +02:00

update node modules

This commit is contained in:
s2
2021-05-07 15:56:33 +02:00
parent d81e8e9fb8
commit 3ec373077c
550 changed files with 84712 additions and 15991 deletions

View File

@@ -17,6 +17,15 @@ function restoreFromOptimizing(properties, restoreCallback) {
for (i = properties.length - 1; i >= 0; i--) {
property = properties[i];
if (property.dynamic && property.important) {
restoreImportant(property);
continue;
}
if (property.dynamic) {
continue;
}
if (property.unused) {
continue;
}
@@ -25,7 +34,7 @@ function restoreFromOptimizing(properties, restoreCallback) {
continue;
}
if (restoreCallback) {
if (property.optimizable && restoreCallback) {
restored = restoreCallback(property);
property.value = restored;
} else {