Commit 6df643c
committed
build: trim tsconfig.json down to the options actually needed
Drop allowSyntheticDefaultImports (implied by esModuleInterop),
resolveJsonModule (no JSON is imported from src), and typeRoots/types
(no ./typings directory exists and skipLibCheck already avoids the
@types conflicts they worked around). Switch moduleResolution to
bundler so node_modules packages still resolve without needing
resolveJsonModule.1 parent 75f7aaf commit 6df643c
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 18 | + | |
25 | 19 | | |
26 | 20 | | |
27 | 21 | | |
0 commit comments