mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 06:41:50 +00:00
## Summary - Fixes the esbuild migration guide (`docs/bundler/esbuild.mdx`) which incorrectly stated that `onStart`, `onEnd`, `onDispose`, and `resolve` were all unimplemented. `onStart` and `onEnd` **are** implemented — only `onDispose` and `resolve` remain unimplemented. - Adds missing `onEnd()` documentation section to both `docs/bundler/plugins.mdx` and `docs/runtime/plugins.mdx`, including type signature, description, and usage examples. - Adds `onEnd` to the type reference overview and lifecycle hooks list in both plugin docs. Fixes #27083 ## Test plan - Documentation-only change — no code changes. - Verified the `onEnd` implementation exists in `src/js/builtins/BundlerPlugin.ts` and matches the documented API. - Verified `onStart` implementation exists and is fully functional. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude <noreply@anthropic.com>
Bun Documentation
Official documentation for Bun: the fast, all-in-one JavaScript runtime.
Development
Install the Mintlify CLI to preview the documentation locally:
bun install -g mint
Run the development server:
mint dev
The site will be available at http://localhost:3000.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.