MCPcopy
hub / github.com/webpack/webpack / integratedSize

Method integratedSize

lib/Chunk.js:396–403  ·  view source on GitHub ↗

* Returns the integrated size with another chunk. * @deprecated * @param {Chunk} otherChunk the other chunk * @param {ChunkSizeOptions} options options object * @returns {number} total size of the chunk or false if the chunk can't be integrated

(otherChunk, options)

Source from the content-addressed store, hash-verified

394 * @returns {number} total size of the chunk or false if the chunk can't be integrated
395 */
396 integratedSize(otherChunk, options) {
397 const chunkGraph = ChunkGraph.getChunkGraphForChunk(
398 this,
399 "Chunk.integratedSize",
400 "DEP_WEBPACK_CHUNK_INTEGRATED_SIZE"
401 );
402 return chunkGraph.getIntegratedChunksSize(this, otherChunk, options);
403 }
404
405 /**
406 * Gets chunk module maps.

Callers

nothing calls this directly

Calls 2

getChunkGraphForChunkMethod · 0.80

Tested by

no test coverage detected