UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

9 lines (8 loc) 529 B
import { Plugin } from './'; import { InputOptions, OutputOptions, RolldownPlugin } from '..'; export declare class PluginDriver { static callOptionsHook(inputOptions: InputOptions): Promise<InputOptions>; static callOutputOptionsHook(rawPlugins: RolldownPlugin[], outputOptions: OutputOptions): OutputOptions; } export declare function getObjectPlugins(plugins: RolldownPlugin[]): Plugin[]; export declare function getSortedPlugins(hookName: 'options' | 'outputOptions' | 'onLog', plugins: readonly Plugin[]): Plugin[];