diff options
author | 2023-08-25 04:45:41 -0700 | |
---|---|---|
committer | 2023-08-25 04:45:41 -0700 | |
commit | 21b2d5c3a58a974298b06587a1b1c8f442f7b055 (patch) | |
tree | 13f3f42eacd1e944300c4b7f7f239ac19f3673c5 | |
parent | 10815a7d43e53b814ca38c68ba8edfd65e43027d (diff) | |
download | bun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.tar.gz bun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.tar.zst bun-21b2d5c3a58a974298b06587a1b1c8f442f7b055.zip |
Update executables.md
-rw-r--r-- | docs/bundler/executables.md | 6 |
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. |