MCPcopy Index your code
hub / github.com/webpack/webpack / setPreOrderIndex

Method setPreOrderIndex

lib/ModuleGraph.js:815–818  ·  view source on GitHub ↗

* Sets pre order index. * @param {Module} module the module * @param {number} index the index of the module * @returns {void}

(module, index)

Source from the content-addressed store, hash-verified

813 * @returns {void}
814 */
815 setPreOrderIndex(module, index) {
816 const mgm = this._getModuleGraphModule(module);
817 mgm.preOrderIndex = index;
818 }
819
820 /**
821 * Sets pre order index if unset.

Callers 1

indexMethod · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected