Commit d432f57
committed
refactor(config-loader): do not lookup
Currently when a config has an explicit extension, the config-loader
still tries resolving/traversing for a `package.json` file. This can
be slow, and also break in some environments with sandboxing; especially
when used in combination with Bazel.
It doesn't seem investigating why the calls are stuck, if the logic
should not run in general when an explicit extension is provided.package.json with explicit extensions1 parent 93ab3ca commit d432f57
File tree
2 files changed
+10
-1
lines changed- .changeset
- packages/config-loader/src
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments