sveltejs / language-tools

The Svelte Language Server, and official extensions which use it
MIT License
1.24k stars 198 forks source link

Assume an empty svelte.config.js instead of requiring it? #1683

Closed ciscoheat closed 2 months ago

ciscoheat commented 2 years ago

Describe the bug

I was pointed here after reporting withastro/astro#5065 , the problem seems to be that the VS Code extension requires a svelte.config.js that isn't always available, for example when using Sass in a Svelte component in an Astro project, that doesn't have that file in its root folder.

Reproduction

When using a Svelte component with Sass styling (