UNPKG

269 BTypeScriptView Raw
1import { webpack } from 'next/dist/compiled/webpack/webpack';
2export declare type CompilerResult = {
3 errors: string[];
4 warnings: string[];
5};
6export declare function runCompiler(config: webpack.Configuration | webpack.Configuration[]): Promise<CompilerResult>;