Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0gust1 opened this issue Dec 26, 2023 · 0 comments

Comments

@0gust1
Copy link

0gust1 commented Dec 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant