You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
760 B

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