MCPcopy
hub / github.com/webpack/webpack / moduleExports

Method moduleExports

lib/RuntimeTemplate.js:716–724  ·  view source on GitHub ↗

* Returns the expression. * @param {object} options options object * @param {Module | null} options.module the module * @param {ChunkGraph} options.chunkGraph the chunk graph * @param {string} options.request the request that should be printed as comment * @param {boolean=} options.weak if

({ module, chunkGraph, request, weak, runtimeRequirements })

Source from the content-addressed store, hash-verified

714 * @returns {string} the expression
715 */
716 moduleExports({ module, chunkGraph, request, weak, runtimeRequirements }) {
717 return this.moduleRaw({
718 module,
719 chunkGraph,
720 request,
721 weak,
722 runtimeRequirements
723 });
724 }
725
726 /**
727 * Returns the expression.

Callers 10

codeGenerationMethod · 0.80
codeGenerationMethod · 0.80
getModuleExportsMethod · 0.80
contentForDependencyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80

Calls 1

moduleRawMethod · 0.95

Tested by

no test coverage detected