MCPcopy
hub / github.com/webpack/webpack / depth

Method depth

lib/Module.js:433–439  ·  view source on GitHub ↗

* Returns the depth. * @deprecated * @returns {number | null} the depth

()

Source from the content-addressed store, hash-verified

431 * @returns {number | null} the depth
432 */
433 get depth() {
434 return ModuleGraph.getModuleGraphForModule(
435 this,
436 "Module.depth",
437 "DEP_WEBPACK_MODULE_DEPTH"
438 ).getDepth(this);
439 }
440
441 /**
442 * Updates the depth using the provided value.

Callers

nothing calls this directly

Calls 3

getDepthMethod · 0.80
setDepthMethod · 0.80

Tested by

no test coverage detected