Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
11
node_modules/next/dist/build/webpack/utils.d.ts
generated
vendored
Normal file
11
node_modules/next/dist/build/webpack/utils.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import type { Compilation, Chunk, ChunkGroup, Module, ModuleGraph, Compiler } from 'webpack';
|
||||
import type { ModuleGraphConnection } from 'webpack';
|
||||
import type { Span } from '../../trace';
|
||||
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[];
|
||||
export declare function getCompilationSpan(compilation: Compiler | Compilation): Span | undefined;
|
||||
Loading…
Add table
Add a link
Reference in a new issue