svelte-accessible-dialog
svelte-accessible-dialog copied to clipboard
Update package.json: New export Syntax from svelte
At startup of my sveltekit application ive been seeing this warning message:
18:33:18 [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.
According to the docs, the package.json needs to get updates. This is what this PR does.
The existing top-level "svelte"-key could optionally be removed as well. for backwards-compatibility reasons, the docs say it can also remain, so I didnt delete it.