With sveltekit 2.x there's a warning: svelte field in their package.json but no exports condition for svelte
sdarnell opened this issue · 0 comments
sdarnell commented
I've just updated to sveltekit 2.0 and there is the following warning issued:
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
svelte-feather-icons@4.0.1
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Looking at package.json: https://github.com/dylanblokhuis/svelte-feather-icons/blob/9ea2af73f4623c8b217ec5e68afbfcdeb625b6c3/package.json#L10C28-L10C28
10: "svelte": "src/index.js",
and the warning suggests adding a new 'exports' definition...