Skip to content

Commit 072e6ea

Browse files
committed
fix: minify remove head and body tags
1 parent 21c24d0 commit 072e6ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/pranx/src/build/generate_html_template.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ export const generate_html_template = ({
4646
removeRedundantAttributes: "smart",
4747
quotes: true,
4848
selfClosingVoidElements: false,
49+
tagOmission: "keep-head-and-body",
4950
}).code;
5051
};

0 commit comments

Comments
 (0)