svelte-forms-lib icon indicating copy to clipboard operation
svelte-forms-lib copied to clipboard

Vite Warning: Svelte field in package.json but no export condition for svelte.

Open emmabyte opened this issue 1 year ago • 4 comments

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

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

emmabyte avatar Jan 20 '24 21:01 emmabyte

Same for here: image

waller-jhonatan avatar Mar 04 '24 14:03 waller-jhonatan