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