* Checks whether this chunk graph is module in chunk group. * @param {Module} module the checked module * @param {ChunkGroup} chunkGroup the checked chunk group * @returns {boolean} true, if the chunk contains the module
(module, chunkGroup)
| 574 | * @returns {boolean} true, if the chunk contains the module |
| 575 | */ |
| 576 | isModuleInChunkGroup(module, chunkGroup) { |
| 577 | for (const chunk of chunkGroup.chunks) { |
| 578 | if (this.isModuleInChunk(module, chunk)) return true; |
| 579 | } |
| 580 | return false; |
| 581 | } |
| 582 | |
| 583 | /** |
| 584 | * Checks whether this chunk graph is entry module. |
no test coverage detected