jonasgeiler / svelte-tiny-virtual-list

A tiny but mighty list virtualization library for Svelte, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://svelte-tiny-virtual-list.jonasgeiler.com
MIT License
405 stars 23 forks source link

Add svelte export condition #41

Closed ryanhinkel closed 2 months ago

ryanhinkel commented 3 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

ArhanChaudhary commented 2 months ago

Bump

jonasgeiler commented 2 months ago

Thanks! I will merge this but probably rework this library for SvelteKit anyway soon. Nonetheless this should be a good temporary solution.

jonasgeiler commented 2 months ago

I just released v2.1.0 which contains the changes made by this PR. Thanks again!