e08d10c53bb06fd476597ac35444b6e2755d2ab46681def041418c3df234ba24b3f4dccb37542ee1e3b78f154cd9291fcb32529e958351ad05a38d322839f5 471 B

1234567891011121314151617181920
  1. import type { LogHandler, MergedRollupOptions, RollupLog } from './rollup';
  2. export interface BatchWarnings {
  3. add: (warning: RollupLog) => void;
  4. readonly count: number;
  5. flush: () => void;
  6. log: LogHandler;
  7. readonly warningOccurred: boolean;
  8. }
  9. export type LoadConfigFile = typeof loadConfigFile;
  10. export function loadConfigFile(
  11. fileName: string,
  12. commandOptions: any,
  13. watchMode?: boolean
  14. ): Promise<{
  15. options: MergedRollupOptions[];
  16. warnings: BatchWarnings;
  17. }>;