* Gets all referenced chunks. * @returns {Chunks} a set of all the referenced chunks (including itself)
()
| 715 | * @returns {Chunks} a set of all the referenced chunks (including itself) |
| 716 | */ |
| 717 | getAllReferencedChunks() { |
| 718 | /** @type {Queue} */ |
| 719 | const queue = new Set(this.groupsIterable); |
| 720 | /** @type {Chunks} */ |
| 721 | const chunks = new Set(); |
| 722 | |
| 723 | for (const chunkGroup of queue) { |
| 724 | for (const chunk of chunkGroup.chunks) { |
| 725 | chunks.add(chunk); |
| 726 | } |
| 727 | for (const child of chunkGroup.childrenIterable) { |
| 728 | queue.add(child); |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | return chunks; |
| 733 | } |
| 734 | |
| 735 | /** |
| 736 | * Gets all referenced async entrypoints. |
no test coverage detected