Closed deanpapastrat closed 10 months ago
Per the vite-plugin-svelte docs, all Svelte libraries should use the exports option in package.json instead of svelte, which is deprecated and will be removed soon.
vite-plugin-svelte
exports
package.json
svelte
Warning message from Svelte that showed this issue:
Closing since I got another PR that includes the "types" in the exports property. Thanks for the contribution, though! Really appreciate it
Per the
vite-plugin-svelte
docs, all Svelte libraries should use theexports
option inpackage.json
instead ofsvelte
, which is deprecated and will be removed soon.Warning message from Svelte that showed this issue: