svelte-splide
svelte-splide copied to clipboard
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
Hi,
I got this warning in console:
In the latest version of Vite it's required to specify svelte export: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
Reproduction Link
No response
Steps to Reproduce
- npm create svelte@latest my-app
- cd my-app
- npm install @splidejs/svelte-splide
- npm install
- npm run dev
Expected Behaviour
no console warning will be great
I have opened a PR. Would like to get anyone's feedback on that.
Notes: https://github.com/sveltejs/kit/pull/8922 https://kit.svelte.dev/docs/packaging#anatomy-of-a-package-json-exports
Hi, Any news on this? The warning is pretty annoying.