Open stephen-bunn opened 7 months ago
Your package.json needs to provide exports for Svelte (see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition) Currently, the lack of a defined export is just raising warnings. But Svelte has stated that packages without an export will start to fail in upcoming releases.
package.json
exports
...but in a future major release this is going to be removed and without exports condition resolving the library is going to fail.
Your
package.json
needs to provideexports
for Svelte (see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition) Currently, the lack of a defined export is just raising warnings. But Svelte has stated that packages without an export will start to fail in upcoming releases.