23:55:01 [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
@egjs/svelte-infinitegrid@4.11.1
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
Steps to check or reproduce
Run npm install in a project with the latest "@egjs/svelte-infinitegrid": "^4.11.1", and "@sveltejs/vite-plugin-svelte": "^3.0.2",.
Potential fix
As usual with deprecation warnings like this the migration path is rather unclear. It looks like you need to change:
Description
Steps to check or reproduce
Run
npm install
in a project with the latest"@egjs/svelte-infinitegrid": "^4.11.1",
and"@sveltejs/vite-plugin-svelte": "^3.0.2",
.Potential fix
As usual with deprecation warnings like this the migration path is rather unclear. It looks like you need to change:
To a construction like this (or actually you need to have both, since some tools are not compatible with this yet π€¦π»ββοΈ):