MCPcopy
hub / github.com/webpack/webpack / missingModulePromise

Method missingModulePromise

lib/RuntimeTemplate.js:591–595  ·  view source on GitHub ↗

* Missing module promise. * @param {object} options generation options * @param {string=} options.request request string used originally * @returns {string} generated error code

({ request })

Source from the content-addressed store, hash-verified

589 * @returns {string} generated error code
590 */
591 missingModulePromise({ request }) {
592 return `Promise.resolve().then(${this.throwMissingModuleErrorFunction({
593 request
594 })})`;
595 }
596
597 /**
598 * Returns the code.

Callers 1

Calls 1

Tested by

no test coverage detected