Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface BuildOptions
implements CommonOptions
import { type BuildOptions } from "https://deno.land/x/esbuild@v0.18.10/wasm.d.ts";

Properties

optional
bundle: boolean
optional
splitting: boolean
optional
outfile: string
optional
metafile: boolean
optional
outdir: string
optional
outbase: string
optional
external: string[]
optional
packages: "external"
optional
alias: Record<string, string>
optional
loader: { [ext: string]: Loader; }
optional
resolveExtensions: string[]
optional
mainFields: string[]
optional
conditions: string[]
optional
write: boolean
optional
allowOverwrite: boolean
optional
tsconfig: string
optional
outExtension: { [ext: string]: string; }
optional
publicPath: string
optional
entryNames: string
optional
chunkNames: string
optional
assetNames: string
optional
inject: string[]
optional
banner: { [type: string]: string; }
optional
entryPoints: string[] | Record<string, string> | { in: string; out: string; }[]
optional
plugins: Plugin[]
optional
absWorkingDir: string
optional
nodePaths: string[]