Skip to content

Interface: Plugin<A>

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1136

Extends

  • OutputPlugin.Partial<PluginHooks>

Type Parameters

A

A = any

Properties

api?

ts
optional api: A;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1137


augmentChunkHash?

ts
optional augmentChunkHash: ObjectHook<(this, chunk) => string | void, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1087

Inherited from

FunctionPluginHooks.augmentChunkHash


ts
optional banner: ObjectHook<AddonHook, {
}>;

Inherited from

Plugin.banner


buildEnd?

ts
optional buildEnd: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1081

Inherited from

FunctionPluginHooks.buildEnd


buildStart?

ts
optional buildStart: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1067

Inherited from

FunctionPluginHooks.buildStart


closeBundle?

ts
optional closeBundle: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1091

Inherited from

FunctionPluginHooks.closeBundle


closeWatcher?

ts
optional closeWatcher: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1095

Inherited from

FunctionPluginHooks.closeWatcher


ts
optional footer: ObjectHook<AddonHook, {
}>;

Inherited from

Plugin.footer


generateBundle?

ts
optional generateBundle: ObjectHook<(this, ...parameters) => void | Promise<void>, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1089

Inherited from

FunctionPluginHooks.generateBundle


intro?

ts
optional intro: ObjectHook<AddonHook, {
}>;

Inherited from

Plugin.intro


load?

ts
optional load: ObjectHook<(this, ...parameters) => MaybePromise<LoadResult> | Promise<MaybePromise<LoadResult>>, {
  filter?: TUnionWithTopLevelFilterExpressionArray<Pick<HookFilter, "id">> | undefined;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1074

Inherited from

FunctionPluginHooks.load


moduleParsed?

ts
optional moduleParsed: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1080

Inherited from

FunctionPluginHooks.moduleParsed


name

ts
name: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1134

Inherited from

ts
OutputPlugin.name

onLog?

ts
optional onLog: ObjectHook<(this, level, log) => boolean | NullValue<void>, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1064

Inherited from

FunctionPluginHooks.onLog


options?

ts
optional options: ObjectHook<(this, ...parameters) => InputOptions | NullValue<void> | Promise<InputOptions | NullValue<void>>, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1065

Inherited from

FunctionPluginHooks.options


outputOptions?

ts
optional outputOptions: ObjectHook<(this, options) => OutputOptions | NullValue<void>, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1066

Inherited from

FunctionPluginHooks.outputOptions


outro?

ts
optional outro: ObjectHook<AddonHook, {
}>;

Inherited from

Plugin.outro


renderChunk?

ts
optional renderChunk: ObjectHook<(this, ...parameters) => string | NullValue<void> | { code: string; map?: SourceMapInput | undefined; } | Promise<string | NullValue<void> | { code: string; map?: SourceMapInput | undefined; }>, {
  filter?: TUnionWithTopLevelFilterExpressionArray<Pick<HookFilter, "code">> | undefined;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1083

Inherited from

FunctionPluginHooks.renderChunk


renderError?

ts
optional renderError: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1088

Inherited from

FunctionPluginHooks.renderError


renderStart?

ts
optional renderStart: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1082

Inherited from

FunctionPluginHooks.renderStart


resolveDynamicImport?

ts
optional resolveDynamicImport: ObjectHook<(this, ...parameters) => ResolveIdResult | Promise<ResolveIdResult>, {
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1073

Deprecated

This hook is only for rollup plugin compatibility. Please use resolveId instead.

Inherited from

FunctionPluginHooks.resolveDynamicImport


resolveId?

ts
optional resolveId: ObjectHook<(this, ...parameters) => ResolveIdResult | Promise<ResolveIdResult>, {
  filter?: TUnionWithTopLevelFilterExpressionArray<{ id?: GeneralHookFilter<RegExp> | undefined; }> | undefined;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1068

Inherited from

FunctionPluginHooks.resolveId


transform?

ts
optional transform: ObjectHook<(this, ...parameters) => TransformResult | Promise<TransformResult>, {
  filter?: TUnionWithTopLevelFilterExpressionArray<HookFilter> | undefined;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1075

Inherited from

FunctionPluginHooks.transform


watchChange?

ts
optional watchChange: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1092

Inherited from

FunctionPluginHooks.watchChange


writeBundle?

ts
optional writeBundle: ObjectHook<(this, ...parameters) => void | Promise<void>, {
  sequential?: boolean;
}>;

Defined in: node_modules/.pnpm/rolldown@1.0.0-beta.57/node_modules/rolldown/dist/shared/define-config-kYHtCO-M.d.mts:1090

Inherited from

FunctionPluginHooks.writeBundle

Morty Proxy This is a proxified and sanitized view of the page, visit original site.