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

fix: add exports field to package.json for Svelte entry point #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oekazuma
Copy link

@oekazuma oekazuma commented Jan 24, 2024

fix: #125

This fix should eliminate the annoying warnings.

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

svelte-range-slider-pips@2.3.0

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

@oekazuma oekazuma changed the title fix: add 'exports' field to package.json for Svelte entry point fix: add exports field to package.json for Svelte entry point Jan 24, 2024
@simeydotme simeydotme added this to the Svelte 4+ , Typescript milestone Feb 28, 2024
@julien-blanchon
Copy link

Any update on this ?

@simeydotme
Copy link
Owner

Any update on this ?

yes @julien-blanchon it's in the beta branch.
I just havent had time to fully build and publish it :)

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

Successfully merging this pull request may close these issues.

[bug] Warning about svelte field in package.json (sveltekit v2, vite v5)
3 participants