|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- "definitions": {
- "rule": {
- "oneOf": [
- {
- "instanceof": "RegExp"
- },
- {
- "minLength": 1,
- "type": "string"
- }
- ]
- },
- "rules": {
- "oneOf": [
- {
- "items": {
- "description": "A rule condition",
- "anyOf": [
- {
- "$ref": "#/definitions/rule"
- }
- ]
- },
- "type": "array"
- },
- {
- "$ref": "#/definitions/rule"
- }
- ]
- }
- },
- "oneOf": [
- {
- "type": "object",
- "additionalProperties": false,
- "required": ["banner"],
- "properties": {
- "banner": {
- "description": "Specifies the banner",
- "anyOf": [
- {
- "instanceof": "Function"
- },
- {
- "type": "string"
- }
- ]
- },
- "raw": {
- "description": "If true, banner will not be wrapped in a comment",
- "type": "boolean"
- },
- "entryOnly": {
- "description": "If true, the banner will only be added to the entry chunks",
- "type": "boolean"
- },
- "test": {
- "description": "Include all modules that pass test assertion",
- "anyOf": [
- {
- "$ref": "#/definitions/rules"
- }
- ]
- },
- "include": {
- "description": "Include all modules matching any of these conditions",
- "anyOf": [
- {
- "$ref": "#/definitions/rules"
- }
- ]
- },
- "exclude": {
- "description": "Exclude all modules matching any of these conditions",
- "anyOf": [
- {
- "$ref": "#/definitions/rules"
- }
- ]
- }
- }
- },
- {
- "description": "The banner as function, it will be wrapped in a comment",
- "instanceof": "Function"
- },
- {
- "description": "The banner as string, it will be wrapped in a comment",
- "minLength": 1,
- "type": "string"
- }
- ]
- }
|