File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
233
233
var extractedChunk = extractedChunks [ i ] ;
234
234
extractedChunk . name = chunk . name ;
235
235
extractedChunk . originalChunk = chunk ;
236
- splitChunk ( chunk , extractedChunk ) ;
236
+ splitChunk ( chunk , extractedChunk , extractedChunks ) ;
237
237
} ) ;
238
238
async . forEach ( chunks , function ( chunk , callback ) {
239
239
var extractedChunk = extractedChunks [ chunks . indexOf ( chunk ) ] ;
@@ -390,7 +390,7 @@ function getChunkModulesArray(chunk) {
390
390
}
391
391
}
392
392
393
- function splitChunk ( chunk , extractedChunk ) {
393
+ function splitChunk ( chunk , extractedChunk , extractedChunks ) {
394
394
// webpack >= 4.x.x
395
395
if ( typeof chunk . split === 'function' ) {
396
396
chunk . split ( extractedChunk ) ;
You can’t perform that action at this time.
0 commit comments