You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be similar #6524. What happens is that the CSS is imported in an Astro component and a framework component. When Astro does an SSR and client build, both builds would generate their own set of CSS artifacts which causes this duplication.
We do have code in place to remove the duplication though by matching CSS chunks from both builds and discarding one of them. I think#6582 might fix this too.
What version of
astro
are you using?2.0.16
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm,pnpm
What operating system are you using?
Mac
Describe the Bug
open link
example
npm run build
View dist/index.html
I haven't found the reason yet.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-sdeict-ymlg1a?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: