import { type PluginBuild } from "https://deno.land/x/lume@v1.18.2/deps/esbuild.ts";
Properties
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
Documentation: https://esbuild.github.io/plugins/#resolve
onStart(callback: () => ()): void
| OnStartResult
| null
| void
| Promise<OnStartResult | null | void>
Documentation: https://esbuild.github.io/plugins/#on-start
onEnd(callback: (result: BuildResult) => ()): void
| OnEndResult
| null
| void
| Promise<OnEndResult | null | void>
Documentation: https://esbuild.github.io/plugins/#on-end
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => ()): void
| OnResolveResult
| null
| undefined
| Promise<OnResolveResult | null | undefined>
Documentation: https://esbuild.github.io/plugins/#on-resolve
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => ()): void
| OnLoadResult
| null
| undefined
| Promise<OnLoadResult | null | undefined>
Documentation: https://esbuild.github.io/plugins/#on-load
Documentation: https://esbuild.github.io/plugins/#on-dispose