Files
Webklar.com/node_modules/next/dist/build/compiler.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

12 lines
459 B
TypeScript

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