aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts')
-rw-r--r--node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts27
1 files changed, 27 insertions, 0 deletions
diff --git a/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts b/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts
new file mode 100644
index 00000000..01ac0813
--- /dev/null
+++ b/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts
@@ -0,0 +1,27 @@
+/**
+ * This file was automatically generated.
+ * DO NOT MODIFY BY HAND.
+ * Run `yarn special-lint-fix` to update
+ */
+
+export type IgnorePluginOptions =
+ | {
+ /**
+ * A RegExp to test the context (directory) against
+ */
+ contextRegExp?: RegExp;
+ /**
+ * A RegExp to test the request against
+ */
+ resourceRegExp?: RegExp;
+ }
+ | {
+ /**
+ * A filter function for context
+ */
+ checkContext?: ((context: string) => boolean);
+ /**
+ * A filter function for resource
+ */
+ checkResource?: ((resource: string) => boolean);
+ };