You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
svelte-crop-window@0.2.0
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.
The text was updated successfully, but these errors were encountered:
Just upgraded an app to SvelteKit 2 and receiving this error:
Upgrading
@sveltejs/package
vianpx svelte-migrate package
should fix this.The text was updated successfully, but these errors were encountered: