Skip to content

fix: align default tsconfig "include" logic with tsc/tsserver - #3110

Open
jasonlyu123 wants to merge 3 commits into
masterfrom
undefined-include
Open

fix: align default tsconfig "include" logic with tsc/tsserver#3110
jasonlyu123 wants to merge 3 commits into
masterfrom
undefined-include

Conversation

@jasonlyu123

Copy link
Copy Markdown
Member

#3108

Two fixes in this PR. One is to align the default tsconfig "include" logic with tsc/tsserver. While debugging #3108, I found that TypeScript actually excludes "dot folders" and node_modules from the **/* pattern. The problem that triggers the "large amount of files" warning is mainly our project files update logic.

The other fix is about the reduced mode; the problem is that we don't return any files in getScriptFileNames. Thus, the language service throws an error if any features were requested with the file.

@changeset-bot

changeset-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f9f893a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
svelte-language-server Patch
svelte-check Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant