svelte-sortablejs icon indicating copy to clipboard operation
svelte-sortablejs copied to clipboard

WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

Open harsh111-bit opened this issue 1 year ago • 0 comments

Hi, I just updated to vite v5.1.4, and running the local server is throwing the below warning,

9:07:21 am [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

@jhubbardsf/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
You have specified a baseUrl and/or paths in your tsconfig.json which interferes with SvelteKit's auto-generated tsconfig.json. Remove it to avoid problems with intellisense. For path aliases, use `kit.alias` instead: https://kit.svelte.dev/docs/configuration#alias

From vite-plugin-svelte https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition

image

Please do the required.

harsh111-bit avatar Feb 22 '24 03:02 harsh111-bit