import { type esbuild } from "https://deno.land/x/esbuild_deno_loader@0.7.1/deps.ts";
const { PluginBuild } = esbuild;
Properties
initialOptions: BuildOptions
Documentation: https://esbuild.github.io/plugins/#build-options
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>
Documentation: https://esbuild.github.io/plugins/#resolve
Documentation: https://esbuild.github.io/plugins/#on-start
onEnd(callback: (result: BuildResult) => ()): void
Documentation: https://esbuild.github.io/plugins/#on-end
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => ()): void
Documentation: https://esbuild.github.io/plugins/#on-resolve
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => ()): void
Documentation: https://esbuild.github.io/plugins/#on-load
Documentation: https://esbuild.github.io/plugins/#on-dispose