MCPcopy
hub / github.com/webpack/webpack / getProfile

Method getProfile

lib/ModuleGraph.js:659–662  ·  view source on GitHub ↗

* Returns the module profile. * @param {Module} module the module * @returns {ModuleProfile | undefined} the module profile

(module)

Source from the content-addressed store, hash-verified

657 * @returns {ModuleProfile | undefined} the module profile
658 */
659 getProfile(module) {
660 const mgm = this._getModuleGraphModule(module);
661 return mgm.profile;
662 }
663
664 /**
665 * Updates profile using the provided module.

Callers 6

profileMethod · 0.80
_addModuleMethod · 0.80
_buildModuleMethod · 0.80
handleModuleCreationMethod · 0.80
finishMethod · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected