diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/bundler/plugins.md | 6 |
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 |
