• File: loadConfigFile.d.ts
  • Full Path: /home/awtadalkhimacom/public_html/services/node_modules/rollup/dist/loadConfigFile.d.ts
  • Date Modified: 10/30/2025 4:29 AM
  • File size: 471 bytes
  • MIME-type: text/x-java
  • Charset: utf-8
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;
}>;