Skip to content

Unexpected Components Behavior in SvelteKit with Turborepo #13515

Closed Answered by pepa-linha
pepa-linha asked this question in Q&A
Discussion options

You must be logged in to vote

So I found a problem that I couldn't easily simulate before.

The problem is related to TypeScript, <script lang="ts"> and ...rest parameter when using svelte-preprocess.

My solution was to get rid of the dependency https://www.npmjs.com/package/svelte-preprocess (which I was using for historical reasons) and use the classic vite preprocess.

There is also an old issue on github: sveltejs/svelte-preprocess#662

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pepa-linha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant