10
0

options.json 1.4 KB

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