We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fb1cf3 + b797acf commit 2abb0d7Copy full SHA for 2abb0d7
index.js
@@ -62,13 +62,17 @@ module.exports = function(content) {
62
63
[
64
"removeComments",
65
+ "removeCommentsFromCDATA",
66
+ "removeCDATASectionsFromCDATA",
67
"collapseWhitespace",
- "collapseBooleanAttributes",
68
+ "conservativeCollapse",
69
"removeAttributeQuotes",
- "removeRedundantAttributes",
70
"useShortDoctype",
- "removeEmptyAttributes",
71
- "removeOptionalTags"
+ "keepClosingSlash",
72
+ "minifyJS",
73
+ "minifyCSS",
74
+ "removeScriptTypeAttributes",
75
+ "removeStyleTypeAttributes",
76
].forEach(function(name) {
77
if (typeof minimizeOptions[name] === "undefined") {
78
minimizeOptions[name] = true;
0 commit comments