MCPcopy
hub / github.com/webpack/webpack / modulesIterable

Method modulesIterable

lib/Chunk.js:225–235  ·  view source on GitHub ↗

* @deprecated * @returns {Iterable<Module>} modules

()

Source from the content-addressed store, hash-verified

223 * @returns {Iterable<Module>} modules
224 */
225 get modulesIterable() {
226 const chunkGraph = ChunkGraph.getChunkGraphForChunk(
227 this,
228 "Chunk.modulesIterable",
229 "DEP_WEBPACK_CHUNK_MODULES_ITERABLE"
230 );
231 return chunkGraph.getOrderedChunkModulesIterable(
232 this,
233 compareModulesByIdentifier
234 );
235 }
236
237 /**
238 * Compares this chunk with another chunk.

Callers

nothing calls this directly

Calls 2

getChunkGraphForChunkMethod · 0.80

Tested by

no test coverage detected