UNPKG

webpack-image-placeholder-loader

Version:
51 lines (50 loc) 1.48 kB
{ "additionalProperties": true, "type": "object", "properties": { "format": { "description": "Format of output", "enum": ["base64", "blurred-svg", "hex", "rgb", "array"] }, "size": { "description": "Size of output image. Only apply when the format is base64", "anyOf": [ { "type": "number", "minimum": 1 }, { "enum": ["original"] } ] }, "blurQuality": { "description": "Quality of blur image. Only apply when the format is blurred-svg", "type": "number", "minimum": 0, "maximum": 100 }, "color": { "description": "Color of output image.", "anyOf": [ { "type": "string" }, { "type": "object" } ] }, "backgroundColor": { "description": "Color of background if image contains transparency.", "anyOf": [ { "type": "string" }, { "type": "object" } ] }, "esModule": { "description": "By default, webpack-image-placeholder-loader generates JS modules that use the ES modules syntax.", "type": "boolean" } } }