From 9966e3ac9a43df6dba8da6c78924c2ae3f826fc5 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 8 Jun 2023 16:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dvue=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E5=BC=95=E5=85=A5=E6=A0=B7=E5=BC=8F=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/compile-vue.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compile-vue.js b/lib/compile-vue.js index 919dd94..438daf1 100644 --- a/lib/compile-vue.js +++ b/lib/compile-vue.js @@ -270,7 +270,7 @@ export function parseJs( }) if (fixedStyle) { - code += '\n\n' + (LEGACY_MODE ? '' : SHEETS_DEF) + fixedStyle + code += '\n\n' + (IS_ENTRY ? SHEETS_DEF : '') + fixedStyle if (IS_ENTRY && !LEGACY_MODE) { code += '\ndocument.adoptedStyleSheets = __sheets__' diff --git a/package.json b/package.json index 6ef8006..6e95851 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fite", "type": "module", - "version": "1.1.8", + "version": "1.1.9", "bin": { "fite": "index.js" },