Skip to content

Commit 24ef6ea

Browse files
authored
Merge pull request webpack#4779 from ndresx/ignoreplugin-typo-fix
Fix typo in IgnorePlugin
2 parents 34315db + aa172f0 commit 24ef6ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IgnorePlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class IgnorePlugin {
1616
* Only returns true if a "resourceRegExp" exists
1717
* and the resource given matches the regexp.
1818
*/
19-
checkResouce(resource) {
19+
checkResource(resource) {
2020
if(!this.resourceRegExp) {
2121
return false;
2222
}
@@ -45,7 +45,7 @@ class IgnorePlugin {
4545
if(!result) {
4646
return true;
4747
}
48-
return this.checkResouce(result.request) && this.checkContext(result.context);
48+
return this.checkResource(result.request) && this.checkContext(result.context);
4949
}
5050

5151
checkIgnore(result, callback) {

0 commit comments

Comments
 (0)