diff --git a/schemas/WebpackOptions.json b/schemas/WebpackOptions.json index fe07ceede6c..d8c47fdadd0 100644 --- a/schemas/WebpackOptions.json +++ b/schemas/WebpackOptions.json @@ -1460,7 +1460,8 @@ "description": "A part of the library name.", "type": "string", "minLength": 1 - } + }, + "minItems": 1 }, { "type": "string", diff --git a/schemas/plugins/container/ContainerPlugin.json b/schemas/plugins/container/ContainerPlugin.json index 6b9c6ec28d9..0d61f3646e2 100644 --- a/schemas/plugins/container/ContainerPlugin.json +++ b/schemas/plugins/container/ContainerPlugin.json @@ -170,7 +170,8 @@ "description": "A part of the library name.", "type": "string", "minLength": 1 - } + }, + "minItems": 1 }, { "type": "string", diff --git a/schemas/plugins/container/ModuleFederationPlugin.json b/schemas/plugins/container/ModuleFederationPlugin.json index 16aa02bafc7..98dd58f0213 100644 --- a/schemas/plugins/container/ModuleFederationPlugin.json +++ b/schemas/plugins/container/ModuleFederationPlugin.json @@ -194,7 +194,8 @@ "description": "A part of the library name.", "type": "string", "minLength": 1 - } + }, + "minItems": 1 }, { "type": "string",