feat: refactoring project
This commit is contained in:
4
node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js
generated
vendored
4
node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js
generated
vendored
@@ -70,9 +70,7 @@ class ChunkModuleIdRangePlugin {
|
||||
chunkModules = chunkGraph.getOrderedChunkModules(chunk, cmpFn);
|
||||
} else {
|
||||
chunkModules = Array.from(modules)
|
||||
.filter(m => {
|
||||
return chunkGraph.isModuleInChunk(m, chunk);
|
||||
})
|
||||
.filter(m => chunkGraph.isModuleInChunk(m, chunk))
|
||||
.sort(compareModulesByPreOrderIndexOrIdentifier(moduleGraph));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user