Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

options.json 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. }