MCPcopy
hub / github.com/webpack/webpack / setModuleGraphForModule

Method setModuleGraphForModule

lib/ModuleGraph.js:1069–1071  ·  view source on GitHub ↗

* Sets module graph for module. * @deprecated * @param {Module} module the module * @param {ModuleGraph} moduleGraph the module graph * @returns {void}

(module, moduleGraph)

Source from the content-addressed store, hash-verified

1067 * @returns {void}
1068 */
1069 static setModuleGraphForModule(module, moduleGraph) {
1070 moduleGraphForModuleMap.set(module, moduleGraph);
1071 }
1072
1073 // TODO remove in webpack 6
1074 /**

Callers 4

_addModuleMethod · 0.80
addRuntimeModuleMethod · 0.80
integrateMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected