import { type esbuildWasm } from "https://deno.land/x/esbuild_deno_loader@0.8.2/test_deps.ts";
const { BuildResult } = esbuildWasm;
Type Parameters
optional
ProvidedOptions extends BuildOptions = BuildOptionsProperties
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