From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- .../webpack/schemas/webpackOptionsSchema.json | 183 ++++++++++++++------- 1 file changed, 126 insertions(+), 57 deletions(-) (limited to 'node_modules/webpack/schemas') diff --git a/node_modules/webpack/schemas/webpackOptionsSchema.json b/node_modules/webpack/schemas/webpackOptionsSchema.json index 19ace1f99..1e5941d74 100644 --- a/node_modules/webpack/schemas/webpackOptionsSchema.json +++ b/node_modules/webpack/schemas/webpackOptionsSchema.json @@ -159,6 +159,9 @@ { "instanceof": "RegExp" }, + { + "instanceof": "Function" + }, { "items": { "type": "string", @@ -221,6 +224,9 @@ }, "strictExportPresence": { "type": "boolean" + }, + "strictThisContextOnImports": { + "type": "boolean" } }, "type": "object" @@ -369,6 +375,14 @@ "type": "string" }, "type": "array" + }, + { + "type": "object", + "properties": { + "root": { "type": "string" }, + "amd": { "type": "string" }, + "commonjs": { "type": "string" } + } } ], "description": "If set, export the bundle as library. `output.library` is the name." @@ -389,6 +403,16 @@ "jsonp" ] }, + "libraryExport": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/common.arrayOfStringValues" + } + ] + }, "path": { "description": "The output directory as **absolute path** (required).", "type": "string", @@ -459,6 +483,9 @@ "cachePredicate": { "instanceof": "Function" }, + "cacheWithContext": { + "type": "boolean" + }, "descriptionFiles": { "$ref": "#/definitions/common.arrayOfStringValues" }, @@ -716,7 +743,7 @@ } ] }, - "warning-filters-types": { + "filter-item-types": { "anyOf": [ { "instanceof": "RegExp" @@ -728,6 +755,19 @@ "instanceof": "Function" } ] + }, + "filter-types": { + "anyOf": [ + { + "$ref": "#/definitions/filter-item-types" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/filter-item-types" + } + } + ] } }, "properties": { @@ -798,59 +838,73 @@ }, "node": { "description": "Include polyfills or mocks for various node stuff.", - "additionalProperties": { - "enum": [ - false, - true, - "mock", - "empty" - ] - }, - "properties": { - "Buffer": { - "enum": [ - false, - true, - "mock" - ] - }, - "__dirname": { - "enum": [ - false, - true, - "mock" - ] - }, - "__filename": { - "enum": [ - false, - true, - "mock" - ] - }, - "console": { + "anyOf": [ + { "enum": [ - false, - true, - "mock" + false ] }, - "global": { - "type": "boolean" - }, - "process": { - "enum": [ - false, - true, - "mock" - ] + { + "additionalProperties": { + "enum": [ + false, + true, + "mock", + "empty" + ] + }, + "properties": { + "Buffer": { + "enum": [ + false, + true, + "mock" + ] + }, + "__dirname": { + "enum": [ + false, + true, + "mock" + ] + }, + "__filename": { + "enum": [ + false, + true, + "mock" + ] + }, + "console": { + "enum": [ + false, + true, + "mock" + ] + }, + "global": { + "type": "boolean" + }, + "process": { + "enum": [ + false, + true, + "mock" + ] + } + }, + "type": "object" } - }, - "type": "object" + ] }, "output": { "$ref": "#/definitions/output" }, + "parallelism": { + "description": "The number of parallel processed modules in the compilation.", + "minimum": 1, + "type": "number" + }, "performance": { "description": "Configuration for web performance recommendations.", "anyOf": [ @@ -973,17 +1027,19 @@ }, "warningsFilter": { "description": "Suppress warnings that match the specified filters. Filters can be Strings, RegExps or Functions", - "anyOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/warning-filters-types" - } - }, - { - "$ref": "#/definitions/warning-filters-types" - } - ] + "$ref": "#/definitions/filter-types" + }, + "excludeAssets": { + "description": "Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions", + "$ref": "#/definitions/filter-types" + }, + "excludeModules": { + "description": "Suppress modules that match the specified filters. Filters can be Strings, RegExps or Functions", + "$ref": "#/definitions/filter-types" + }, + "exclude": { + "description": "Please use excludeModules instead.", + "$ref": "#/definitions/filter-types" }, "errorDetails": { "type": "boolean", @@ -1008,6 +1064,18 @@ "assetsSort": { "type": "string", "description": "sort the assets by that field" + }, + "providedExports": { + "type": "boolean", + "description": "show exports provided by modules" + }, + "usedExports": { + "type": "boolean", + "description": "show exports used by modules" + }, + "optimizationBailout": { + "type": "boolean", + "description": "show reasons why optimization bailed out for modules" } } }, @@ -1020,6 +1088,7 @@ "errors-only", "minimal", "normal", + "detailed", "verbose" ] } -- cgit v1.2.3