Skip to content

Commit 78d6ba8

Browse files
authored
Merge pull request webpack#6005 from madeinfree/fix-parser-apply
fix: Compiler parser.apply.apply misssing bug
2 parents 885e9ee + f9d797f commit 78d6ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class Compiler extends Tapable {
204204
const args = arguments;
205205
this.plugin("compilation", (compilation, data) => {
206206
data.normalModuleFactory.plugin("parser", parser => {
207-
parser.apply(parser, args);
207+
parser.apply.apply(parser, args);
208208
});
209209
});
210210
},

0 commit comments

Comments
 (0)