Content collection MDX styles missing from prod builds for non-page components #6121
Closed
1 task done
Labels
- P5: urgent
Fix build-breaking bugs affecting most users, should be released ASAP (priority)
What version of
astro
are you using?2.0.6
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
When using content collections, MDX styles are missing in production builds when rendering from a non-page
.astro
component.src/pages
component (any level of nesting will work).Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-jjdbqw?file=src/components/UsingMdx.astro,src/content/blog/using-mdx.mdx,src/pages/index.astro
Participation
The text was updated successfully, but these errors were encountered: