* Collects the emitted files produced by every chunk in the group. * @returns {string[]} the files contained this chunk group
()
| 470 | * @returns {string[]} the files contained this chunk group |
| 471 | */ |
| 472 | getFiles() { |
| 473 | /** @type {Set<string>} */ |
| 474 | const files = new Set(); |
| 475 | |
| 476 | for (const chunk of this.chunks) { |
| 477 | for (const file of chunk.files) { |
| 478 | files.add(file); |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | return [...files]; |
| 483 | } |
| 484 | |
| 485 | /** |
| 486 | * Disconnects this group from its parents, children, and chunks. |
no test coverage detected