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

Type Parameters

optional
ProvidedOptions extends BuildOptions = BuildOptions

Properties

errors: Message[]
warnings: Message[]
outputFiles: OutputFile[] | (ProvidedOptions["write"] extends false ? never : undefined)

Only when "write: false"

metafile: Metafile | (ProvidedOptions["metafile"] extends true ? never : undefined)

Only when "metafile: true"

mangleCache: Record<string, string | false> | (ProvidedOptions["mangleCache"] extends Object ? never : undefined)

Only when "mangleCache" is present