Using generateScopedName
with vite.css.modules
breaks CSS, even if classes are correctly outputted
#5097
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
What version of
astro
are you using?latest (stackblitz starter)
Are you using an SSR adapter? If so, which one?
none
What package manager are you using?
npm
What operating system are you using?
macOS
Describe the Bug
Adding this to the stackblitz starter:
We get the new classes:
But CSS isn't correctly associated anymore, it looks like it is just not inserted in the
<head/>
at all.remove
generateScopedName
, and everything get back to normal, the text is red.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-wdlcyk-khanxf?file=src/components/Card.astro
Participation
The text was updated successfully, but these errors were encountered: