Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface esbuildTypes.BuildOptions
implements CommonOptions
import { type esbuildTypes } from "https://deno.land/x/fresh@1.3.0/src/build/deps.ts";
const { BuildOptions } = esbuildTypes;

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[]