{ "additionalProperties": false, "definitions": { "Rule": { "description": "Filtering rule as regex or string.", "anyOf": [ { "instanceof": "RegExp", "tsType": "RegExp" }, { "type": "string", "minLength": 1 } ] }, "Rules": { "description": "Filtering rules.", "anyOf": [ { "type": "array", "items": { "description": "A rule condition.", "oneOf": [ { "$ref": "#/definitions/Rule" } ] } }, { "$ref": "#/definitions/Rule" } ] } }, "properties": { "encoding": { "description": "Target encoding. A list of supported encodings can be found here: https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings", "type": "string" }, "test": { "description": "Include all assets that pass test assertion.", "oneOf": [ { "$ref": "#/definitions/Rules" } ] }, "include": { "description": "Include all assets matching any of these conditions.", "oneOf": [ { "$ref": "#/definitions/Rules" } ] }, "exclude": { "description": "Exclude all assets matching any of these conditions.", "oneOf": [ { "$ref": "#/definitions/Rules" } ] }, "filename": { "description": "The target asset filename.", "anyOf": [ { "type": "string" }, { "instanceof": "Function" } ] }, "patchWebpackBootstrap": { "description": "Whether to replace `utf-8` to target encoding from `webpack` runtime code or not.", "type": "boolean" } }, "required": ["encoding"], "type": "object" }