Skip to content

Commit 5cfbb17

Browse files
devversionjelbourn
authored andcommitted
chore: fix minified templates in release (#2292)
* Currently the `html-minifier` minifies the attributes in a non-case sensitive way and this breaks the templates in the releases.
1 parent ed50801 commit 5cfbb17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/gulp/constants.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const SASS_AUTOPREFIXER_OPTIONS = {
1717

1818
export const HTML_MINIFIER_OPTIONS = {
1919
collapseWhitespace: true,
20-
removeComments: true
20+
removeComments: true,
21+
caseSensitive: true,
22+
removeAttributeQuotes: false
2123
};
2224

2325
export const NPM_VENDOR_FILES = [

0 commit comments

Comments
 (0)