| | |
| | | /** @typedef {import("../Compilation").ChunkHashContext} ChunkHashContext */ |
| | | |
| | | /** |
| | | * Gets information about a chunk including its entries and runtime chunk |
| | | * Returns } Object containing chunk entries and runtime chunk. |
| | | * @param {Chunk} chunk The chunk to get information for |
| | | * @param {ChunkGraph} chunkGraph The chunk graph containing the chunk |
| | | * @returns {{ entries: [Module, Entrypoint | undefined][], runtimeChunk: Chunk | null }} Object containing chunk entries and runtime chunk |
| | |
| | | */ |
| | | function createChunkHashHandler(name) { |
| | | /** |
| | | * Processes the provided chunk. |
| | | * @param {Chunk} chunk The chunk to get information for |
| | | * @param {Hash} hash The hash to update |
| | | * @param {ChunkHashContext} chunkHashContext The chunk hash context |