NeahNew/node_modules/next/dist/build/webpack/plugins/slow-module-detection-plugin.d.ts
2025-05-03 14:17:46 +02:00

13 lines
413 B
TypeScript

import type { Compiler } from 'webpack';
import type { CompilerNameValues } from '../../../shared/lib/constants';
interface ModuleBuildTimeAnalyzerOptions {
compilerType: CompilerNameValues;
buildTimeThresholdMs: number;
}
export default class SlowModuleDetectionPlugin {
private options;
constructor(options: ModuleBuildTimeAnalyzerOptions);
apply: (compiler: Compiler) => void;
}
export {};