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 "missing exports condition" warning for Svelte Splide #1258

Open
2 tasks done
Nintron27 opened this issue Dec 15, 2023 · 2 comments
Open
2 tasks done

Vite "missing exports condition" warning for Svelte Splide #1258

Nintron27 opened this issue Dec 15, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Nintron27
Copy link

Checks

Version

4.1.4

Description

vite-plugin-svelte throws the following warning on the @splidejs/svelte-splide package:

7:02:25 PM [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. Update/be running Svelte >= v4 and SvelteKit >= v2
  2. Run npm run dev in your SvelteKit project

Expected Behaviour

Not have the error thrown. I'm not sure internally how Splide Svelte works, but perhaps this warning is applicable?

@Nintron27 Nintron27 added the bug Something isn't working label Dec 15, 2023
@dioxine
Copy link

dioxine commented Dec 16, 2023

i have the same warning with same setup.
we should wait when maintainers of splidejs add this stuff to their product and svelte integration, here are details
https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition

@mike-moreau
Copy link

I began a PR for this issue here #1303

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

3 participants