Skip to content

Svelte field warning #7

New issue

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

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

Already on GitHub? # to your account

Open
sveltifier opened this issue Jan 18, 2024 · 2 comments
Open

Svelte field warning #7

sveltifier opened this issue Jan 18, 2024 · 2 comments

Comments

@sveltifier
Copy link

After installing svelte-components, on npm run dev I get:

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

@onsvisual/svelte-components@0.1.21
@splidejs/svelte-splide@0.2.9
@sveltejs/svelte-scroller@2.0.7
svelte-fa@2.4.0
svelte-search@2.0.2
@splidejs/splide@4.1.4

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

@bothness
Copy link
Member

Hmm... This might be one for you to diagnose? Feel free to push a fix. I guess we'll have to ignore it for the other packages.

@sveltifier
Copy link
Author

Fixed I think here #8

But now all the dependencies that have yet to fix this are showing up :-)

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

@splidejs/svelte-splide@0.2.9
@sveltejs/svelte-scroller@2.0.7
svelte-fa@2.4.0
svelte-intersection-observer@0.10.0
svelte-search@2.0.1
svelte-select@5.6.1
svelte-floating-ui@1.2.8
@splidejs/splide@4.1.4

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

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

No branches or pull requests

2 participants