We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be02cf commit 1296c68Copy full SHA for 1296c68
lib/Chunk.js
@@ -279,7 +279,7 @@ Chunk.prototype.integratedSize = function(other, options) {
279
return false;
280
}
281
282
- var CHUNK_OVERHEAD = options.chunkOverhead || 10000;
+ var CHUNK_OVERHEAD = typeof options.chunkOverhead === "number" ? options.chunkOverhead : 10000;
283
var ENTRY_CHUNK_MULTIPLICATOR = options.entryChunkMultiplicator || 10;
284
285
var mergedModules = this.modules.slice();
0 commit comments