zerodevx / svelte-toast

Simple elegant toast notifications
https://zerodevx.github.io/svelte-toast/
ISC License
801 stars 48 forks source link

missing svelte export condition #96

Open craigcosmo opened 5 months ago

craigcosmo commented 5 months ago

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

@zerodevx/svelte-toast@1.0.0-rc.1

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

this happens with "@sveltejs/vite-plugin-svelte": "^3.0.2",

zerodevx commented 5 months ago

You're picking up the rc package. Can you reinstall with npm i --save @zerodevx/svelte-toast@latest?