MCPcopy
hub / github.com/webpack/webpack / getRootBlock

Method getRootBlock

lib/DependenciesBlock.js:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 getRootBlock() {
38 /** @type {DependenciesBlock} */
39 let current = this;
40 while (current.parent) current = current.parent;
41 return current;
42 }
43
44 /**
45 * Adds a DependencyBlock to DependencyBlock relationship.

Callers 2

getBlockModulesFunction · 0.80
getChildOrderOptionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected