mirror of https://github.com/webpack/webpack.git
Add extra types to scheme that previously didn't trigger an error
This commit is contained in:
parent
c8fd638036
commit
2dee91b2f7
|
|
@ -76,8 +76,15 @@
|
|||
},
|
||||
{
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "If an dependency matches exactly a property of the object, the property value is used as dependency.",
|
||||
"type": "object"
|
||||
},
|
||||
|
|
@ -109,7 +116,14 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"exprContextRegExp": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"instanceof": "RegExp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exprContextRequest": {
|
||||
"type": "string"
|
||||
|
|
@ -153,7 +167,14 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"unknownContextRegExp": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"instanceof": "RegExp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unknownContextRequest": {
|
||||
"type": "string"
|
||||
|
|
|
|||
Loading…
Reference in New Issue