File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,12 +261,12 @@ class Chunk {
261261 this . modules . forEach ( m => m . updateHash ( hash ) ) ;
262262 }
263263
264- canBeIntegrated ( other ) {
265- if ( other . isInitial ( ) ) {
264+ canBeIntegrated ( otherChunk ) {
265+ if ( otherChunk . isInitial ( ) ) {
266266 return false ;
267267 }
268268 if ( this . isInitial ( ) ) {
269- if ( other . parents . length !== 1 || other . parents [ 0 ] !== this ) {
269+ if ( otherChunk . parents . length !== 1 || otherChunk . parents [ 0 ] !== this ) {
270270 return false ;
271271 }
272272 }
@@ -292,13 +292,13 @@ class Chunk {
292292 return this . addMultiplierAndOverhead ( this . modulesSize ( ) , options ) ;
293293 }
294294
295- integratedSize ( other , options ) {
295+ integratedSize ( otherChunk , options ) {
296296 // Chunk if it's possible to integrate this chunk
297- if ( ! this . canBeIntegrated ( other ) ) {
297+ if ( ! this . canBeIntegrated ( otherChunk ) ) {
298298 return false ;
299299 }
300300
301- const modulesSize = this . modulesSize ( ) + other . modulesSize ( ) ;
301+ const modulesSize = this . modulesSize ( ) + otherChunk . modulesSize ( ) ;
302302 return this . addMultiplierAndOverhead ( modulesSize , options ) ;
303303 }
304304
You can’t perform that action at this time.
0 commit comments