-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Getting error with svelte-fa library after 3.0.1 update #813
Comments
soo this one is a doozy.
It does that regardless of position of browser in the mainFields list, so this is going to have to be fixed in vite (i'll work on that afterwards). The short term workaround for you could be to go back to 3.0.0 or import from credits to @bluwy for finding the vite code ref |
thanks for the explanation @dominikg (and @bluwy then as well) For now yes I've fixed the plugin to 3.0.0 (and yes usually you don't expect big breakage on .z bugfix release) I can probably report the issue on the svelte-fa repository as well. It can be better to have a new release version there as well. |
please do, distributing compiled svelte code is not working well. best case users have 2 different svelte versions at runtime that just waste size, then it could just crash with incompatibilities like here, or worst case they'll end up with larger output that has subtle bugs due disagreements betweeen them. My recommendation would be to swtich to |
this has been fixed in vite5, svelte-fa should still clean up their package.json |
Describe the bug
I'm getting the error
No matching export in "node_modules/svelte/src/runtime/internal/index.js" for import "get_slot_context"
it's related to #809
Reproduction URL
https://github.com/benoitf/svelte-issue-app
Reproduction
npm create vite@latest svelte-issue-app -- --template svelte
yarn
yarn dev
now, edit package.json and specify 3.0.0 for vite-plugin-svelte, ran again yarn, here it works
Logs
No response
System Info
The text was updated successfully, but these errors were encountered: