-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Something that we noticed with internal codebases, as well as even with RxJS is that tsconfig.jsons are incorrectly configured for editor scenarios and include folders like dist and lib. This means you end up with slower performance, and noisy auto-imports.
We already provide some sort of error here when compiling, but we don't provide the same error in editor scenarios.
Open questions:
- How is this information presented to the user? How is the editor given notice that it should alert a user about this?
- What exactly does it mean to include an output file? In the case of RxJS, there are no "output files" getting included in the compilation based on how we determine a file is an an output of input files. Specifically, the root-level
tsconfig.jsondoesn't specify anoutDir, so it doesn't know that it should avoid includingdist. Maybe we can use some directory-naming heuristics when we find one folder namedsrcand another nameddistorlib?
felschr and lgarron
Metadata
Metadata
Assignees
Labels
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript