* Checks whether this chunk has an entry module. * @deprecated * @returns {boolean} true, if the chunk contains an entry module
()
| 165 | * @returns {boolean} true, if the chunk contains an entry module |
| 166 | */ |
| 167 | hasEntryModule() { |
| 168 | return ( |
| 169 | ChunkGraph.getChunkGraphForChunk( |
| 170 | this, |
| 171 | "Chunk.hasEntryModule", |
| 172 | "DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE" |
| 173 | ).getNumberOfEntryModules(this) > 0 |
| 174 | ); |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Adds the provided module to the chunk. |
no test coverage detected