-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Just upgraded an app to SvelteKit 2 and receiving this error:
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
[email protected]
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Using the svelte field in package.json to point at .svelte source files is deprecated and you must use a svelte export condition. vite-plugin-svelte 3 still resolves it as a fallback, but in a future major release this is going to be removed and without exports condition resolving the library is going to fail.
Upgrading @sveltejs/package
via npx svelte-migrate package
should fix this.
notramo
Metadata
Metadata
Assignees
Labels
No labels