svelte-splide
svelte-splide copied to clipboard
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
Checks
- [x] Not a duplicate.
- [X] Not a question, feature request, or anything other than a bug report directly related to Svelte Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
0.2.9
Description
I'm getting the following warning:
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
@splidejs/[email protected] @splidejs/[email protected]
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Reproduction Link
No response
Steps to Reproduce
- Setup a svelte-kit project with the latest svelte-kit with node v22.1.0
- Install "@sveltejs/vite-plugin-svelte": "^3.1.1"
- npm run dev ...
Expected Behaviour
Should not throw the warning.
Duplicate of #12