diff options
Diffstat (limited to 'vanilla/node_modules/rollup/dist/loadConfigFile.d.ts')
| -rw-r--r-- | vanilla/node_modules/rollup/dist/loadConfigFile.d.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vanilla/node_modules/rollup/dist/loadConfigFile.d.ts b/vanilla/node_modules/rollup/dist/loadConfigFile.d.ts new file mode 100644 index 0000000..4306b09 --- /dev/null +++ b/vanilla/node_modules/rollup/dist/loadConfigFile.d.ts @@ -0,0 +1,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; +}>; |
