Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface BuildResult
import { type BuildResult } from "https://deno.land/x/esbuild@v0.18.10/mod.js";

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