aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-25 04:45:41 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-08-25 04:45:41 -0700
commit21b2d5c3a58a974298b06587a1b1c8f442f7b055 (patch)
tree13f3f42eacd1e944300c4b7f7f239ac19f3673c5
parent10815a7d43e53b814ca38c68ba8edfd65e43027d (diff)
downloadbun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.tar.gz
bun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.tar.zst
bun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.zip
Update executables.md
-rw-r--r--docs/bundler/executables.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/bundler/executables.md b/docs/bundler/executables.md
index b6c7a084f..081d57050 100644
--- a/docs/bundler/executables.md
+++ b/docs/bundler/executables.md
@@ -32,7 +32,7 @@ All imported files and packages are bundled into the executable, along with a co
{% /callout %}
-# Embedding files
+## Embedding files
Standalone executables support embedding files.
@@ -55,6 +55,6 @@ You may need to specify a `--loader` for it to be treated as a `"file"` loader (
Embedded files can be read using `Bun.file`'s functions or the Node.js `fs.readFile` function (in `"node:fs"`).
-# Minification
+## Minification
-To trim down the size of the executable a little, pass `--minify` to `bun build --compile`. This uses Bun's minifier to reduce the code size. Overall though, the binary is still way too big and we need to make it smaller.
+To trim down the size of the executable a little, pass `--minify` to `bun build --compile`. This uses Bun's minifier to reduce the code size. Overall though, Bun's binary is still way too big and we need to make it smaller.