Bun Plugins - Extend Bun with runtime and bundler plugins
Provides Bun's plugin API for intercepting imports, resolving modules, loading content, and handling bundler lifecycle events.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Register lifecycle callbacks
- Resolve module imports
- Load module contents
- Transform module loaders
- Define module namespaces
Inputs
- Plugin definition
- Module import paths
- Module contents
- Bun build configuration
Outputs
- Resolved module paths
- Transformed module contents
- Bundle lifecycle events
- Bundled output
Requirements
- Bun runtime
- Bun bundler
- JavaScript or TypeScript support
