MCPcopy
hub / github.com/webpack/webpack / getContent

Method getContent

lib/InitFragment.js:87–89  ·  view source on GitHub ↗

* Returns the source code that will be included as initialization code. * @param {GenerateContext} context context * @returns {string | Source | undefined} the source code that will be included as initialization code

(context)

Source from the content-addressed store, hash-verified

85 * @returns {string | Source | undefined} the source code that will be included as initialization code
86 */
87 getContent(context) {
88 return this.content;
89 }
90
91 /**
92 * Returns the source code that will be included at the end of the module.

Callers 1

addToSourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected