options.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "type": "object",
  3. "properties": {
  4. "postcssOptions": {
  5. "description": "Options to pass through to `Postcss`.",
  6. "anyOf": [
  7. {
  8. "type": "object",
  9. "additionalProperties": true,
  10. "properties": {
  11. "config": {
  12. "description": "Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)",
  13. "anyOf": [
  14. {
  15. "description": "Allows to specify the path to the configuration file",
  16. "type": "string"
  17. },
  18. {
  19. "description": "Enables/Disables autoloading config",
  20. "type": "boolean"
  21. }
  22. ]
  23. }
  24. }
  25. },
  26. {
  27. "instanceof": "Function"
  28. }
  29. ]
  30. },
  31. "execute": {
  32. "description": "Enables/Disables PostCSS parser support in 'CSS-in-JS' (https://github.com/postcss/postcss-loader#execute)",
  33. "type": "boolean"
  34. },
  35. "sourceMap": {
  36. "description": "Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)",
  37. "type": "boolean"
  38. }
  39. },
  40. "additionalProperties": false
  41. }