1 parent 46aa744 commit 30a4e36Copy full SHA for 30a4e36
1 file changed
lib/IgnorePlugin.js
@@ -11,8 +11,8 @@ class IgnorePlugin {
11
}
12
13
apply(compiler) {
14
- let resourceRegExp = this.resourceRegExp;
15
- let contextRegExp = this.contextRegExp;
+ const resourceRegExp = this.resourceRegExp;
+ const contextRegExp = this.contextRegExp;
16
compiler.plugin("normal-module-factory", (nmf) => {
17
nmf.plugin("before-resolve", (result, callback) => {
18
if(!result) return callback();
0 commit comments