I'm encountering a warning message in my Vite project related to the Vite Plugin Svelte. The warning message reads:
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
The packages listed in the warning message are:
- @beyonk/svelte-datepicker@13.0.4
- cl-editor@2.3.0
- svelte-bootstrapjs-action@2.2.2
- svelte-countdown@1.1.2
- svelte-forms-lib@2.0.1
- svelte-notifications@0.9.98
- svrollbar@0.12.0
- @bulatdashiev/svelte-slider@1.0.3
- @ernane/svelte-star-rating@1.1.7
- svelte-fullcalendar@3.0.0
- svelte-range-slider-pips@2.3.1
The warning advises checking the exports condition for svelte. I've referred to the documentation here, but I'm still unsure about how to resolve this issue.
Working Invariantment:Node = 20.12.0Npm = 10.5.2
Package.jsonhttps://codeshare.io/Bdggbb
Could someone provide guidance on how to address this warning message in my Vite project? Any insights or suggestions would be greatly appreciated. Thank you!