Commit 3b27b1b
authored
fix(build-tools): allow Js builds to be incremental (#26807)
`allowJs` and `checkJs` were missing from the `incrementalOptions` list
in `tscUtils.ts`. TypeScript stores these in `.tsbuildinfo`, but
`filterIncrementalOptions()` stripped them from the config side only,
causing a permanent mismatch that triggered a rebuild every time.
Additionally fix two deficiencies from #10160 as suggest by Copilot
review:
- "useDefineForClassFields" was doubly defined and can be removed.
- "skipdefaultlibcheck" was incorrectly cased, thus has not effect and
can be removed.1 parent a60e17d commit 3b27b1b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments