options.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "title": "Stylus Loader options",
  3. "type": "object",
  4. "properties": {
  5. "implementation": {
  6. "description": "The implementation of the `Stylus` to be used.",
  7. "link": "https://github.com/webpack-contrib/stylus-loade#implementation",
  8. "anyOf": [
  9. {
  10. "type": "string"
  11. },
  12. {
  13. "instanceof": "Function"
  14. }
  15. ]
  16. },
  17. "stylusOptions": {
  18. "description": "Options to pass through to `Stylus`.",
  19. "link": "https://github.com/webpack-contrib/stylus-loader#stylusoptions",
  20. "anyOf": [
  21. {
  22. "type": "object",
  23. "additionalProperties": true
  24. },
  25. {
  26. "instanceof": "Function"
  27. }
  28. ]
  29. },
  30. "sourceMap": {
  31. "description": "Enables/Disables generation of source maps.",
  32. "link": "https://github.com/webpack-contrib/stylus-loader#sourcemap",
  33. "type": "boolean"
  34. },
  35. "webpackImporter": {
  36. "description": "Enables/Disables default `webpack` importer.",
  37. "link": "https://github.com/webpack-contrib/stylus-loader#webpackimporter",
  38. "type": "boolean"
  39. },
  40. "additionalData": {
  41. "description": "Prepends/Appends `Stylus` code to the actual entry file.",
  42. "link": "https://github.com/webpack-contrib/stylus-loader#additionalData",
  43. "anyOf": [
  44. {
  45. "type": "string"
  46. },
  47. {
  48. "instanceof": "Function"
  49. }
  50. ]
  51. }
  52. },
  53. "additionalProperties": false
  54. }