MCPcopy
hub / github.com/webpack/webpack / getModuleChunksIterable

Method getModuleChunksIterable

lib/ChunkGraph.js:598–601  ·  view source on GitHub ↗

* Gets module chunks iterable. * @param {Module} module the module * @returns {Iterable<Chunk>} iterable of chunks (do not modify)

(module)

Source from the content-addressed store, hash-verified

596 * @returns {Iterable<Chunk>} iterable of chunks (do not modify)
597 */
598 getModuleChunksIterable(module) {
599 const cgm = this._getChunkGraphModule(module);
600 return cgm.chunks;
601 }
602
603 /**
604 * Gets ordered module chunks iterable.

Callers 15

noModuleIdErrorMessageFunction · 0.80
hasReasonForChunkMethod · 0.80
createModuleAssetsMethod · 0.80
applyMethod · 0.80
applySplitMethod · 0.80
handlerMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
integrateMethod · 0.80
problemMethod · 0.80
applyMethod · 0.80

Calls 1

_getChunkGraphModuleMethod · 0.95

Tested by

no test coverage detected