diff --git a/index.js b/index.js index d2dec937..7163f19f 100644 --- a/index.js +++ b/index.js @@ -62,13 +62,17 @@ module.exports = function(content) { [ "removeComments", + "removeCommentsFromCDATA", + "removeCDATASectionsFromCDATA", "collapseWhitespace", - "collapseBooleanAttributes", + "conservativeCollapse", "removeAttributeQuotes", - "removeRedundantAttributes", "useShortDoctype", - "removeEmptyAttributes", - "removeOptionalTags" + "keepClosingSlash", + "minifyJS", + "minifyCSS", + "removeScriptTypeAttributes", + "removeStyleTypeAttributes", ].forEach(function(name) { if (typeof minimizeOptions[name] === "undefined") { minimizeOptions[name] = true;