Replies: 1 comment
-
Needed to add to vite.config.js
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a private Svelte library (topo-editor) which uses .svelte.ts files.
When I install this library in another SvelteKit application, I get errors such as:
Unexpected token (1:12) [plugin vite-plugin-svelte-module:optimize-svelte]
It is the same whether the import is .svelte, .svelte.ts or .svelte.js.
Can you tell me how to fix.
Beta Was this translation helpful? Give feedback.
All reactions