Skip to content

Commit

Permalink
Remove extra argument passed to ContextModuleFactory in Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Mar 29, 2018
1 parent 8498fc0 commit d6b2515
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,7 @@ class Compiler extends Tapable {
}

createContextModuleFactory() {
const contextModuleFactory = new ContextModuleFactory(
this.resolverFactory,
this.inputFileSystem
);
const contextModuleFactory = new ContextModuleFactory(this.resolverFactory);
this.hooks.contextModuleFactory.call(contextModuleFactory);
return contextModuleFactory;
}
Expand Down

0 comments on commit d6b2515

Please sign in to comment.