<< All versions

Skill v1.0.1

currentAutomated scan100/100
laurigates/claude-plugins/bun-build

+2 new

──Details
PublishedNovember 28, 2026 at 03:16 AM
Content Hashsha256:75efdbc78637d618...
Git SHA7d263b534ec3
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 69 lines · 1.8 KB

description: "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." args: <entry> [--compile] [--minify] allowed-tools: Bash(bun build *), Read argument-hint: ./src/index.ts [--compile] [--minify] created: 2025-12-20 modified: 2026-11-14 reviewed: 2025-12-20 name: bun-build metadata: version: "1.0.1"


/bun:build

Bundle JavaScript/TypeScript or compile to standalone executable.

When to Use This Skill

ScenarioUse this skillAlternative
Quick production bundle of an entry pointYesN/A
Compiling to a standalone executableYesN/A
Building for a specific target (browser/bun/node)YesN/A
Configuring complex build pipelinesNo - use bun-developmentFull build configuration guidance
Running project build scripts (bun run build)No - use bun-developmentN/A

Parameters

  • entry (required): Entry point file
  • --compile: Create standalone executable
  • --minify: Minify output

Execution

Production bundle:

bash
bun build $ENTRY --outdir=dist --minify --sourcemap=external

Standalone executable:

bash
bun build --compile --minify $ENTRY --outfile={{ OUTFILE | default: "app" }}

Development bundle:

bash
bun build $ENTRY --outdir=dist --sourcemap=inline

Build Targets

bash
# 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

  1. Report output file sizes
  2. List generated files in output directory
  3. For --compile: verify executable runs with ./app --help or similar
← v1.0.0All versions