{ "definitions": { "DataUrlFunction": { "description": "Function that executes for module and should return whenever asset should be inlined as DataUrl.", "instanceof": "Function", "tsType": "((source: string | Buffer, context: { filename: string, module: import('../../lib/Module') }) => boolean)" }, "DataUrlOptions": { "description": "Options object for DataUrl condition.", "type": "object", "additionalProperties": false, "properties": { "maxSize": { "description": "Maximum size of asset that should be inline as modules. Default: 8kb.", "type": "number" } } } }, "title": "AssetModulesPluginParserOptions", "type": "object", "additionalProperties": false, "properties": { "dataUrlCondition": { "description": "The condition for inlining the asset as DataUrl.", "anyOf": [ { "$ref": "#/definitions/DataUrlOptions" }, { "$ref": "#/definitions/DataUrlFunction" } ] } } }