UNPKG

1.3 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 "progressive": { "type": ["boolean"] },
35 "placeholder": { "type": ["string", "boolean"] },
36 "adapter": {
37 "instanceof": "Function"
38 },
39 "format": { "enum": ["png", "jpg", "jpeg", "webp"] },
40 "disable": { "type": "boolean" },
41 "esModule": {
42 "description": "By default, responsive-loader generates JS modules that don't use the ES modules syntax.",
43 "type": "boolean"
44 },
45 "emitFile": {
46 "description": "Enables/Disables emit files.",
47 "type": "boolean"
48 }
49 },
50 "type": "object"
51}