(chunk)
| 905 | * @returns {void} |
| 906 | */ |
| 907 | const addChildIdsByOrdersToMap = (chunk) => { |
| 908 | const data = chunk.getChildIdsByOrders(chunkGraph, filterFn); |
| 909 | for (const key of Object.keys(data)) { |
| 910 | let chunkMap = chunkMaps[key]; |
| 911 | if (chunkMap === undefined) { |
| 912 | chunkMaps[key] = chunkMap = Object.create(null); |
| 913 | } |
| 914 | chunkMap[/** @type {ChunkId} */ (chunk.id)] = data[key]; |
| 915 | } |
| 916 | }; |
| 917 | |
| 918 | if (includeDirectChildren) { |
| 919 | /** @type {Chunks} */ |
nothing calls this directly
no test coverage detected