MCPcopy
hub / github.com/webpack/webpack / getReadOnlyExportInfo

Method getReadOnlyExportInfo

lib/ModuleGraph.js:768–771  ·  view source on GitHub ↗

* Gets read only export info. * @param {Module} module the module * @param {string} exportName the export * @returns {ExportInfo} info about the export (do not modify)

(module, exportName)

Source from the content-addressed store, hash-verified

766 * @returns {ExportInfo} info about the export (do not modify)
767 */
768 getReadOnlyExportInfo(module, exportName) {
769 const mgm = this._getModuleGraphModule(module);
770 return mgm.exports.getReadOnlyExportInfo(exportName);
771 }
772
773 /**
774 * Returns the used exports.

Callers 12

getExportsTypeMethod · 0.45
renderStartupMethod · 0.45
codeGenerationMethod · 0.45
getLinkingErrorsMethod · 0.45
getModeFunction · 0.45
getStarReexportsMethod · 0.45
applyMethod · 0.45
getReferencedExportsMethod · 0.45
getStarReexportsMethod · 0.45

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected