MCPcopy
hub / github.com/webpack/webpack / setIssuer

Method setIssuer

lib/ModuleGraph.js:691–694  ·  view source on GitHub ↗

* Updates issuer using the provided module. * @param {Module} module the module * @param {Module | null} issuer the issuer module * @returns {void}

(module, issuer)

Source from the content-addressed store, hash-verified

689 * @returns {void}
690 */
691 setIssuer(module, issuer) {
692 const mgm = this._getModuleGraphModule(module);
693 mgm.issuer = issuer;
694 }
695
696 /**
697 * Sets issuer if unset.

Callers 1

issuerMethod · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected