doc.yeswiki.pro/node_modules/rollup/dist/loadConfigFile.d.ts
2023-05-20 19:38:02 +03:00

18 lines
427 B
TypeScript

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;
}>;