* Returns the total size of all modules in this chunk. * @deprecated * @returns {number} total size of all modules in this chunk
()
| 363 | * @returns {number} total size of all modules in this chunk |
| 364 | */ |
| 365 | modulesSize() { |
| 366 | const chunkGraph = ChunkGraph.getChunkGraphForChunk( |
| 367 | this, |
| 368 | "Chunk.modulesSize", |
| 369 | "DEP_WEBPACK_CHUNK_MODULES_SIZE" |
| 370 | ); |
| 371 | return chunkGraph.getChunkModulesSize(this); |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * Returns the estimated size for the requested source type. |
no test coverage detected