MCPcopy
hub / github.com/webpack/webpack / getModuleRuntimes

Method getModuleRuntimes

lib/ChunkGraph.js:640–643  ·  view source on GitHub ↗

* Gets module runtimes. * @param {Module} module the module * @returns {RuntimeSpecSet} runtimes

(module)

Source from the content-addressed store, hash-verified

638 * @returns {RuntimeSpecSet} runtimes
639 */
640 getModuleRuntimes(module) {
641 const cgm = this._getChunkGraphModule(module);
642 return cgm.chunks.getFromUnorderedCache(getModuleRuntimes);
643 }
644
645 /**
646 * Gets number of chunk modules.

Callers 7

codeGenerationMethod · 0.80
createModuleHashesMethod · 0.80
applyMethod · 0.80
hoistModulesInChunksMethod · 0.80
getMergedModuleRuntimeFunction · 0.80
renderBootstrapMethod · 0.80

Calls 2

_getChunkGraphModuleMethod · 0.95
getFromUnorderedCacheMethod · 0.80

Tested by

no test coverage detected