Bun Bundler
Optimizes and packages JavaScript and TypeScript code using Bun's high-performance build engine.
The Bun Bundler skill empowers Claude to efficiently package modern JavaScript and TypeScript applications using Bun's lightning-fast native bundler. It provides comprehensive guidance on tree-shaking, code splitting, and cross-platform targeting for Browser, Node.js, and Bun runtimes. By implementing best practices for both CLI and programmatic API usage, this skill helps developers create production-grade assets, manage environment variables, and configure complex build pipelines while avoiding common pitfalls like over-splitting or improper dependency exclusion.
Key Features
01Custom plugin system for extending build capabilities
02Multi-target support for Browser, Node.js, and Bun runtimes
03Automated tree-shaking and efficient code splitting
04Programmatic Build API integration for TypeScript workflows
05Production optimization via minification and external source maps
0639 GitHub stars
Use Cases
01Optimizing backend TypeScript services for rapid deployment
02Creating dual-format (ESM/CJS) libraries for the npm ecosystem
03Packaging high-performance frontend web applications with ESM support