options.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "title": "Less Loader options",
  3. "type": "object",
  4. "properties": {
  5. "lessOptions": {
  6. "description": "Options to pass through to `Less`.",
  7. "link": "https://github.com/webpack-contrib/less-loader#lessoptions",
  8. "anyOf": [
  9. {
  10. "type": "object",
  11. "additionalProperties": true
  12. },
  13. {
  14. "instanceof": "Function"
  15. }
  16. ]
  17. },
  18. "additionalData": {
  19. "description": "Prepends/Appends `Less` code to the actual entry file.",
  20. "link": "https://github.com/webpack-contrib/less-loader#additionalData",
  21. "anyOf": [
  22. {
  23. "type": "string"
  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/less-loader#sourcemap",
  33. "type": "boolean"
  34. },
  35. "webpackImporter": {
  36. "description": "Enables/Disables default `webpack` importer.",
  37. "link": "https://github.com/webpack-contrib/less-loader#webpackimporter",
  38. "type": "boolean"
  39. },
  40. "implementation": {
  41. "description": "The implementation of the `Less` to be used.",
  42. "link": "https://github.com/webpack-contrib/less-loader#implementation",
  43. "anyOf": [
  44. {
  45. "type": "string"
  46. },
  47. {
  48. "type": "object"
  49. }
  50. ]
  51. },
  52. "lessLogAsWarnOrErr": {
  53. "description": "Less warnings and errors will be webpack warnings or errors.",
  54. "link": "https://github.com/webpack-contrib/less-loader#lesslogaswarnorerr",
  55. "type": "boolean"
  56. }
  57. },
  58. "additionalProperties": false
  59. }