selecto icon indicating copy to clipboard operation
selecto copied to clipboard

svelte-selecto: [email protected] have a svelte field in their package.json but no exports condition for svelte

Open 0gust1 opened this issue 6 months ago • 0 comments

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.
...
[email protected]
...

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.

0gust1 avatar Dec 26 '23 17:12 0gust1