Solid components break with imports in monorepo #7267
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
pkg: solid
Related to Solid (scope)
What version of
astro
are you using?2.5.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Edge
Describe the Bug
In a monorepo with an astro app and a solidjs lib, importing a solidjs component from the lib break the component importing it.
Steps to reproduce in the reproducible example:
pnpm i => pnpm dev/start => open the browser
Uncaught (in promise) ReferenceError: React is not defined
Link to Minimal Reproducible Example
https://stackblitz.com/edit/astro-nj39de
Participation
The text was updated successfully, but these errors were encountered: