metonym / svelte-intersection-observer

Detect if an element is in the viewport using the Intersection Observer API
https://metonym.github.io/svelte-intersection-observer/
MIT License
326 stars 8 forks source link

Warning with `vite-plugin-svelte` #76

Closed baseplate-admin closed 10 months ago

baseplate-admin commented 10 months ago

Hi when i use this package i get this warning

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

svelte-intersection-observer@0.10.1

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

I'm seeing the same warning post kit v2 migration.

metonym commented 10 months ago

This is fixed in v0.10.2