Commit a8fa2bb
authored
Add support for jsconfig.json resolution (#3409)
There doesn't appear to be any issues with just returning a `jsconfig.json` when we're looking for a `tsconfig.json` (provided one didn't exist). Finding this gives a `TsConfigReferenceVc` (used for finding type definitions only) and enables the `paths`/`baseUrl` resolution options.
Fixes WEB-2301 parent 2a8832b commit a8fa2bb
File tree
14 files changed
+1153
-20
lines changed- crates
- turbopack-ecmascript/src
- references
- typescript
- turbopack-tests/tests/snapshot
- tsconfig/baseurl/output
- typescript
- jsconfig-baseurl
- input
- output
- tsconfig-baseurl
- input
- output
14 files changed
+1153
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | 426 | | |
428 | 427 | | |
429 | 428 | | |
| |||
437 | 436 | | |
438 | 437 | | |
439 | 438 | | |
440 | | - | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
| |||
456 | 454 | | |
457 | 455 | | |
458 | 456 | | |
459 | | - | |
460 | 457 | | |
461 | 458 | | |
462 | 459 | | |
| |||
477 | 474 | | |
478 | 475 | | |
479 | 476 | | |
480 | | - | |
481 | 477 | | |
482 | 478 | | |
483 | 479 | | |
| |||
503 | 499 | | |
504 | 500 | | |
505 | 501 | | |
506 | | - | |
507 | 502 | | |
508 | 503 | | |
509 | 504 | | |
| |||
1104 | 1099 | | |
1105 | 1100 | | |
1106 | 1101 | | |
1107 | | - | |
1108 | 1102 | | |
1109 | 1103 | | |
1110 | 1104 | | |
| |||
1135 | 1129 | | |
1136 | 1130 | | |
1137 | 1131 | | |
1138 | | - | |
1139 | 1132 | | |
1140 | 1133 | | |
1141 | 1134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments