Keep chunk size above the specified limit by merging chunks that are smaller than theminChunkSize
.
newwebpack.optimize.MinChunkSizePlugin({ minChunkSize:10000,// Minimum number of characters});
This plugin and it's options can also be invoked via theCLI:
webpack --optimize-min-chunk-size10000