Bun Bundler Bun's bundler is a fast JavaScript/TypeScript bundler built on the same engine as Bun's runtime. It's an esbuild-compatible alternative with native performance. Quick Start CLI JavaScript API Bun.build Options CLI Flags | Flag | Description | |------|-------------| | | Output directory | | | Output single file | | | , , | | | , , | | | Enable minification | | | Minify whitespace only | | | Minify identifiers only | | | Minify syntax only | | | Enable code splitting | | | , , , | | | Mark packages as external | | | Define compile-time constants | | | Custom loaders for extensions |…