svelte-forms-lib
svelte-forms-lib copied to clipboard
Vite Warning: Svelte field in package.json but no export condition for svelte.
Summary
vite-plugin-svelte produces a warning message for svelte-forms-lib.
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
[email protected]
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Steps to reproduce
- Install [email protected]
- Install @sveltejs/[email protected]
- Run
pnpm devornpm dev
Example Project
What is the current bug behavior?
Warning message displayed in console when running npm dev
What is the expected correct behavior?
No warning message should show
Relevant logs and/or screenshots
Possible fixes
Details about the missing exports condition is available here:
https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
Same for here: