bun-build
Verified for current stable LTS
Bun Build Command: Bundle Multiple Entry Points To Output Directory
Use for bundle multiple entry points to output directory with Bun Build. Exact CLI syntax to bundle multiple entry points to output directory using Bun Build.
When to use this: Use for bundle multiple entry points to output directory with Bun Build.
Command Syntax
bun build <path/to/entry1.ts path/to/entry2.ts ...> --outdir <path/to/dist> bun build <path/to/entry1.ts path/to/entry2.ts ...> --outdir <path/to/dist> Command Breakdown
--outdir- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to bundle multiple entry points to output directory using Bun Build.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Bun Build Command: Bundle Single Entry Point To Output File
bun build <path/to/entry.ts> --outfile <path/to/output.js> Bun Build Command: Bundle With Source Maps bun build <path/to/entry.ts> --outfile <path/to/output.js> --sourcemap Bun Build Command: Bundle With Minification bun build <path/to/entry.ts> --outfile <path/to/output.js> --minify Bun Build Command: Bundle With Specific Target Environment bun build <path/to/entry.ts> --outfile <path/to/output.js> --target <browser|bun|node> Bun Build Command: Bundle To Standalone Executable bun build <path/to/entry.ts> --compile --outfile <path/to/executable>