MCPcopy
hub / github.com/webpack/webpack / processEntrypoint

Method processEntrypoint

lib/Compilation.js:4674–4678  ·  view source on GitHub ↗
(ep)

Source from the content-addressed store, hash-verified

4672 * @param {Entrypoint} ep an entrypoint
4673 */
4674 const processEntrypoint = (ep) => {
4675 const runtime = /** @type {string} */ (ep.options.runtime || ep.name);
4676 const chunk = /** @type {Chunk} */ (ep.getRuntimeChunk());
4677 chunkGraph.setRuntimeId(runtime, /** @type {ChunkId} */ (chunk.id));
4678 };
4679 for (const ep of this.entrypoints.values()) {
4680 processEntrypoint(ep);
4681 }

Callers

nothing calls this directly

Calls 2

getRuntimeChunkMethod · 0.80
setRuntimeIdMethod · 0.80

Tested by

no test coverage detected