options.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "type": "object",
  3. "properties": {
  4. "injectType": {
  5. "description": "Allows to setup how styles will be injected into DOM (https://github.com/webpack-contrib/style-loader#injecttype).",
  6. "enum": [
  7. "styleTag",
  8. "singletonStyleTag",
  9. "lazyStyleTag",
  10. "lazySingletonStyleTag",
  11. "linkTag"
  12. ]
  13. },
  14. "attributes": {
  15. "description": "Adds custom attributes to tag (https://github.com/webpack-contrib/style-loader#attributes).",
  16. "type": "object"
  17. },
  18. "insert": {
  19. "description": "Inserts `<style>`/`<link>` at the given position (https://github.com/webpack-contrib/style-loader#insert).",
  20. "anyOf": [
  21. {
  22. "type": "string"
  23. },
  24. {
  25. "instanceof": "Function"
  26. }
  27. ]
  28. },
  29. "base": {
  30. "description": "Sets module ID base for DLLPlugin (https://github.com/webpack-contrib/style-loader#base).",
  31. "type": "number"
  32. },
  33. "esModule": {
  34. "description": "Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule).",
  35. "type": "boolean"
  36. }
  37. },
  38. "additionalProperties": false
  39. }