Skip to content

Commit ff2e778

Browse files
committed
chore: suppress htmlnano type error
1 parent d054c90 commit ff2e778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ui-templates/lib/render.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export const RenderPlugin = () => {
8686
}
8787

8888
// Minify HTML
89+
// @ts-expect-error error in htmlnano types: https://github.com/posthtml/htmlnano/issues/376
8990
html = await htmlnano.process(html, { collapseWhitespace: 'aggressive' }).then(r => r.html)
9091

9192
if (!isCompleteHTML) {

0 commit comments

Comments
 (0)