Commit 227e4d7
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 227e4d7
File tree
3 files changed
+12
-3
lines changed- .changeset
- packages/config-loader/src
3 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| 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