[🐞] Production builds un-nest @starting-style
declarations but don't bring scoped style class along for the ride
#6982
Labels
@starting-style
declarations but don't bring scoped style class along for the ride
#6982
Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
If you use
@starting-style
in scoped CSS like so:…when the production build happens it does this:
Which is another way of writing the same thing. But! It doesn't append the scoped CSS class to the
.line
selector.Reproduction
https://stackblitz.com/edit/github-cv95eb-7l9fik?file=src%2Froutes%2Fscoped.css
Steps to reproduce
pnpm dev
and see the button fades in.pnpm preview
, see the button doesn't fade in, and inspect the CSS (for.foo
in the Stackblitz).System Info
The text was updated successfully, but these errors were encountered: