Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/esbuild_deno_loader/deps.ts>esbuild.BuildResult

Deno module resolution for `esbuild`
Go to Latest
interface esbuild.BuildResult
import { type esbuild } from "https://deno.land/x/esbuild_deno_loader@0.7.1/deps.ts";
const { BuildResult } = esbuild;

Type Parameters

optional
SpecificOptions extends BuildOptions = BuildOptions

Properties

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