🐛 BUG: Inability to use MUI with a React app #4079
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
ecosystem: external
External library doesn't work
What version of
astro
are you using?1.0.0-rc.2
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
This is a new fresh create astro with react and material-ui added to test library compatibility.
Running dev is fine but running build results in the below error before adding material ui to noExternal:
After adding mui to noExternal:
This may simply be an issue with material ui, apologies if so.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-mggo3n?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: