summaryrefslogtreecommitdiffstats
path: root/node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json')
-rw-r--r--node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json b/node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json
new file mode 100644
index 0000000..e05f443
--- /dev/null
+++ b/node_modules/webpack-cli/bin/config/webpackConfigurationSchema.json
@@ -0,0 +1,20 @@
+{
+ "anyOf": [
+ {
+ "type": "object",
+ "description": "A webpack configuration object."
+ },
+ {
+ "type": "array",
+ "description": "An array of webpack configuration objects.",
+ "items": {
+ "description": "A webpack configuration object.",
+ "type": "object"
+ }
+ },
+ {
+ "instanceof": "Promise",
+ "description": "A promise that resolves with a configuration object, or an array of configuration objects."
+ }
+ ]
+}