MCPcopy
hub / github.com/webpack/webpack / addPresentationalDependency

Method addPresentationalDependency

lib/Module.js:722–727  ·  view source on GitHub ↗

* Adds presentational dependency. * @param {Dependency} presentationalDependency dependency being tied to module. * This is a Dependency without edge in the module graph. It's only for presentation. * @returns {void}

(presentationalDependency)

Source from the content-addressed store, hash-verified

720 * @returns {void}
721 */
722 addPresentationalDependency(presentationalDependency) {
723 if (this.presentationalDependencies === undefined) {
724 this.presentationalDependencies = [];
725 }
726 this.presentationalDependencies.push(presentationalDependency);
727 }
728
729 /**
730 * Adds code generation dependency.

Callers 15

globalHandlerMethod · 0.80
setModuleConstantMethod · 0.80
setUrlModuleConstantMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
createAcceptHandlerMethod · 0.80
createDeclineHandlerMethod · 0.80
applyMethod · 0.80
handlerMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected