Type Alias: TsdownPluginOption<A>
ts
type TsdownPluginOption<A> = Awaitable<
| TsdownPlugin<A>
| RolldownPlugin<A>
| {
name: string
}
| undefined
| null
| void
| false
| TsdownPluginOption<A>[]
>Defined in: src/features/plugin.ts:58
A tsdown plugin slot — accepts tsdown plugins, any Rolldown plugin form, null/undefined/false, promises, and nested arrays. Mirrors Rolldown's RolldownPluginOption but with TsdownPlugin as the atom so that tsdown-specific hooks are type-checked.
Type Parameters
A
A = any