* Gets chunk modules sizes. * @param {Chunk} chunk the chunk * @returns {Record<string, number>} total sizes of all modules in the chunk by source type
(chunk)
| 974 | * @returns {Record<string, number>} total sizes of all modules in the chunk by source type |
| 975 | */ |
| 976 | getChunkModulesSizes(chunk) { |
| 977 | const cgc = this._getChunkGraphChunk(chunk); |
| 978 | return cgc.modules.getFromUnorderedCache(getModulesSizes); |
| 979 | } |
| 980 | |
| 981 | /** |
| 982 | * Gets chunk root modules. |
no test coverage detected