MCPcopy
hub / github.com/webpack/webpack / getRuntimeId

Method getRuntimeId

lib/ChunkGraph.js:1548–1550  ·  view source on GitHub ↗

* Returns the id of the runtime. * @param {string} runtime runtime * @returns {RuntimeId} the id of the runtime

(runtime)

Source from the content-addressed store, hash-verified

1546 * @returns {RuntimeId} the id of the runtime
1547 */
1548 getRuntimeId(runtime) {
1549 return /** @type {RuntimeId} */ (this._runtimeIds.get(runtime));
1550 }
1551
1552 /**
1553 * Updates runtime id using the provided runtime.

Callers 2

generateMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected