svelte-selecto: svelte-selecto@1.26.3 have a svelte field in their package.json but no exports condition for svelte
0gust1 opened this issue · comments
Augustin C. commented
First, thanks for the useful package!
Environments
- Framework name: Sveltekit
- Framework version: 2.0.4
- Component name: svelte-selecto
- Component version: 1.26.3
- Testable Address(optional):
Description
With the latest sveltekit version (which uses vite v5), we had the following warning
17:59:01 [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
...
svelte-selecto@1.26.3
...
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Relevant info: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
The fix hinted by the link seems quite straightforward (and backward compatible), but ask if a help/PR is welcome.