aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/IgnorePlugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/IgnorePlugin.js')
-rw-r--r--node_modules/webpack/lib/IgnorePlugin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/webpack/lib/IgnorePlugin.js b/node_modules/webpack/lib/IgnorePlugin.js
index 9464f5746..d8f2db018 100644
--- a/node_modules/webpack/lib/IgnorePlugin.js
+++ b/node_modules/webpack/lib/IgnorePlugin.js
@@ -16,7 +16,7 @@ class IgnorePlugin {
* Only returns true if a "resourceRegExp" exists
* and the resource given matches the regexp.
*/
- checkResouce(resource) {
+ checkResource(resource) {
if(!this.resourceRegExp) {
return false;
}
@@ -45,7 +45,7 @@ class IgnorePlugin {
if(!result) {
return true;
}
- return this.checkResouce(result.request) && this.checkContext(result.context);
+ return this.checkResource(result.request) && this.checkContext(result.context);
}
checkIgnore(result, callback) {