Skip to content

Commit

Permalink
Merge pull request #6898 from mohsen1/patch-6
Browse files Browse the repository at this point in the history
Remove extra argument passed to ContextModuleFactory in Compiler
  • Loading branch information
sokra committed Mar 29, 2018
2 parents ca79190 + d6b2515 commit cc77f7e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Compiler.js
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 cc77f7e

Please sign in to comment.