Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PluginBuild

interface PluginBuild {
initialOptions: BuildOptions;
onEnd(callback: (result: BuildResult) => (void | Promise<void>)): void;
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => (
| null
| undefined
| Promise<OnLoadResult | null | undefined>
)
): void;
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => (
| null
| undefined
| Promise<OnResolveResult | null | undefined>
)
): void;
onStart(callback: () => (
| null
| void
| Promise<OnStartResult | null | void>
)
): void;
}

§Properties

§
initialOptions: BuildOptions
[src]

§Methods

§
onEnd(callback: (result: BuildResult) => (void | Promise<void>)): void
[src]
§
onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) => (
| null
| undefined
| Promise<OnLoadResult | null | undefined>
)
): void
[src]
§
onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) => (
| null
| undefined
| Promise<OnResolveResult | null | undefined>
)
): void
[src]
§
onStart(callback: () => (
| null
| void
| Promise<OnStartResult | null | void>
)
): void
[src]