MCPcopy
hub / github.com/webpack/webpack / _getChunkGraphModule

Method _getChunkGraphModule

lib/ChunkGraph.js:330–337  ·  view source on GitHub ↗

* Get chunk graph module. * @private * @param {Module} module the module * @returns {ChunkGraphModule} internal module

(module)

Source from the content-addressed store, hash-verified

328 * @returns {ChunkGraphModule} internal module
329 */
330 _getChunkGraphModule(module) {
331 let cgm = this._modules.get(module);
332 if (cgm === undefined) {
333 cgm = new ChunkGraphModule();
334 this._modules.set(module, cgm);
335 }
336 return cgm;
337 }
338
339 /**
340 * Get chunk graph chunk.

Callers 15

connectChunkAndModuleMethod · 0.95
disconnectChunkMethod · 0.95
replaceModuleMethod · 0.95
isEntryModuleMethod · 0.95
getModuleChunksMethod · 0.95
getModuleRuntimesMethod · 0.95

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected