Bun Minifier
Reduce bundle sizes with Bun's JavaScript and TypeScript minifier
Install
npx skills add jarle/bun-skills --skill Bun Minifiergit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-bundler-minifier ~/.claude/skills/Bun-MinifierPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
> Reduce bundle sizes with Bun's JavaScript and TypeScript minifier
# null
Bun includes a fast JavaScript and TypeScript minifier that can reduce bundle sizes by 80% or more (depending on the codebase) and make output code run faster. The minifier performs dozens of optimizations including constant folding, dead code elimination, and syntax transformations. Unlike other minifiers, Bun's minifier makes `bun build` run faster since there's less code to print.
## CLI Usage
### Enable all minification
Use the `--minify` flag to enable all minification modes:
```bash theme={"theme":{"light":"github-light","dark":"dracula"}}
bun build ./index.ts --minify --outfile=out.js
```
The `--minify` flag automatically enables:
* Whitespace minification
* Syntax minification
* Identifier minification
### Production mode
The `--production` flag automatically enables minification:
```bash theme={"theme":{"light":"github-light","dark":"dracula"}}
bun build ./index.ts --production --outfile=out.js
```
The `--production` flag also:
* Sets `process.env.NODE_ENV` to `production`
* Enables the production-mode JSX import & transform
### Granular control
You can enable specific minification modes individually:Details
- Skill name
Bun Minifier- Repository
- jarle/bun-skills
- Path
skills/bun-bundler-minifier/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Minifier skill do?
Reduce bundle sizes with Bun's JavaScript and TypeScript minifier
How do I install the Bun Minifier skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Minifier. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Minifier popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Module Resolution
9jarle/bun-skills
How Bun resolves modules and handles imports in JavaScript and TypeScript
Bun Markdown
9jarle/bun-skills
Parse and render Markdown with Bun's built-in Markdown API, supporting GFM extensions and custom rendering callbacks
Bun Node API
9jarle/bun-skills
Use Bun's Node-API module to build native add-ons to Node.js
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.