options.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "type": "object",
  3. "properties": {
  4. "limit": {
  5. "description": "Enables/Disables transformation target file into base64 URIs (https://github.com/webpack-contrib/url-loader#limit).",
  6. "type": ["boolean", "number", "string"]
  7. },
  8. "mimetype": {
  9. "description": "The MIME type for the file to be transformed (https://github.com/webpack-contrib/url-loader#mimetype).",
  10. "type": "string"
  11. },
  12. "fallback": {
  13. "description": "An alternative loader to use when a target file's size exceeds the limit set in the limit option (https://github.com/webpack-contrib/url-loader#fallback).",
  14. "anyOf": [
  15. {
  16. "type": "string"
  17. },
  18. {
  19. "additionalProperties": false,
  20. "properties": {
  21. "loader": {
  22. "description": "Fallback loader name.",
  23. "type": "string"
  24. },
  25. "options": {
  26. "description": "Fallback loader options.",
  27. "anyOf": [
  28. {
  29. "type": "object"
  30. },
  31. {
  32. "type": "string"
  33. }
  34. ]
  35. }
  36. },
  37. "type": "object"
  38. }
  39. ]
  40. },
  41. "esModules": {
  42. "type": "boolean"
  43. }
  44. },
  45. "additionalProperties": true
  46. }