Closed niemyjski closed 8 months ago
I get the same error:
8:53:29 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no
exports condition for svelte.
svelte-time@0.8.0
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
You have specified a baseUrl and/or paths in your tsconfig.json which interferes with SvelteKit's auto-generated
tsconfig.json. Remove it to avoid problems with intellisense. For path aliases, use `kit.alias` instead:
https://kit.svelte.dev/docs/configuration#alias
I'm getting an import error where it can't find the package
What's the error?
VS Code can't find the import.
Gotcha. I'm working on a fix for the unresolved types.
Seems to be working now. Thanks!
https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition