MCPcopy
hub / github.com/webpack/webpack / removeModuleAttributes

Method removeModuleAttributes

lib/ModuleGraph.js:432–438  ·  view source on GitHub ↗

* Removes module attributes. * @param {Module} module the module * @returns {void}

(module)

Source from the content-addressed store, hash-verified

430 * @returns {void}
431 */
432 removeModuleAttributes(module) {
433 const mgm = this._getModuleGraphModule(module);
434 mgm.postOrderIndex = null;
435 mgm.preOrderIndex = null;
436 mgm.depth = null;
437 mgm.async = false;
438 }
439
440 /**
441 * Removes all module attributes.

Callers

nothing calls this directly

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected