From 1baa92bd78ca9cce368632142affcab303223ce3 Mon Sep 17 00:00:00 2001 From: BlackGlory Date: Fri, 22 Dec 2023 10:10:30 +0800 Subject: [PATCH] fix: prettier (close #52) --- src/utils/format-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/format-html.ts b/src/utils/format-html.ts index f4f4a82..3cc7225 100644 --- a/src/utils/format-html.ts +++ b/src/utils/format-html.ts @@ -1,5 +1,5 @@ import prettier from 'prettier' -import parserHTML from 'prettier/parser-html.js' +import * as parserHTML from 'prettier/plugins/html.js' export async function formatHTML(html: string): Promise { return await prettier.format(html, {