Skip to content

Commit d50f00d

Browse files
committed
fix: allow array of strings for library.root
1 parent 00f77fd commit d50f00d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎schemas/WebpackOptions.json‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,14 @@
492492
"properties": {
493493
"root": {
494494
"description": "Name of the property exposed globally by a UMD library",
495-
"type": "string"
495+
"anyOf": [
496+
{
497+
"type": "string"
498+
},
499+
{
500+
"$ref": "#/definitions/common.arrayOfStringValues"
501+
}
502+
]
496503
},
497504
"amd": {
498505
"description": "Name of the exposed AMD library in the UMD",

0 commit comments

Comments
 (0)