19 lines
427 B
TypeScript
Raw Permalink Normal View History

2023-05-21 12:11:59 +02:00
import type { MergedRollupOptions, RollupWarning } from './rollup';
export interface BatchWarnings {
add: (warning: RollupWarning) => void;
readonly count: number;
flush: () => void;
readonly warningOccurred: boolean;
}
export type LoadConfigFile = typeof loadConfigFile;
export function loadConfigFile(
fileName: string,
commandOptions: any
): Promise<{
options: MergedRollupOptions[];
warnings: BatchWarnings;
}>;