securityos/node_modules/next/dist/build/webpack/utils.d.ts

7 lines
492 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { webpack } from 'next/dist/compiled/webpack/webpack';
export declare function traverseModules(compilation: webpack.Compilation, callback: (mod: any, chunk: webpack.Chunk, chunkGroup: (typeof compilation.chunkGroups)[0], modId: string | number) => any, filterChunkGroup?: (chunkGroup: webpack.ChunkGroup) => boolean): void;
export declare function forEachEntryModule(compilation: any, callback: ({ name, entryModule }: {
name: string;
entryModule: any;
}) => void): void;