aboutsummaryrefslogtreecommitdiff
path: root/docs/bundler/plugins.md
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-25 16:16:07 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-25 16:16:16 -0700
commit50bad43dbe2c626085b1f667ed62fb3b1fc1fba4 (patch)
tree1b4e99855f0259183235e35521cf9e1e21b65b36 /docs/bundler/plugins.md
parent48997eaeba3bb31900b6a688ffcd6bf275511d42 (diff)
downloadbun-50bad43dbe2c626085b1f667ed62fb3b1fc1fba4.tar.gz
bun-50bad43dbe2c626085b1f667ed62fb3b1fc1fba4.tar.zst
bun-50bad43dbe2c626085b1f667ed62fb3b1fc1fba4.zip
Remove paragraph that has incorrect information in the docs
Diffstat (limited to '')
-rw-r--r--docs/bundler/plugins.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/bundler/plugins.md b/docs/bundler/plugins.md
index 2062135ec..880de3028 100644
--- a/docs/bundler/plugins.md
+++ b/docs/bundler/plugins.md
@@ -31,12 +31,6 @@ Bun.build({
});
```
-It can also be "registered" with the Bun runtime using the `Bun.plugin()` function. Once registered, the currently executing `bun` process will incorporate the plugin into its module resolution algorithm.
-
-```ts
-Bun.plugin(myPlugin);
-```
-
To consume this plugin, add this file to the `preload` option in your [`bunfig.toml`](/docs/runtime/configuration). Bun automatically loads the files/modules specified in `preload` before running a file.
```toml