import { type PluginBuild } from "https://deno.land/x/esbuild@v0.19.3/wasm.d.ts";
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