@global is broken
alekangelov opened this issue · comments
Hello,
the @global rule seems to be broken
it's wrapping the styles in an "@global {...}"
function App() {
css`
@global { body { background: white } }
`
return <main />
}
should compile to
body { background: white }
but instead it compiles to
@global { body { background: white } }
downgrading to 0.8.2 fixed the issue. maybe due to moving away from postcss?
hmmm, I thought this is covered. I'll take a look again
Seems like a bug with LightningCSS not calling exit visitors. I'll wait til this is addressed