Skip to content

Commit

Permalink
Merge pull request #6005 from madeinfree/fix-parser-apply
Browse files Browse the repository at this point in the history
fix: Compiler parser.apply.apply misssing bug
  • Loading branch information
sokra committed Nov 23, 2017
2 parents 885e9ee + f9d797f commit 78d6ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Compiler.js
Expand Up @@ -204,7 +204,7 @@ class Compiler extends Tapable {
const args = arguments;
this.plugin("compilation", (compilation, data) => {
data.normalModuleFactory.plugin("parser", parser => {
parser.apply(parser, args);
parser.apply.apply(parser, args);
});
});
},
Expand Down

0 comments on commit 78d6ba8

Please sign in to comment.