19 lines
		
	
	
		
			427 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			427 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
| 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;
 | |
| }>;
 |