Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bun-build

БесплатноБез исполняемых скриптовНе проверен

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.

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

/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

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

Установить bun-build в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(bun build *)
Read

FAQ

Что делает скилл bun-build?

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.

Как установить скилл bun-build?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bun-build запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bun-build с