UNPKG

require-node-example

Version:

An example for how to use npm package: require-node & require-node-loader

38 lines (37 loc) 976 B
{ "title": "IgnorePluginOptions", "oneOf": [ { "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" } } }, { "type": "object", "additionalProperties": false, "properties": { "checkContext": { "description": "A filter function for context", "instanceof": "Function", "tsType": "((context: string) => boolean)" }, "checkResource": { "description": "A filter function for resource", "instanceof": "Function", "tsType": "((resource: string) => boolean)" } } } ] }