astro-ghostcms/.pnpm-store/v3/files/fd/e08d10c53bb06fd476597ac3544...

21 lines
471 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00: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;
}>;