* Checks whether this chunk graph is module in chunk. * @param {Module} module the checked module * @param {Chunk} chunk the checked chunk * @returns {boolean} true, if the chunk contains the module
(module, chunk)
| 563 | * @returns {boolean} true, if the chunk contains the module |
| 564 | */ |
| 565 | isModuleInChunk(module, chunk) { |
| 566 | const cgc = this._getChunkGraphChunk(chunk); |
| 567 | return cgc.modules.has(module); |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * Checks whether this chunk graph is module in chunk group. |
no test coverage detected