(chunkGroup, availableModules)
| 1352 | * @returns {boolean} return true if all modules of a chunk are available |
| 1353 | */ |
| 1354 | const areModulesAvailable = (chunkGroup, availableModules) => { |
| 1355 | for (const chunk of chunkGroup.chunks) { |
| 1356 | const chunkMask = /** @type {bigint} */ (maskByChunk.get(chunk)); |
| 1357 | if ((chunkMask & availableModules) !== chunkMask) return false; |
| 1358 | } |
| 1359 | return true; |
| 1360 | }; |
| 1361 | |
| 1362 | // For each edge in the basic chunk graph |
| 1363 | for (const [block, connections] of blockConnections) { |
no test coverage detected