UNPKG

1.35 kBJSONView Raw
1{
2 "additionalProperties": true,
3 "properties": {
4 "size": {
5 "type": ["string", "number"]
6 },
7 "sizes": {
8 "type": "array"
9 },
10 "min": {
11 "type": ["string", "number"]
12 },
13 "max": {
14 "type": ["string", "number"]
15 },
16 "steps": {
17 "type": ["string", "number"]
18 },
19 "name": {
20 "type": "string"
21 },
22 "outputPath": {
23 "anyOf": [{ "type": "string" }, { "instanceof": "Function" }]
24 },
25 "publicPath": {
26 "anyOf": [{ "type": "string" }, { "instanceof": "Function" }]
27 },
28 "context": { "type": "string" },
29 "placeholderSize": {
30 "type": ["string", "number"]
31 },
32 "quality": { "type": ["string", "number"] },
33 "background": { "type": ["string", "number"] },
34 "rotate": {
35 "type": ["string", "number"]
36 },
37 "progressive": { "type": "boolean" },
38 "placeholder": { "type": ["string", "boolean"] },
39 "adapter": {
40 "instanceof": "Function"
41 },
42 "format": { "enum": ["png", "jpg", "jpeg", "webp"] },
43 "disable": { "type": "boolean" },
44 "esModule": {
45 "description": "By default, responsive-loader generates JS modules that don't use the ES modules syntax.",
46 "type": "boolean"
47 },
48 "emitFile": {
49 "description": "Enables/Disables emit files.",
50 "type": "boolean"
51 }
52 },
53 "type": "object"
54}