sveltejs / language-tools

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

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

Open ciscoheat opened 1 year ago

ciscoheat commented 1 year 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 (