MCPcopy
hub / github.com/webpack/webpack / getChunkEntryModulesIterable

Method getChunkEntryModulesIterable

lib/ChunkGraph.js:1317–1320  ·  view source on GitHub ↗

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

(chunk)

Source from the content-addressed store, hash-verified

1315 * @returns {Iterable<Module>} iterable of modules (do not modify)
1316 */
1317 getChunkEntryModulesIterable(chunk) {
1318 const cgc = this._getChunkGraphChunk(chunk);
1319 return cgc.entryModules.keys();
1320 }
1321
1322 /**
1323 * Gets chunk entry dependent chunks iterable.

Callers 7

checkConstraintsMethod · 0.80
entryModuleMethod · 0.80
applyMethod · 0.80
_chunkHasJsFunction · 0.80
renderMainMethod · 0.80
chunkHasJsFunction · 0.80
webpack.config.jsFile · 0.80

Calls 2

_getChunkGraphChunkMethod · 0.95
keysMethod · 0.65

Tested by

no test coverage detected