romkor / svelte-portal

Svelte component for rendering outside the DOM of parent component
https://svelte.dev/repl/407576d4fa984cfb97dcdd3da98e833e
MIT License
439 stars 21 forks source link

Fix warning while using with `vite-plugin-svelte` #177

Closed harshmandan closed 8 months ago

harshmandan commented 9 months ago

While using the dep with @sveltejs/kit:v2.x setup, vite:v5.x and @sveltejs/vite-plugin-svelte:v3.0.0 on running the app a warning is displayed:

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

svelte-portal@2.2.0
Tjomas commented 9 months ago

Same issue here

IAkumaI commented 8 months ago

Any news about merging this?