* Checks whether this chunk graph is entry module in chunk. * @param {Module} module the checked module * @param {Chunk} chunk the checked chunk * @returns {boolean} true, if the chunk contains the module as entry
(module, chunk)
| 1160 | * @returns {boolean} true, if the chunk contains the module as entry |
| 1161 | */ |
| 1162 | isEntryModuleInChunk(module, chunk) { |
| 1163 | const cgc = this._getChunkGraphChunk(chunk); |
| 1164 | return cgc.entryModules.has(module); |
| 1165 | } |
| 1166 | |
| 1167 | /** |
| 1168 | * Connects chunk and entry module. |
no test coverage detected