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 5 vite-plugin-svelte warning: 'no exports condition for svelte' #35

Open
colinhowells opened this issue Dec 14, 2023 · 1 comment

Comments

@colinhowells
Copy link

When building with SvelteKit 2 and Vite 5:

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

@beyonk/svelte-google-analytics@2.6.4

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

0gust1 commented Jul 2, 2024

We had this on several deps, and helped some maintainers with it: most of the time, the fix – hinted by the link in error message – is quite straightforward (and backward compatible) and .

Feel free to tell if a PR would help.

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

2 participants