Skip to content

Commit

Permalink
Fix: MinifyHtml cannot be disabled
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 f059dc4
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 f059dc4

Please # to comment.