MCPcopy
hub / github.com/webpack/webpack / getDependencyReferencedExports

Method getDependencyReferencedExports

lib/Compilation.js:4567–4577  ·  view source on GitHub ↗

* Gets dependency referenced exports. * @param {Dependency} dependency the dependency * @param {RuntimeSpec} runtime the runtime * @returns {ReferencedExports} referenced exports

(dependency, runtime)

Source from the content-addressed store, hash-verified

4565 * @returns {ReferencedExports} referenced exports
4566 */
4567 getDependencyReferencedExports(dependency, runtime) {
4568 const referencedExports = dependency.getReferencedExports(
4569 this.moduleGraph,
4570 runtime
4571 );
4572 return this.hooks.dependencyReferencedExports.call(
4573 referencedExports,
4574 dependency,
4575 runtime
4576 );
4577 }
4578
4579 /**
4580 * Removes reasons of dependency block.

Callers 3

processModuleMethod · 0.80
_getImportsMethod · 0.80
applyMethod · 0.80

Calls 2

getReferencedExportsMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected