mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Alternative to #15596 where it now only impacts `bun run` for the same
cwd dir. This does not effect `bunx` ([even though according to code it
should load
it](7830e15650/src/cli.zig (L2597-L2628))),
and isnt as fancy as `bun install` where it ensures to check the bunfig
in `package.json` dir.
This shouldn't have any performance issues because its already loading
the file, but now its loading earlier so it can use `run.bun` option.
Fixes #11445, (as well as fixes #15484, fixes #15483, fixes #17064)
---------
Co-authored-by: pfg <pfg@pfg.pw>