pablo-abc / svelte-markdown

Markdown parser to svelte components
MIT License
358 stars 50 forks source link

chore: Use "exports" condition in package.json #83

Closed deanpapastrat closed 10 months ago

deanpapastrat commented 11 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.

Warning message from Svelte that showed this issue:

Screenshot 2023-12-14 at 1 34 05 PM

pablo-abc commented 10 months ago

Closing since I got another PR that includes the "types" in the exports property. Thanks for the contribution, though! Really appreciate it