We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
svelte
See: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
The text was updated successfully, but these errors were encountered:
As usual with deprecation warnings like this the migration path is rather unclear. It looks like you need to change:
{ "svelte": "./dist/index.js", "types": "./dist/index.d.ts" }
To a construction like this (or actually you need to have both, since some tools are not compatible with this yet 🤦🏻♂️):
{ "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js" } } }
Sorry, something went wrong.
No branches or pull requests
See: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
The text was updated successfully, but these errors were encountered: