IgnorePlugin.json 899 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "title": "IgnorePluginOptions",
  3. "anyOf": [
  4. {
  5. "type": "object",
  6. "additionalProperties": false,
  7. "properties": {
  8. "contextRegExp": {
  9. "description": "A RegExp to test the context (directory) against.",
  10. "instanceof": "RegExp",
  11. "tsType": "RegExp"
  12. },
  13. "resourceRegExp": {
  14. "description": "A RegExp to test the request against.",
  15. "instanceof": "RegExp",
  16. "tsType": "RegExp"
  17. }
  18. },
  19. "required": ["resourceRegExp"]
  20. },
  21. {
  22. "type": "object",
  23. "additionalProperties": false,
  24. "properties": {
  25. "checkResource": {
  26. "description": "A filter function for resource and context.",
  27. "instanceof": "Function",
  28. "tsType": "((resource: string, context: string) => boolean)"
  29. }
  30. },
  31. "required": ["checkResource"]
  32. }
  33. ]
  34. }