Lyu, Wei-Da

Results 270 comments of Lyu, Wei-Da

The option passed into vite plugin svelte is not visible from outside so it won't be possible to read that. It will need to be option in svelte.config.js. But l...

We also don't support the vitePlugin option in the svelte.config.js. So it'll be the same as adding an dedicated option. It might even be slightly worse than a new top-level...

Please check out some existing performance discussions https://github.com/sveltejs/language-tools/labels/perf. If these don't help, please provide a reproduction repository.

Does the performance problem happen in a SvelteKit route file?

Let me clarify a bit. What I want to ask is actually if the performance problem **ONLY** exists in SvelteKit route ts/js files. I have an idea of what might...

Can you provide the dependencies and devDependencies in your package.json and tsconfig.json? Weird that it also seems to happen in a svelte file as well. I am wondering if it...

> Am I supposed to re-record the +page.svelte file with this option? You can also copy the log. There should be some with the [ts] prefix.

Thanks. It's indeed something to auto-import. I'll take a deeper look later.

The problem in svelte files only appears the first time completion is triggered. TS Server doesn't have it because some auto-import is calculated and cached a bit earlier. And it...

I can't reproduce this I get the error in both tsc and svelte-check. I think you might make some mistake while preparing the reproduction. The `dependency/index.ts` in your zip is...