* Checks whether this chunk has runtime. * @returns {boolean} whether or not the Chunk will have a runtime
()
| 508 | * @returns {boolean} whether or not the Chunk will have a runtime |
| 509 | */ |
| 510 | hasRuntime() { |
| 511 | for (const chunkGroup of this._groups) { |
| 512 | if ( |
| 513 | chunkGroup instanceof Entrypoint && |
| 514 | chunkGroup.getRuntimeChunk() === this |
| 515 | ) { |
| 516 | return true; |
| 517 | } |
| 518 | } |
| 519 | return false; |
| 520 | } |
| 521 | |
| 522 | /** |
| 523 | * Checks whether it can be initial. |
no test coverage detected