We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
swc-project
Learn more about funding links in repositories.
Report abuse
1 parent 2480bb0 commit 7b98bb5Copy full SHA for 7b98bb5
packages/html/index.ts
@@ -16,10 +16,13 @@ export type Options = {
16
| "only-metadata";
17
removeEmptyMetadataElements?: boolean;
18
removeComments?: boolean;
19
- preserveComments: string[];
+ preserveComments?: string[];
20
minifyConditionalComments?: boolean;
21
removeEmptyAttributes?: boolean;
22
- removeRedundantAttributes?: boolean;
+ removeRedundantAttributes?:
23
+ | "none"
24
+ | "all"
25
+ | "smart";
26
collapseBooleanAttributes?: boolean;
27
normalizeAttributes?: boolean;
28
minifyJson?: boolean | { pretty?: boolean };
0 commit comments