aboutsummaryrefslogtreecommitdiff
path: root/docs/bundler/migration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/bundler/migration.md')
-rw-r--r--docs/bundler/migration.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bundler/migration.md b/docs/bundler/migration.md
index bfe5a63bc..7b375fda5 100644
--- a/docs/bundler/migration.md
+++ b/docs/bundler/migration.md
@@ -897,7 +897,7 @@ const myPlugin: BunPlugin = {
};
```
-The `builder` object provides some methods for hooking into parts of the bundling process. Bun implements `onResolve` and `onLoad`; it does not yet implement the esbuild hooks `onStart`, `onEnd`, and `onDispose`, or the `initialOptions` and `resolve` utilities.
+The `builder` object provides some methods for hooking into parts of the bundling process. Bun implements `onResolve` and `onLoad`; it does not yet implement the esbuild hooks `onStart`, `onEnd`, and `onDispose`, and `resolve` utilities. `initialOptions` is partially implemented, being read-only and only having a subset of esbuild's options; use [`config`](/docs/bundler/plugins#reading-bunbuilds-config) (same thing but with Bun's `BuildConfig` format) instead.
```ts
import type { BunPlugin } from "bun";