Skip to content

Commit

Permalink
fix(minify-preset): correct for ESM default export
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Feb 23, 2024
1 parent 0cd96ed commit 4e45321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/minify-preset/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const importPlugins = async () => {
rehypeRemoveStyleTypeCss,
rehypeSortAttributeValues,
rehypeSortAttributes
] as Pluggable[];
].map((mod) => mod.default) as Pluggable[];
};

const settings = {
Expand Down

0 comments on commit 4e45321

Please sign in to comment.