dont minify JS when minifying HTML

This commit is contained in:
Rich Harris
2018-07-31 14:43:58 -04:00
parent e3ddbfc181
commit c2b393d3fd
3 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ export function minify_html(html: string) {
decodeEntities: true,
html5: true,
minifyCSS: true,
minifyJS: true,
minifyJS: false,
removeAttributeQuotes: true,
removeComments: true,
removeOptionalTags: true,