import { type esbuildTypes } from "https://deno.land/x/fresh@1.3.1/src/build/deps.ts";
const { PluginBuild } = esbuildTypes;
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