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

[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. #15

Open
2 tasks done
thesrs02 opened this issue Jun 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thesrs02
Copy link

thesrs02 commented Jun 26, 2024

Checks

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

  1. Setup a svelte-kit project with the latest svelte-kit with node v22.1.0
  2. Install "@sveltejs/vite-plugin-svelte": "^3.1.1"
  3. npm run dev
    ...

Expected Behaviour

Should not throw the warning.

@thesrs02 thesrs02 added the bug Something isn't working label Jun 26, 2024
@ekcom
Copy link

ekcom commented Aug 15, 2024

Duplicate of #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants