Skip to content

Commit f6e63e4

Browse files
committed
chore: minor improvements to html minification
1 parent 56a61b7 commit f6e63e4

1 file changed

Lines changed: 17 additions & 23 deletions

File tree

rollup.config.mjs

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,23 @@ export default [
8787
dest: './log-viewer/out/index.html',
8888
minifierOptions: production
8989
? {
90-
collapseBooleanAttributes: true,
91-
collapseInlineTagWhitespace: true,
92-
collapseWhitespace: true,
93-
conservativeCollapse: true,
94-
decodeEntities: true,
95-
html5: true,
96-
includeAutoGeneratedTags: false,
97-
minifyCSS: true,
98-
minifyJS: true,
99-
minifyURLs: true,
100-
preventAttributesEscaping: true,
101-
processConditionalComments: true,
102-
removeAttributeQuotes: false,
103-
removeComments: true,
104-
removeEmptyAttributes: true,
105-
removeOptionalTags: true,
106-
removeRedundantAttributes: true,
107-
removeScriptTypeAttributes: true,
108-
removeStyleLinkTypeAttributes: true,
109-
sortAttributes: true,
110-
sortClassName: true,
111-
trimCustomFragments: true,
112-
useShortDoctype: true,
90+
collapseWhitespace: true,
91+
html5: true,
92+
includeAutoGeneratedTags: false,
93+
minifyCSS: true,
94+
preventAttributesEscaping: true,
95+
processConditionalComments: true,
96+
removeAttributeQuotes: false,
97+
removeComments: true,
98+
removeEmptyAttributes: false,
99+
removeOptionalTags: true,
100+
removeRedundantAttributes: true,
101+
removeScriptTypeAttributes: true,
102+
removeStyleLinkTypeAttributes: true,
103+
sortAttributes: true,
104+
sortClassName: true,
105+
trimCustomFragments: true,
106+
useShortDoctype: true,
113107
}
114108
: {},
115109
},

0 commit comments

Comments
 (0)