-
-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
Description
Per sveltejs/kit#13935 loading svelte.config.ts
is supported. However, when I use such a file in my project it seems to be undetected by both my IDE tooling and when running svelte-check
.
Proposed solution
A quick look lead me to this:
language-tools/packages/language-server/src/lib/documents/configLoader.ts
Lines 222 to 225 in 2c99c58
const config = | |
this.tryGetConfig(file, currentDir, 'js') || | |
this.tryGetConfig(file, currentDir, 'cjs') || | |
this.tryGetConfig(file, currentDir, 'mjs'); |
I suspect altering this is a requirement for compatibility, but may not be sufficient. I have not yet had any time to dive into this further, so any assistance is welcome.
Alternatives
No response
Additional Information, eg. Screenshots
Edit: progress on resolving this can be found at #2804.
Metadata
Metadata
Assignees
Labels
No labels