MCPcopy
hub / github.com/webpack/webpack / getParentBlockIndex

Method getParentBlockIndex

lib/ModuleGraph.js:248–250  ·  view source on GitHub ↗

* Gets parent block index. * @param {Dependency} dependency the dependency * @returns {number} index

(dependency)

Source from the content-addressed store, hash-verified

246 * @returns {number} index
247 */
248 getParentBlockIndex(dependency) {
249 return dependency._parentDependenciesBlockIndex;
250 }
251
252 /**
253 * Sets resolved module.

Callers 1

extractBlockModulesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected