Open thenbe opened 9 months ago
Seeing this in my build as well after upgrading. Looks easily fixible by
https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
// package.json
"files": ["dist"],
"svelte": "dist/index.js",
+ "exports": {
+ ".": {
+ "svelte": "./dist/index.js"
+ }
}
Describe the bug Using this package with sveltekit v2 shows a warning during
vite dev
orvite build
:Library version @rgossiaux/svelte-headlessui: 2.0.0