Pibd-21_Ievlewa_M.D._Intern.../node_modules/rollup/dist/loadConfigFile.d.ts

21 lines
471 B
TypeScript
Raw Permalink Normal View History

2023-12-03 19:52:09 +04:00
import type { LogHandler, MergedRollupOptions, RollupLog } from './rollup';
export interface BatchWarnings {
add: (warning: RollupLog) => void;
readonly count: number;
flush: () => void;
log: LogHandler;
readonly warningOccurred: boolean;
}
export type LoadConfigFile = typeof loadConfigFile;
export function loadConfigFile(
fileName: string,
commandOptions: any,
watchMode?: boolean
): Promise<{
options: MergedRollupOptions[];
warnings: BatchWarnings;
}>;