Skip to content

Commit cc77f7e

Browse files
authored
Merge pull request webpack#6898 from mohsen1/patch-6
Remove extra argument passed to ContextModuleFactory in Compiler
2 parents ca79190 + d6b2515 commit cc77f7e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/Compiler.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,7 @@ class Compiler extends Tapable {
448448
}
449449

450450
createContextModuleFactory() {
451-
const contextModuleFactory = new ContextModuleFactory(
452-
this.resolverFactory,
453-
this.inputFileSystem
454-
);
451+
const contextModuleFactory = new ContextModuleFactory(this.resolverFactory);
455452
this.hooks.contextModuleFactory.call(contextModuleFactory);
456453
return contextModuleFactory;
457454
}

0 commit comments

Comments
 (0)