Blame view

天文台pc/tianwentai-ui/node_modules/rollup/dist/loadConfigFile.d.ts 471 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  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;
  }>;