options.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "additionalProperties": false,
  3. "definitions": {
  4. "file-conditions": {
  5. "anyOf": [
  6. {
  7. "instanceof": "RegExp"
  8. },
  9. {
  10. "type": "string"
  11. }
  12. ]
  13. }
  14. },
  15. "properties": {
  16. "test": {
  17. "anyOf": [
  18. {
  19. "$ref": "#/definitions/file-conditions"
  20. },
  21. {
  22. "items": {
  23. "anyOf": [
  24. {
  25. "$ref": "#/definitions/file-conditions"
  26. }
  27. ]
  28. },
  29. "type": "array"
  30. }
  31. ]
  32. },
  33. "include": {
  34. "anyOf": [
  35. {
  36. "$ref": "#/definitions/file-conditions"
  37. },
  38. {
  39. "items": {
  40. "anyOf": [
  41. {
  42. "$ref": "#/definitions/file-conditions"
  43. }
  44. ]
  45. },
  46. "type": "array"
  47. }
  48. ]
  49. },
  50. "exclude": {
  51. "anyOf": [
  52. {
  53. "$ref": "#/definitions/file-conditions"
  54. },
  55. {
  56. "items": {
  57. "anyOf": [
  58. {
  59. "$ref": "#/definitions/file-conditions"
  60. }
  61. ]
  62. },
  63. "type": "array"
  64. }
  65. ]
  66. },
  67. "cache": {
  68. "anyOf": [
  69. {
  70. "type": "boolean"
  71. },
  72. {
  73. "type": "string"
  74. }
  75. ]
  76. },
  77. "cacheKeys": {
  78. "instanceof": "Function"
  79. },
  80. "parallel": {
  81. "anyOf": [
  82. {
  83. "type": "boolean"
  84. },
  85. {
  86. "type": "integer"
  87. }
  88. ]
  89. },
  90. "sourceMap": {
  91. "type": "boolean"
  92. },
  93. "minify": {
  94. "instanceof": "Function"
  95. },
  96. "terserOptions": {
  97. "additionalProperties": true,
  98. "type": "object"
  99. },
  100. "extractComments": {
  101. "anyOf": [
  102. {
  103. "type": "boolean"
  104. },
  105. {
  106. "type": "string"
  107. },
  108. {
  109. "instanceof": "RegExp"
  110. },
  111. {
  112. "instanceof": "Function"
  113. },
  114. {
  115. "additionalProperties": false,
  116. "properties": {
  117. "condition": {
  118. "anyOf": [
  119. {
  120. "type": "boolean"
  121. },
  122. {
  123. "type": "string"
  124. },
  125. {
  126. "instanceof": "RegExp"
  127. },
  128. {
  129. "instanceof": "Function"
  130. }
  131. ]
  132. },
  133. "filename": {
  134. "anyOf": [
  135. {
  136. "type": "string"
  137. },
  138. {
  139. "instanceof": "Function"
  140. }
  141. ]
  142. },
  143. "banner": {
  144. "anyOf": [
  145. {
  146. "type": "boolean"
  147. },
  148. {
  149. "type": "string"
  150. },
  151. {
  152. "instanceof": "Function"
  153. }
  154. ]
  155. }
  156. },
  157. "type": "object"
  158. }
  159. ]
  160. },
  161. "warningsFilter": {
  162. "instanceof": "Function"
  163. }
  164. },
  165. "type": "object"
  166. }