import { type BuildResult } from "https://deno.land/x/lume@v1.17.5/deps/esbuild.ts";
Type Parameters
optional
SpecificOptions extends BuildOptions = BuildOptionsProperties
errors: Message[]
warnings: Message[]
outputFiles: OutputFile[] | (SpecificOptions["write"] extends false ? never : undefined)
Only when "write: false"
metafile: Metafile | (SpecificOptions["metafile"] extends true ? never : undefined)
Only when "metafile: true"
mangleCache: Record<string, string | false> | (SpecificOptions["mangleCache"] extends Object ? never : undefined)
Only when "mangleCache" is present