Skip to content

Commit

Permalink
build: fix prerender (#8509)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperLife1119 committed Apr 19, 2024
1 parent e9fc4ee commit bfead91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/prerender/minify.ts
Expand Up @@ -23,15 +23,15 @@ async function minifyJs(content: string): Promise<string> {
async function minifyHtml(content: string): Promise<string> {
return htmlMinifier(content, {
collapseBooleanAttributes: true,
collapseWhitespace: true,
collapseWhitespace: false,
decodeEntities: true,
includeAutoGeneratedTags: false,
minifyCSS: true,
minifyJS: minifyJsOptions,
minifyURLs: true,
processScripts: ['text/html'],
ignoreCustomComments: [],
removeComments: true,
removeComments: false,
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
Expand Down

0 comments on commit bfead91

Please sign in to comment.