parent
6af38aad87
commit
9966e3ac9a
|
@ -270,7 +270,7 @@ export function parseJs(
|
||||||
})
|
})
|
||||||
|
|
||||||
if (fixedStyle) {
|
if (fixedStyle) {
|
||||||
code += '\n\n' + (LEGACY_MODE ? '' : SHEETS_DEF) + fixedStyle
|
code += '\n\n' + (IS_ENTRY ? SHEETS_DEF : '') + fixedStyle
|
||||||
|
|
||||||
if (IS_ENTRY && !LEGACY_MODE) {
|
if (IS_ENTRY && !LEGACY_MODE) {
|
||||||
code += '\ndocument.adoptedStyleSheets = __sheets__'
|
code += '\ndocument.adoptedStyleSheets = __sheets__'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "fite",
|
"name": "fite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.1.8",
|
"version": "1.1.9",
|
||||||
"bin": {
|
"bin": {
|
||||||
"fite": "index.js"
|
"fite": "index.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue