mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 18:13:24 +01:00
21 lines
471 B
TypeScript
21 lines
471 B
TypeScript
|
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;
|
||
|
}>;
|