From 472aa4d116ae494fe5cc59eb41838519b5997d6e Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 12 May 2023 11:05:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=BC=95=E7=94=A8=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/compile-vue.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/compile-vue.js b/lib/compile-vue.js index 9465c8e..04069cb 100644 --- a/lib/compile-vue.js +++ b/lib/compile-vue.js @@ -254,7 +254,9 @@ export function parseJs( return `import '${name}'` } - }) + fixedStyle + }) + + fixedStyle + + (IS_ENTRY ? '\ndocument.adoptedStyleSheets = __sheets__' : '') ) } diff --git a/package.json b/package.json index 6ac79c7..0eaa296 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fite", "type": "module", - "version": "0.9.1", + "version": "0.9.2", "bin": { "fite": "index.js" },