MCPcopy
hub / github.com/webpack/webpack / getChunkModulesIterable

Method getChunkModulesIterable

lib/ChunkGraph.js:670–673  ·  view source on GitHub ↗

* Gets chunk modules iterable. * @param {Chunk} chunk the chunk * @returns {Iterable<Module>} return the modules for this chunk

(chunk)

Source from the content-addressed store, hash-verified

668 * @returns {Iterable<Module>} return the modules for this chunk
669 */
670 getChunkModulesIterable(chunk) {
671 const cgc = this._getChunkGraphChunk(chunk);
672 return cgc.modules;
673 }
674
675 /**
676 * Gets chunk modules iterable by source type.

Callers 15

hasModuleInGraphMethod · 0.95
visitModulesFunction · 0.80
processChunkMethod · 0.80
checkConstraintsMethod · 0.80
applyMethod · 0.80
updateHashMethod · 0.80
applyMethod · 0.80
handlerMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80

Calls 1

_getChunkGraphChunkMethod · 0.95

Tested by

no test coverage detected