Skip to content

Commit

Permalink
fix: Compiler parser.apply bug
Browse files Browse the repository at this point in the history
fix parser.apply.apply instead of parser.apply in lib/Compiler.js
  • Loading branch information
madeinfree committed Nov 23, 2017
1 parent 885e9ee commit f9d797f
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 f9d797f

Please sign in to comment.