This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/build/webpack/utils.d.ts
2025-01-11 09:54:09 +03:00

10 lines
760 B
TypeScript

import type { Compilation, Chunk, ChunkGroup, Module, ModuleGraph } from 'webpack';
import type { ModuleGraphConnection } from 'webpack';
export declare function traverseModules(compilation: Compilation, callback: (mod: any, chunk: Chunk, chunkGroup: (typeof compilation.chunkGroups)[0], modId: string | null) => any, filterChunkGroup?: (chunkGroup: ChunkGroup) => boolean): void;
export declare function forEachEntryModule(compilation: any, callback: ({ name, entryModule }: {
name: string;
entryModule: any;
}) => void): void;
export declare function formatBarrelOptimizedResource(resource: string, matchResource: string): string;
export declare function getModuleReferencesInOrder(module: Module, moduleGraph: ModuleGraph): ModuleGraphConnection[];