diff options
Diffstat (limited to 'node_modules/webpack/schemas/plugins/IgnorePlugin.json')
| -rw-r--r-- | node_modules/webpack/schemas/plugins/IgnorePlugin.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/node_modules/webpack/schemas/plugins/IgnorePlugin.json b/node_modules/webpack/schemas/plugins/IgnorePlugin.json new file mode 100644 index 00000000..58c1d2c5 --- /dev/null +++ b/node_modules/webpack/schemas/plugins/IgnorePlugin.json @@ -0,0 +1,34 @@ +{ + "title": "IgnorePluginOptions", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "properties": { + "contextRegExp": { + "description": "A RegExp to test the context (directory) against.", + "instanceof": "RegExp", + "tsType": "RegExp" + }, + "resourceRegExp": { + "description": "A RegExp to test the request against.", + "instanceof": "RegExp", + "tsType": "RegExp" + } + }, + "required": ["resourceRegExp"] + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "checkResource": { + "description": "A filter function for resource and context.", + "instanceof": "Function", + "tsType": "((resource: string, context: string) => boolean)" + } + }, + "required": ["checkResource"] + } + ] +} |
