diff options
author | 2023-09-12 21:51:49 -0700 | |
---|---|---|
committer | 2023-09-12 21:51:49 -0700 | |
commit | 18b521d9b875f4514e413dbe9b614309fd1618aa (patch) | |
tree | a5c48717836c21f0e837dfe11dbc6ced3c6e7d68 /docs/runtime | |
parent | 534fd30dbd297d69b8680df66019d865fdf54e39 (diff) | |
download | bun-18b521d9b875f4514e413dbe9b614309fd1618aa.tar.gz bun-18b521d9b875f4514e413dbe9b614309fd1618aa.tar.zst bun-18b521d9b875f4514e413dbe9b614309fd1618aa.zip |
Various docs (#5201)
* Updates
* Improve jest guide
* Improve
Diffstat (limited to 'docs/runtime')
-rw-r--r-- | docs/runtime/configuration.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/runtime/configuration.md b/docs/runtime/configuration.md index ac71de582..df2fc5199 100644 --- a/docs/runtime/configuration.md +++ b/docs/runtime/configuration.md @@ -12,7 +12,9 @@ You can also create a global configuration file at the following paths: If both a global and local `bunfig` are detected, the results are shallow-merged, with local overriding global. CLI flags will override `bunfig` setting where applicable. -## Runtime +## `bunfig.toml` + +### Runtime ```toml # scripts to run before `bun run`ning a file or script @@ -42,7 +44,7 @@ logLevel = "debug" # "debug", "warn", "error" ".bagel" = "js" ``` -## Test runner +### Test runner ```toml [test] @@ -53,7 +55,7 @@ preload = ["./setup.ts"] smol = true ``` -## Package manager +### Package manager Package management is a complex issue; to support a range of use cases, the behavior of `bun install` can be configured in [`bunfig.toml`](/docs/runtime/configuration). |