plugin-options.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "type": "object",
  3. "additionalProperties": false,
  4. "properties": {
  5. "filename": {
  6. "anyOf": [
  7. {
  8. "type": "string"
  9. },
  10. {
  11. "instanceof": "Function"
  12. }
  13. ]
  14. },
  15. "chunkFilename": {
  16. "anyOf": [
  17. {
  18. "type": "string"
  19. },
  20. {
  21. "instanceof": "Function"
  22. }
  23. ]
  24. },
  25. "experimentalUseImportModule": {
  26. "description": "Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.",
  27. "type": "boolean"
  28. },
  29. "ignoreOrder": {
  30. "type": "boolean"
  31. },
  32. "insert": {
  33. "description": "Inserts `<link>` at the given position (https://github.com/webpack-contrib/mini-css-extract-plugin#insert).",
  34. "anyOf": [
  35. {
  36. "type": "string"
  37. },
  38. {
  39. "instanceof": "Function"
  40. }
  41. ]
  42. },
  43. "attributes": {
  44. "description": "Adds custom attributes to tag (https://github.com/webpack-contrib/mini-css-extract-plugin#attributes).",
  45. "type": "object"
  46. },
  47. "linkType": {
  48. "anyOf": [
  49. {
  50. "enum": ["text/css"]
  51. },
  52. {
  53. "type": "boolean"
  54. }
  55. ]
  56. }
  57. }
  58. }