bpms_site/.svn/pristine/d7/d72dea148112ab83bfb86143351e812eed02751c.svn-base
2025-11-02 16:38:49 +03:30

12 lines
459 B
Plaintext

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]>;