-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build command fails when using react & vue components #153
Comments
We are actually running two instances of Snowpack, so I'm having a really hard time reproducing this one, though! Would you mind linking to a reproduction? Are you using |
I've added an example here. Any reference to React or Vue seems to throw this error.
How to replicate:
After that I see:
Environment:
|
Thank you! Got it (not) working with that reproduction. I'm taking a look! |
What seems to be happening is that during I think the gist of it only happens for TBH I am also not super sure why the separation of the 2 snowpack instances is necessary. The main devil here is one Snowpack's past work and in-memory cache is not visible to the other. |
* fix(vscode): Markdown frontmatter should use TSX, not YAML * test: add test for withastro#153 * chore: bump deps * chore: update to use @astrojs scope * fix: Markdown parse error when only child is `{expression}` * fix: update renderer edge cases * fix: failing test * fix: update renderer
When creating a new standalone Astro project the build command fails when vue or react components are imported/used
Looking at the code it seems that
resolvePackageUrl
is missing from the frontend options (https://github.com/snowpackjs/astro/blob/main/src/runtime.ts#L338-L346).Can you help me understand why the frontend config doesn't need
resolvePackageUrl
in that scenario?Info
Versions
The text was updated successfully, but these errors were encountered: