MCPcopy
hub / github.com/webpack/webpack / addForwardId

Method addForwardId

lib/LazyBarrel.js:96–98  ·  view source on GitHub ↗

* Maps an export name to the request providing it. * @param {string} id export name * @param {string} requestKey request key

(id, requestKey)

Source from the content-addressed store, hash-verified

94 * @param {string} requestKey request key
95 */
96 addForwardId(id, requestKey) {
97 this._forwardIdToRequest.set(id, requestKey);
98 }
99
100 /**
101 * Registers a locally provided export name.

Callers 1

classifyMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected