Skip to content
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

package.json needs exports for Svelte #19

Open
stephen-bunn opened this issue Jan 5, 2024 · 0 comments
Open

package.json needs exports for Svelte #19

stephen-bunn opened this issue Jan 5, 2024 · 0 comments

Comments

@stephen-bunn
Copy link

Your package.json needs to provide exports for Svelte (see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition)
Currently, the lack of a defined export is just raising warnings.
But Svelte has stated that packages without an export will start to fail in upcoming releases.

...but in a future major release this is going to be removed and without exports condition resolving the library is going to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant