Skip to content

Commit eae5d9b

Browse files
authored
fix: minify JS in HTML as well
1 parent 4a32df2 commit eae5d9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/minifyHtml.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ function getOptions(minify: boolean): MinifyOptions {
1414
removeStyleLinkTypeAttributes: minify,
1515
useShortDoctype: minify,
1616
minifyCSS: minify,
17+
minifyJS: minify,
1718
}
1819
}
1920

0 commit comments

Comments
 (0)