MCPcopy
hub / github.com/webpack/webpack / removeAllModuleAttributes

Method removeAllModuleAttributes

lib/ModuleGraph.js:444–451  ·  view source on GitHub ↗

* Removes all module attributes. * @returns {void}

()

Source from the content-addressed store, hash-verified

442 * @returns {void}
443 */
444 removeAllModuleAttributes() {
445 for (const mgm of this._moduleMap.values()) {
446 mgm.postOrderIndex = null;
447 mgm.preOrderIndex = null;
448 mgm.depth = null;
449 mgm.async = false;
450 }
451 }
452
453 /**
454 * Move module connections.

Callers 1

unsealMethod · 0.80

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected