You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IgnorePlugin.json 1005B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "title": "IgnorePluginOptions",
  3. "oneOf": [
  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. },
  20. {
  21. "type": "object",
  22. "additionalProperties": false,
  23. "properties": {
  24. "checkContext": {
  25. "description": "A filter function for context",
  26. "instanceof": "Function",
  27. "tsType": "((context: string) => boolean)"
  28. },
  29. "checkResource": {
  30. "description": "A filter function for resource and context",
  31. "instanceof": "Function",
  32. "tsType": "((resource: string, context: string) => boolean)"
  33. }
  34. }
  35. }
  36. ]
  37. }