loader-schema.js 606 B

12345678910111213141516171819
  1. module.exports = {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "allChunks": { "type": "boolean"},
  7. "disable": { "type": "boolean" },
  8. "omit": { "type": "boolean" },
  9. "remove": { "type": "boolean" },
  10. "fallback": { "type": ["string", "array", "object"] },
  11. "filename": { "type": "string" },
  12. "use": { "type": ["string", "array", "object"] },
  13. "publicPath": { "type": "string" },
  14. // deprecated
  15. "fallbackLoader": { "type": ["string", "array", "object"] },
  16. "loader": { "type": ["string", "array", "object"] }
  17. }
  18. };