Skip to content

Commit a43825c

Browse files
committed
Add parameter disableStructuralMinification, disabling the csso structual minification if true
1 parent 1becd86 commit a43825c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function(content) {
1212
var root = query.root;
1313
var tree = csso.parse(content, "stylesheet");
1414
if(tree && this && this.minimize) {
15-
tree = csso.compress(tree);
15+
tree = csso.compress(tree, query.disableStructuralMinification);
1616
tree = csso.cleanInfo(tree);
1717
}
1818

0 commit comments

Comments
 (0)