import { type esbuild } from "https://deno.land/x/esbuild_deno_loader@0.5.2/test_deps.ts";
const { PluginBuild } = esbuild;
Properties
initialOptions: BuildOptions
esbuild: { serve: serve; build: build; buildSync: buildSync; transform: transform; transformSync: transformSync; formatMessages: formatMessages; formatMessagesSync: formatMessagesSync; analyzeMetafile: analyzeMetafile; analyzeMetafileSync: analyzeMetafileSync; initialize: initialize; version: version; }
Methods
resolve(path: string, options?: ResolveOptions): Promise<ResolveResult>
onEnd(callback: (result: BuildResult) => (void | Promise<void>)): void
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => ()): void
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => ()): void