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

x/esbuild_deno_loader/deps.ts>esbuild.PluginBuild

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

Properties

esbuild: { context: context; 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>
onStart(callback: () => (
| null
| void
| Promise<OnStartResult | null | void>
)
): void
onEnd(callback: (result: BuildResult) => (
| null
| void
| Promise<OnEndResult | null | void>
)
): void
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => (
| null
| undefined
| Promise<OnResolveResult | null | undefined>
)
): void
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => (
| null
| undefined
| Promise<OnLoadResult | null | undefined>
)
): void
onDispose(callback: () => void): void