diff --git a/packages/optimizer/lib/transformers/MinifyHtml.js b/packages/optimizer/lib/transformers/MinifyHtml.js index 5ff5dd414..f057235f6 100644 --- a/packages/optimizer/lib/transformers/MinifyHtml.js +++ b/packages/optimizer/lib/transformers/MinifyHtml.js @@ -38,7 +38,7 @@ const COMMENT_DEFAULT_IGNORE = /^\s*__[a-bA-Z0-9_-]+__\s*$/; class MinifyHtml { constructor(config) { this.opts = { - minify: !!config.minify || true, + minify: config.minify !== false, minifyAmpScript: true, minifyJSON: true, collapseWhitespace: true,