修复入口文件样式引用不生效的bug

pull/1/head
yutent 2023-05-12 11:05:03 +08:00
parent 0b398f4d67
commit 472aa4d116
2 changed files with 4 additions and 2 deletions

View File

@ -254,7 +254,9 @@ export function parseJs(
return `import '${name}'`
}
}) + fixedStyle
}) +
fixedStyle +
(IS_ENTRY ? '\ndocument.adoptedStyleSheets = __sheets__' : '')
)
}

View File

@ -1,7 +1,7 @@
{
"name": "fite",
"type": "module",
"version": "0.9.1",
"version": "0.9.2",
"bin": {
"fite": "index.js"
},