Files
old-kitabcitab-frontend/kitabcitab/node_modules/next/dist/build/compiler.d.ts
2022-12-27 12:05:56 +01:00

11 lines
389 B
TypeScript

import { webpack } from 'next/dist/compiled/webpack/webpack';
import { Span } from '../trace';
export declare type CompilerResult = {
errors: webpack.StatsError[];
warnings: webpack.StatsError[];
stats: webpack.Stats | undefined;
};
export declare function runCompiler(config: webpack.Configuration, { runWebpackSpan }: {
runWebpackSpan: Span;
}): Promise<CompilerResult>;