[6a3a178] | 1 | {
|
---|
| 2 | "definitions": {
|
---|
| 3 | "Rule": {
|
---|
| 4 | "description": "Filtering rule as regex or string.",
|
---|
| 5 | "anyOf": [
|
---|
| 6 | {
|
---|
| 7 | "instanceof": "RegExp",
|
---|
| 8 | "tsType": "RegExp"
|
---|
| 9 | },
|
---|
| 10 | {
|
---|
| 11 | "type": "string",
|
---|
| 12 | "minLength": 1
|
---|
| 13 | }
|
---|
| 14 | ]
|
---|
| 15 | },
|
---|
| 16 | "Rules": {
|
---|
| 17 | "description": "Filtering rules.",
|
---|
| 18 | "anyOf": [
|
---|
| 19 | {
|
---|
| 20 | "type": "array",
|
---|
| 21 | "items": {
|
---|
| 22 | "description": "A rule condition.",
|
---|
| 23 | "oneOf": [
|
---|
| 24 | {
|
---|
| 25 | "$ref": "#/definitions/Rule"
|
---|
| 26 | }
|
---|
| 27 | ]
|
---|
| 28 | }
|
---|
| 29 | },
|
---|
| 30 | {
|
---|
| 31 | "$ref": "#/definitions/Rule"
|
---|
| 32 | }
|
---|
| 33 | ]
|
---|
| 34 | },
|
---|
| 35 | "MinimizerOptions": {
|
---|
| 36 | "additionalProperties": true,
|
---|
| 37 | "type": "object"
|
---|
| 38 | }
|
---|
| 39 | },
|
---|
| 40 | "title": "CssMinimizerWebpackPluginOptions",
|
---|
| 41 | "type": "object",
|
---|
| 42 | "properties": {
|
---|
| 43 | "test": {
|
---|
| 44 | "description": "Include all modules that pass test assertion.",
|
---|
| 45 | "oneOf": [
|
---|
| 46 | {
|
---|
| 47 | "$ref": "#/definitions/Rules"
|
---|
| 48 | }
|
---|
| 49 | ]
|
---|
| 50 | },
|
---|
| 51 | "include": {
|
---|
| 52 | "description": "Include all modules matching any of these conditions.",
|
---|
| 53 | "oneOf": [
|
---|
| 54 | {
|
---|
| 55 | "$ref": "#/definitions/Rules"
|
---|
| 56 | }
|
---|
| 57 | ]
|
---|
| 58 | },
|
---|
| 59 | "exclude": {
|
---|
| 60 | "description": "Exclude all modules matching any of these conditions.",
|
---|
| 61 | "oneOf": [
|
---|
| 62 | {
|
---|
| 63 | "$ref": "#/definitions/Rules"
|
---|
| 64 | }
|
---|
| 65 | ]
|
---|
| 66 | },
|
---|
| 67 | "minimizerOptions": {
|
---|
| 68 | "description": "Options for `cssMinimizerOptions`.",
|
---|
| 69 | "anyOf": [
|
---|
| 70 | {
|
---|
| 71 | "$ref": "#/definitions/MinimizerOptions"
|
---|
| 72 | },
|
---|
| 73 | {
|
---|
| 74 | "type": "array",
|
---|
| 75 | "minItems": 1,
|
---|
| 76 | "items": {
|
---|
| 77 | "$ref": "#/definitions/MinimizerOptions"
|
---|
| 78 | }
|
---|
| 79 | }
|
---|
| 80 | ]
|
---|
| 81 | },
|
---|
| 82 | "parallel": {
|
---|
| 83 | "description": "Use multi-process parallel running to improve the build speed.",
|
---|
| 84 | "anyOf": [
|
---|
| 85 | {
|
---|
| 86 | "type": "boolean"
|
---|
| 87 | },
|
---|
| 88 | {
|
---|
| 89 | "type": "integer"
|
---|
| 90 | }
|
---|
| 91 | ]
|
---|
| 92 | },
|
---|
| 93 | "warningsFilter": {
|
---|
| 94 | "description": "Allow to filter `css minimizer` warnings.",
|
---|
| 95 | "instanceof": "Function"
|
---|
| 96 | },
|
---|
| 97 | "minify": {
|
---|
| 98 | "description": "Allows you to override default minify function.",
|
---|
| 99 | "anyOf": [
|
---|
| 100 | {
|
---|
| 101 | "instanceof": "Function"
|
---|
| 102 | },
|
---|
| 103 | {
|
---|
| 104 | "type": "array",
|
---|
| 105 | "minItems": 1,
|
---|
| 106 | "items": {
|
---|
| 107 | "instanceof": "Function"
|
---|
| 108 | }
|
---|
| 109 | }
|
---|
| 110 | ]
|
---|
| 111 | }
|
---|
| 112 | },
|
---|
| 113 | "additionalProperties": false
|
---|
| 114 | }
|
---|