source: node_modules/rollup/dist/loadConfigFile.d.ts

Last change on this file was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago

Initial commit

  • Property mode set to 100644
File size: 471 bytes
RevLine 
[57e58a3]1import type { LogHandler, MergedRollupOptions, RollupLog } from './rollup';
2
3export interface BatchWarnings {
4 add: (warning: RollupLog) => void;
5 readonly count: number;
6 flush: () => void;
7 log: LogHandler;
8 readonly warningOccurred: boolean;
9}
10
11export type LoadConfigFile = typeof loadConfigFile;
12
13export function loadConfigFile(
14 fileName: string,
15 commandOptions: any,
16 watchMode?: boolean
17): Promise<{
18 options: MergedRollupOptions[];
19 warnings: BatchWarnings;
20}>;
Note: See TracBrowser for help on using the repository browser.