bun-build
FreeNo executable scriptsNot checkedBun build: bundle or compile JS/TS to production bundle or standalone binary. Use when the user wants to bundle, compile, or build for browser/bun/node target.
by laurigates★ 61 GitHub starsAbout this skill
/bun:build
Bundle JavaScript/TypeScript or compile to standalone executable.
When to Use This Skill
| Scenario | Use this skill | Alternative |
|---|---|---|
| Quick production bundle of an entry point | Yes | N/A |
| Compiling to a standalone executable | Yes | N/A |
| Building for a specific target (browser/bun/node) | Yes | N/A |
| Configuring complex build pipelines | No - use bun-development |
Full build configuration guidance |
Running project build scripts (bun run build) |
No - use bun-development |
N/A |
Parameters
entry(required): Entry point file--compile: Create standalone executable--minify: Minify output
Execution
Production bundle:
bun build $ENTRY --outdir=dist --minify --sourcemap=external
Standalone executable:
bun build --compile --minify $ENTRY --outfile={{ OUTFILE | default: "app" }}
Development bundle:
bun build $ENTRY --outdir=dist --sourcemap=inline
Build Targets
# Browser (default)
bun build $ENTRY --target=browser --outdir=dist
# Bun runtime
bun build $ENTRY --target=bun --outdir=dist
# Node.js
bun build $ENTRY --target=node --outdir=dist
Post-build
- Report output file sizes
- List generated files in output directory
- For --compile: verify executable runs with
./app --helpor similar
Install bun-build in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
Bash(bun build *)ReadFAQ
What does the bun-build skill do?
Bun build: bundle or compile JS/TS to production bundle or standalone binary. Use when the user wants to bundle, compile, or build for browser/bun/node target.
How do I install the bun-build skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the bun-build skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic