summaryrefslogtreecommitdiffstats
path: root/node_modules/webpack/schemas/plugins/ProgressPlugin.json
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
commite06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch)
tree55713f725f77b44ebfec86e4eec3ce33e71458ca /node_modules/webpack/schemas/plugins/ProgressPlugin.json
downloadwebsite_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip
api, login, auth
Diffstat (limited to 'node_modules/webpack/schemas/plugins/ProgressPlugin.json')
-rw-r--r--node_modules/webpack/schemas/plugins/ProgressPlugin.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/node_modules/webpack/schemas/plugins/ProgressPlugin.json b/node_modules/webpack/schemas/plugins/ProgressPlugin.json
new file mode 100644
index 0000000..e3847c7
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/ProgressPlugin.json
@@ -0,0 +1,52 @@
+{
+ "definitions": {
+ "HandlerFunction": {
+ "description": "Function that executes for every progress step",
+ "instanceof": "Function",
+ "tsType": "((percentage: number, msg: string, ...args: string[]) => void)"
+ },
+ "ProgressPluginOptions": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "activeModules": {
+ "description": "Show active modules count and one active module in progress message",
+ "type": "boolean"
+ },
+ "entries": {
+ "description": "Show entries count in progress message",
+ "type": "boolean"
+ },
+ "handler": {
+ "description": "Function that executes for every progress step",
+ "anyOf": [
+ {
+ "$ref": "#/definitions/HandlerFunction"
+ }
+ ]
+ },
+ "modules": {
+ "description": "Show modules count in progress message",
+ "type": "boolean"
+ },
+ "modulesCount": {
+ "description": "Minimum modules count to start with. Only for mode=modules. Default: 500",
+ "type": "number"
+ },
+ "profile": {
+ "description": "Collect profile data for progress steps. Default: false",
+ "enum": [true, false, null]
+ }
+ }
+ }
+ },
+ "title": "ProgressPluginArgument",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProgressPluginOptions"
+ },
+ {
+ "$ref": "#/definitions/HandlerFunction"
+ }
+ ]
+}