Skip to content

Commit

Permalink
Fix: MinifyHtml cannot be disabled (#846)
Browse files Browse the repository at this point in the history
Fixes #845
  • Loading branch information
sebastianbenz committed Jun 22, 2020
1 parent e90ab69 commit 39b4a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/optimizer/lib/transformers/MinifyHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 39b4a90

Please # to comment.