Bun Bytecode Caching - Cache Bun bytecode during builds
Enables Bun builds to generate and use bytecode caches to reduce JavaScript parsing and improve application startup time.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Enable bytecode caching
- Build CommonJS bundles
- Compile standalone executables
- Compile ESM bytecode
- Combine minification and sourcemaps
- Verify bytecode cache usage
Inputs
- JavaScript or TypeScript source files
- Bun build options
Outputs
- Bundled JavaScript files
- JSC bytecode cache files
- Standalone executables
- Bytecode cache logs
Requirements
- Bun bundler environment
- --compile for ESM bytecode
- Matching Bun version for cached bytecode
