mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 14:51:52 +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>