mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
update node modules
This commit is contained in:
5
node_modules/clean-css/lib/optimizer/level-2/optimize.js
generated
vendored
5
node_modules/clean-css/lib/optimizer/level-2/optimize.js
generated
vendored
@@ -70,6 +70,7 @@ function recursivelyOptimizeProperties(tokens, context) {
|
||||
|
||||
function level2Optimize(tokens, context, withRestructuring) {
|
||||
var levelOptions = context.options.level[OptimizationLevel.Two];
|
||||
var level2Plugins = context.options.plugins.level2Block;
|
||||
var reduced;
|
||||
var i;
|
||||
|
||||
@@ -124,6 +125,10 @@ function level2Optimize(tokens, context, withRestructuring) {
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < level2Plugins.length; i++) {
|
||||
level2Plugins[i](tokens);
|
||||
}
|
||||
|
||||
if (levelOptions.removeEmpty) {
|
||||
removeEmpty(tokens);
|
||||
}
|
||||
|
Reference in New Issue
Block a user