jonasgeiler / svelte-infinite-loading

An infinite scroll component for Svelte, to help you implement an infinite scroll list more easily.
MIT License
304 stars 11 forks source link

Add svelte export condition #22

Closed ryanhinkel closed 5 months ago

ryanhinkel commented 7 months ago

Adds an export condition to replace the deprecated "svelte" field. The "svelte" field will stop working at some point in the future with vite-plugin-svelte.

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

jonasgeiler commented 5 months ago

Thank you!

jonasgeiler commented 5 months ago

I just released v1.4.0 which contains the changes made by this PR.