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.

169 lines
3.1 KiB

4 years ago
  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. "chunkFilter": {
  68. "instanceof": "Function"
  69. },
  70. "cache": {
  71. "anyOf": [
  72. {
  73. "type": "boolean"
  74. },
  75. {
  76. "type": "string"
  77. }
  78. ]
  79. },
  80. "cacheKeys": {
  81. "instanceof": "Function"
  82. },
  83. "parallel": {
  84. "anyOf": [
  85. {
  86. "type": "boolean"
  87. },
  88. {
  89. "type": "integer"
  90. }
  91. ]
  92. },
  93. "sourceMap": {
  94. "type": "boolean"
  95. },
  96. "minify": {
  97. "instanceof": "Function"
  98. },
  99. "terserOptions": {
  100. "additionalProperties": true,
  101. "type": "object"
  102. },
  103. "extractComments": {
  104. "anyOf": [
  105. {
  106. "type": "boolean"
  107. },
  108. {
  109. "type": "string"
  110. },
  111. {
  112. "instanceof": "RegExp"
  113. },
  114. {
  115. "instanceof": "Function"
  116. },
  117. {
  118. "additionalProperties": false,
  119. "properties": {
  120. "condition": {
  121. "anyOf": [
  122. {
  123. "type": "boolean"
  124. },
  125. {
  126. "type": "string"
  127. },
  128. {
  129. "instanceof": "RegExp"
  130. },
  131. {
  132. "instanceof": "Function"
  133. }
  134. ]
  135. },
  136. "filename": {
  137. "anyOf": [
  138. {
  139. "type": "string"
  140. },
  141. {
  142. "instanceof": "Function"
  143. }
  144. ]
  145. },
  146. "banner": {
  147. "anyOf": [
  148. {
  149. "type": "boolean"
  150. },
  151. {
  152. "type": "string"
  153. },
  154. {
  155. "instanceof": "Function"
  156. }
  157. ]
  158. }
  159. },
  160. "type": "object"
  161. }
  162. ]
  163. },
  164. "warningsFilter": {
  165. "instanceof": "Function"
  166. }
  167. },
  168. "type": "object"
  169. }