Skip to content

Commit 1296c68

Browse files
committed
bug fix for agressive merging
1 parent 8be02cf commit 1296c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Chunk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Chunk.prototype.integratedSize = function(other, options) {
279279
return false;
280280
}
281281

282-
var CHUNK_OVERHEAD = options.chunkOverhead || 10000;
282+
var CHUNK_OVERHEAD = typeof options.chunkOverhead === "number" ? options.chunkOverhead : 10000;
283283
var ENTRY_CHUNK_MULTIPLICATOR = options.entryChunkMultiplicator || 10;
284284

285285
var mergedModules = this.modules.slice();

0 commit comments

Comments
 (0)