MCPcopy
hub / github.com/webpack/webpack / getChunkRuntimeModulesIterable

Method getChunkRuntimeModulesIterable

lib/ChunkGraph.js:1424–1427  ·  view source on GitHub ↗

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

(chunk)

Source from the content-addressed store, hash-verified

1422 * @returns {Iterable<RuntimeModule>} iterable of modules (do not modify)
1423 */
1424 getChunkRuntimeModulesIterable(chunk) {
1425 const cgc = this._getChunkGraphChunk(chunk);
1426 return cgc.runtimeModules;
1427 }
1428
1429 /**
1430 * Gets chunk runtime modules in order.

Callers 3

executeModuleMethod · 0.95
applyMethod · 0.80
applyMethod · 0.80

Calls 1

_getChunkGraphChunkMethod · 0.95

Tested by

no test coverage detected