options.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "type": "object",
  3. "properties": {
  4. "implementation": {
  5. "description": "The implementation of the sass to be used (https://github.com/webpack-contrib/sass-loader#implementation).",
  6. "type": "object"
  7. },
  8. "sassOptions": {
  9. "description": "Options for `node-sass` or `sass` (`Dart Sass`) implementation. (https://github.com/webpack-contrib/sass-loader#implementation).",
  10. "anyOf": [
  11. {
  12. "type": "object",
  13. "additionalProperties": true
  14. },
  15. {
  16. "instanceof": "Function"
  17. }
  18. ]
  19. },
  20. "additionalData": {
  21. "description": "Prepends/Appends `Sass`/`SCSS` code before the actual entry file (https://github.com/webpack-contrib/sass-loader#additionaldata).",
  22. "anyOf": [
  23. {
  24. "type": "string"
  25. },
  26. {
  27. "instanceof": "Function"
  28. }
  29. ]
  30. },
  31. "sourceMap": {
  32. "description": "Enables/Disables generation of source maps (https://github.com/webpack-contrib/sass-loader#sourcemap).",
  33. "type": "boolean"
  34. },
  35. "webpackImporter": {
  36. "description": "Enables/Disables default `webpack` importer (https://github.com/webpack-contrib/sass-loader#webpackimporter).",
  37. "type": "boolean"
  38. }
  39. },
  40. "additionalProperties": false
  41. }