loader-options.json 1023 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "title": "Mini CSS Extract Plugin Loader options",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "publicPath": {
  7. "anyOf": [
  8. {
  9. "type": "string"
  10. },
  11. {
  12. "instanceof": "Function"
  13. }
  14. ],
  15. "description": "Specifies a custom public path for the external resources like images, files, etc inside CSS.",
  16. "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#publicpath"
  17. },
  18. "emit": {
  19. "type": "boolean",
  20. "description": "If true, emits a file (writes a file to the filesystem). If false, the plugin will extract the CSS but will not emit the file",
  21. "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#emit"
  22. },
  23. "esModule": {
  24. "type": "boolean",
  25. "description": "Generates JS modules that use the ES modules syntax.",
  26. "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#esmodule"
  27. },
  28. "layer": {
  29. "type": "string"
  30. }
  31. }
  32. }