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" },