Files
lcbp3.np-dms.work/frontend/node_modules/next/dist/build/webpack-build/index.d.ts
2025-09-21 20:29:15 +07:00

10 lines
655 B
TypeScript
Executable File

import type { COMPILER_INDEXES } from '../../shared/lib/constants';
import type { BuildTraceContext } from '../webpack/plugins/next-trace-entrypoints-plugin';
declare const ORDERED_COMPILER_NAMES: (keyof typeof COMPILER_INDEXES)[];
declare function webpackBuildWithWorker(compilerNamesArg: typeof ORDERED_COMPILER_NAMES | null): Promise<{
duration: number;
buildTraceContext: BuildTraceContext;
}>;
export declare function webpackBuild(withWorker: boolean, compilerNames: typeof ORDERED_COMPILER_NAMES | null): Promise<Awaited<ReturnType<typeof webpackBuildWithWorker>> | Awaited<ReturnType<typeof import('./impl').webpackBuildImpl>>>;
export {};