MCPcopy
hub / github.com/webpack/webpack / _getChunkGraphEntries

Method _getChunkGraphEntries

lib/Compilation.js:4157–4169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4155 }
4156
4157 _getChunkGraphEntries() {
4158 /** @type {Set<Chunk>} */
4159 const treeEntries = new Set();
4160 for (const ep of this.entrypoints.values()) {
4161 const chunk = ep.getRuntimeChunk();
4162 if (chunk) treeEntries.add(chunk);
4163 }
4164 for (const ep of this.asyncEntrypoints) {
4165 const chunk = ep.getRuntimeChunk();
4166 if (chunk) treeEntries.add(chunk);
4167 }
4168 return treeEntries;
4169 }
4170
4171 /**
4172 * Process runtime requirements.

Callers 1

Calls 3

getRuntimeChunkMethod · 0.80
valuesMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected