MCPcopy
hub / github.com/webpack/webpack / getExportsType

Method getExportsType

lib/container/RemoteModule.js:175–177  ·  view source on GitHub ↗

* Returns export type. * @param {ModuleGraph} moduleGraph the module graph * @param {boolean | undefined} strict the importing module is strict * @returns {ExportsType} export type * "namespace": Exports is already a namespace object. namespace = exports. * "dynamic": Check at runtime if _

(moduleGraph, strict)

Source from the content-addressed store, hash-verified

173 * "default-with-named": Provide a namespace object with named and default export. namespace = { ...exports, default: exports }
174 */
175 getExportsType(moduleGraph, strict) {
176 return "dynamic";
177 }
178
179 /**
180 * Returns the path used when matching this module against rule conditions.

Callers 12

getExportsTypeFunction · 0.45
getLinkingErrorsMethod · 0.45
getReferencedExportsMethod · 0.45
getModeFunction · 0.45
_addExportFragmentsMethod · 0.45
getReferencedExportsMethod · 0.45
getReferencedExportsMethod · 0.45
getStarReexportsMethod · 0.45
applyMethod · 0.45
getReferencedExportsMethod · 0.45
applyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected