Closed ciscoheat closed 11 months ago
I'm not sure why the error is appearing considering Lucia does't export any Svelte components
I think it's happening when vite-plugin-svelte
is parsing the package.json for lucia, so it finds the deprecated "svelte": "dist/index.js
line there, and issues the warning.
Thank you! :) Will test when the next version is released.
Package
lucia-auth
Describe the bug
I get this error when testing a project that includes lucia with vitest:
It seems like it's a simple fix in
package.json
for lucia, according to https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition