bun-build

安装量: 46
排名: #16016

安装

npx skills add https://github.com/laurigates/claude-plugins --skill bun-build
/bun:build
Bundle JavaScript/TypeScript or compile to standalone executable.
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 --help or similar

返回排行榜