diff options
author | 2023-09-16 05:10:04 +0800 | |
---|---|---|
committer | 2023-09-15 14:10:04 -0700 | |
commit | 575a85a3fdc8c938743bafbc72c604dea95fbc17 (patch) | |
tree | e51023198e6ea55e56c9d657a2c20c804443b1a4 | |
parent | 8eabb4d1d5bb66d4a1782cfdc4f17192eb395a71 (diff) | |
download | bun-575a85a3fdc8c938743bafbc72c604dea95fbc17.tar.gz bun-575a85a3fdc8c938743bafbc72c604dea95fbc17.tar.zst bun-575a85a3fdc8c938743bafbc72c604dea95fbc17.zip |
docs(runtime): fix some typo. (#5451)
-rw-r--r-- | docs/runtime/bunfig.md | 7 | ||||
-rw-r--r-- | docs/runtime/hot.md | 2 | ||||
-rw-r--r-- | docs/runtime/modules.md | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/docs/runtime/bunfig.md b/docs/runtime/bunfig.md index 9426cc6e0..3db6965f5 100644 --- a/docs/runtime/bunfig.md +++ b/docs/runtime/bunfig.md @@ -269,6 +269,9 @@ Valid values are: {% table %} +- Value +- Description + --- - `"auto"` @@ -277,12 +280,12 @@ Valid values are: --- - `"force"` -- Always auto-install dependencies, even if `node_modules` exists +- Always auto-install dependencies, even if `node_modules` exists. --- - `"disable"` -- Never auto-install dependencies +- Never auto-install dependencies. --- diff --git a/docs/runtime/hot.md b/docs/runtime/hot.md index a8837594f..4c344f4dc 100644 --- a/docs/runtime/hot.md +++ b/docs/runtime/hot.md @@ -1,6 +1,6 @@ Bun supports two kinds of automatic reloading via CLI flags: -- `--watch` mode, which hard restarts Bun's process when imported files change/ +- `--watch` mode, which hard restarts Bun's process when imported files change. - `--hot` mode, which soft reloads the code (without restarting the process) when imported files change. ## `--watch` mode diff --git a/docs/runtime/modules.md b/docs/runtime/modules.md index b4d560c81..5562b5d15 100644 --- a/docs/runtime/modules.md +++ b/docs/runtime/modules.md @@ -24,7 +24,7 @@ export function hello() { {% /codetabs %} -When we run `index.ts`, it prints "Hello world". +When we run `index.ts`, it prints "Hello world!". ```bash $ bun index.ts @@ -197,7 +197,7 @@ Bun respects subpath [`"exports"`](https://nodejs.org/api/packages.html#subpath- Subpath imports and conditional imports work in conjunction with each other. -``` +```json { "name": "foo", "exports": { |