From 5cfbb17122934b625dbfc31abac2afbe483c49f2 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 20 Dec 2016 19:48:11 +0100 Subject: [PATCH] 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. --- tools/gulp/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gulp/constants.ts b/tools/gulp/constants.ts index 773d3a4a10b..902a4fe4bf6 100644 --- a/tools/gulp/constants.ts +++ b/tools/gulp/constants.ts @@ -17,7 +17,9 @@ export const SASS_AUTOPREFIXER_OPTIONS = { export const HTML_MINIFIER_OPTIONS = { collapseWhitespace: true, - removeComments: true + removeComments: true, + caseSensitive: true, + removeAttributeQuotes: false }; export const NPM_VENDOR_FILES = [