svelte-infinite-loading
svelte-infinite-loading copied to clipboard
Getting warning for this package after upgrading to sveltekit 2
9:29:01 AM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
[email protected]
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
The recommended fix is found here https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
// package.json
"files": ["dist"],
"svelte": "dist/index.js",
+ "exports": {
+ ".": {
+ "svelte": "./dist/index.js"
+ }
}
Hey Scott!
After releasing version 3.0.0
of svelte-tiny-virtual-list
I will start working on proper SvelteKit support for this package as well and release it with version 2.0.0
around April (or earlier depending on my workload).
Hopefully this should fix any warnings or incompatibilities.