WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/schemas/WebpackOptions.json
@@ -34,7 +34,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((name: string, asset: import('../lib/stats/DefaultStatsFactoryPlugin').StatsAsset) => boolean)"
          "tsType": "import('../lib/stats/DefaultStatsFactoryPlugin').AssetFilterItemFn"
        }
      ]
    },
@@ -77,7 +77,7 @@
    "AssetGeneratorDataUrlFunction": {
      "description": "Function that executes for module and should return an DataUrl string. It can have a string as 'ident' property which contributes to the module hash.",
      "instanceof": "Function",
      "tsType": "((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => string)"
      "tsType": "import('../lib/asset/AssetGenerator').DataUrlFunction"
    },
    "AssetGeneratorDataUrlOptions": {
      "description": "Options object for data url generation.",
@@ -148,7 +148,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
          "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
        }
      ]
    },
@@ -161,14 +161,14 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
          "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
        }
      ]
    },
    "AssetParserDataUrlFunction": {
      "description": "Function that executes for module and should return whenever asset should be inlined as DataUrl.",
      "instanceof": "Function",
      "tsType": "((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => boolean)"
      "tsType": "import(\"../lib/asset/AssetParser\").AssetParserDataUrlFunction"
    },
    "AssetParserDataUrlOptions": {
      "description": "Options object for DataUrl condition.",
@@ -352,7 +352,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import(\"../lib/CleanPlugin\").KeepFn)"
              "tsType": "import(\"../lib/CleanPlugin\").KeepFn"
            }
          ]
        }
@@ -370,44 +370,6 @@
    "CrossOriginLoading": {
      "description": "This option enables cross-origin loading of chunks.",
      "enum": [false, "anonymous", "use-credentials"]
    },
    "CssAutoGeneratorOptions": {
      "description": "Generator options for css/auto modules.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "esModule": {
          "$ref": "#/definitions/CssGeneratorEsModule"
        },
        "exportsConvention": {
          "$ref": "#/definitions/CssGeneratorExportsConvention"
        },
        "exportsOnly": {
          "$ref": "#/definitions/CssGeneratorExportsOnly"
        },
        "localIdentName": {
          "$ref": "#/definitions/CssGeneratorLocalIdentName"
        }
      }
    },
    "CssAutoParserOptions": {
      "description": "Parser options for css/auto modules.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "exportType": {
          "$ref": "#/definitions/CssParserExportType"
        },
        "import": {
          "$ref": "#/definitions/CssParserImport"
        },
        "namedExports": {
          "$ref": "#/definitions/CssParserNamedExports"
        },
        "url": {
          "$ref": "#/definitions/CssParserUrl"
        }
      }
    },
    "CssChunkFilename": {
      "description": "Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.",
@@ -443,7 +405,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((name: string) => string)"
          "tsType": "import('../lib/dependencies/CssIcssExportDependency').ExportsConventionFn"
        }
      ]
    },
@@ -453,7 +415,15 @@
    },
    "CssGeneratorLocalIdentName": {
      "description": "Configure the generated local ident name.",
      "type": "string"
      "anyOf": [
        {
          "type": "string"
        },
        {
          "instanceof": "Function",
          "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
        }
      ]
    },
    "CssGeneratorOptions": {
      "description": "Generator options for css modules.",
@@ -465,47 +435,6 @@
        },
        "exportsOnly": {
          "$ref": "#/definitions/CssGeneratorExportsOnly"
        }
      }
    },
    "CssGlobalGeneratorOptions": {
      "description": "Generator options for css/global modules.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "esModule": {
          "$ref": "#/definitions/CssGeneratorEsModule"
        },
        "exportType": {
          "$ref": "#/definitions/CssParserExportType"
        },
        "exportsConvention": {
          "$ref": "#/definitions/CssGeneratorExportsConvention"
        },
        "exportsOnly": {
          "$ref": "#/definitions/CssGeneratorExportsOnly"
        },
        "localIdentName": {
          "$ref": "#/definitions/CssGeneratorLocalIdentName"
        }
      }
    },
    "CssGlobalParserOptions": {
      "description": "Parser options for css/global modules.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "exportType": {
          "$ref": "#/definitions/CssParserExportType"
        },
        "import": {
          "$ref": "#/definitions/CssParserImport"
        },
        "namedExports": {
          "$ref": "#/definitions/CssParserNamedExports"
        },
        "url": {
          "$ref": "#/definitions/CssParserUrl"
        }
      }
    },
@@ -526,6 +455,18 @@
        "exportsOnly": {
          "$ref": "#/definitions/CssGeneratorExportsOnly"
        },
        "localIdentHashDigest": {
          "$ref": "#/definitions/HashDigest"
        },
        "localIdentHashDigestLength": {
          "$ref": "#/definitions/HashDigestLength"
        },
        "localIdentHashFunction": {
          "$ref": "#/definitions/HashFunction"
        },
        "localIdentHashSalt": {
          "$ref": "#/definitions/HashSalt"
        },
        "localIdentName": {
          "$ref": "#/definitions/CssGeneratorLocalIdentName"
        }
@@ -536,8 +477,26 @@
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "animation": {
          "$ref": "#/definitions/CssParserAnimation"
        },
        "container": {
          "$ref": "#/definitions/CssParserContainer"
        },
        "customIdents": {
          "$ref": "#/definitions/CssParserCustomIdents"
        },
        "dashedIdents": {
          "$ref": "#/definitions/CssParserDashedIdents"
        },
        "exportType": {
          "$ref": "#/definitions/CssParserExportType"
        },
        "function": {
          "$ref": "#/definitions/CssParserFunction"
        },
        "grid": {
          "$ref": "#/definitions/CssParserGrid"
        },
        "import": {
          "$ref": "#/definitions/CssParserImport"
@@ -550,9 +509,33 @@
        }
      }
    },
    "CssParserAnimation": {
      "description": "Enable/disable renaming of `@keyframes`.",
      "type": "boolean"
    },
    "CssParserContainer": {
      "description": "Enable/disable renaming of `@container` names.",
      "type": "boolean"
    },
    "CssParserCustomIdents": {
      "description": "Enable/disable renaming of custom identifiers.",
      "type": "boolean"
    },
    "CssParserDashedIdents": {
      "description": "Enable/disable renaming of dashed identifiers, e. g. custom properties.",
      "type": "boolean"
    },
    "CssParserExportType": {
      "description": "Configure how CSS content is exported as default.",
      "enum": ["link", "text", "css-style-sheet"]
      "enum": ["link", "text", "css-style-sheet", "style"]
    },
    "CssParserFunction": {
      "description": "Enable/disable renaming of `@function` names.",
      "type": "boolean"
    },
    "CssParserGrid": {
      "description": "Enable/disable renaming of grid identifiers.",
      "type": "boolean"
    },
    "CssParserImport": {
      "description": "Enable/disable `@import` at-rules handling.",
@@ -615,11 +598,25 @@
      "description": "A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).",
      "anyOf": [
        {
          "enum": [false, "eval"]
          "type": "array",
          "items": {
            "description": "Allow to assign devtool values per asset type (all, javascript, or css).",
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "type": {
                "description": "Which asset type should receive this devtool value.",
                "enum": ["all", "javascript", "css"]
              },
              "use": {
                "$ref": "#/definitions/RawDevTool"
              }
            },
            "required": ["type", "use"]
          }
        },
        {
          "type": "string",
          "pattern": "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map(-debugids)?$"
          "$ref": "#/definitions/RawDevTool"
        }
      ]
    },
@@ -872,12 +869,12 @@
    "EntryDynamic": {
      "description": "A Function returning an entry object, an entry string, an entry array or a promise to these things.",
      "instanceof": "Function",
      "tsType": "(() => EntryStatic | Promise<EntryStatic>)"
      "tsType": "import('../lib/DynamicEntryPlugin').RawEntryDynamic"
    },
    "EntryDynamicNormalized": {
      "description": "A Function returning a Promise resolving to a normalized entry.",
      "instanceof": "Function",
      "tsType": "(() => Promise<EntryStaticNormalized>)"
      "tsType": "import('../lib/DynamicEntryPlugin').EntryDynamic"
    },
    "EntryFilename": {
      "description": "Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.",
@@ -1026,6 +1023,10 @@
          "description": "The environment supports `import.meta.dirname` and `import.meta.filename`.",
          "type": "boolean"
        },
        "methodShorthand": {
          "description": "The environment supports object method shorthand ('{ module() {} }').",
          "type": "boolean"
        },
        "module": {
          "description": "The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').",
          "type": "boolean"
@@ -1047,16 +1048,17 @@
    "Experiments": {
      "description": "Enables/Disables experiments (experimental features with relax SemVer compatibility).",
      "type": "object",
      "implements": ["#/definitions/ExperimentsCommon"],
      "additionalProperties": true,
      "properties": {
        "asyncWebAssembly": {
          "description": "Support WebAssembly as asynchronous EcmaScript Module.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "backCompat": {
          "description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "buildHttp": {
          "description": "Build http(s): urls using a lockfile and resource content cache.",
@@ -1067,23 +1069,28 @@
            {
              "$ref": "#/definitions/HttpUriOptions"
            }
          ]
          ],
          "experimental": true
        },
        "cacheUnaffected": {
          "description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "css": {
          "description": "Enable css support.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "deferImport": {
          "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "futureDefaults": {
          "description": "Apply defaults of next major version.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "lazyCompilation": {
          "description": "Compile entrypoints and import()s only when they are accessed.",
@@ -1094,62 +1101,40 @@
            {
              "$ref": "#/definitions/LazyCompilationOptions"
            }
          ]
          ],
          "experimental": true
        },
        "outputModule": {
          "description": "Allow output javascript files as module source type.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "sourceImport": {
          "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-source-phase-imports. This allows importing modules at source phase.",
          "type": "boolean",
          "experimental": true
        },
        "syncWebAssembly": {
          "description": "Support WebAssembly as synchronous EcmaScript Module (outdated).",
          "type": "boolean"
        }
      }
    },
    "ExperimentsCommon": {
      "description": "Enables/Disables experiments (experimental features with relax SemVer compatibility).",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "asyncWebAssembly": {
          "description": "Support WebAssembly as asynchronous EcmaScript Module.",
          "type": "boolean"
        },
        "backCompat": {
          "description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
          "type": "boolean"
        },
        "cacheUnaffected": {
          "description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
          "type": "boolean"
        },
        "futureDefaults": {
          "description": "Apply defaults of next major version.",
          "type": "boolean"
        },
        "outputModule": {
          "description": "Allow output javascript files as module source type.",
          "type": "boolean"
        },
        "syncWebAssembly": {
          "description": "Support WebAssembly as synchronous EcmaScript Module (outdated).",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        }
      }
    },
    "ExperimentsNormalized": {
      "description": "Enables/Disables experiments (experimental features with relax SemVer compatibility).",
      "type": "object",
      "implements": ["#/definitions/ExperimentsCommon"],
      "additionalProperties": false,
      "properties": {
        "asyncWebAssembly": {
          "description": "Support WebAssembly as asynchronous EcmaScript Module.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "backCompat": {
          "description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "buildHttp": {
          "description": "Build http(s): urls using a lockfile and resource content cache.",
@@ -1157,23 +1142,28 @@
            {
              "$ref": "#/definitions/HttpUriOptions"
            }
          ]
          ],
          "experimental": true
        },
        "cacheUnaffected": {
          "description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "css": {
          "description": "Enable css support.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "deferImport": {
          "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "futureDefaults": {
          "description": "Apply defaults of next major version.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "lazyCompilation": {
          "description": "Compile entrypoints and import()s only when they are accessed.",
@@ -1184,15 +1174,23 @@
            {
              "$ref": "#/definitions/LazyCompilationOptions"
            }
          ]
          ],
          "experimental": true
        },
        "outputModule": {
          "description": "Allow output javascript files as module source type.",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        },
        "sourceImport": {
          "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-source-phase-imports. This allows importing modules at source phase.",
          "type": "boolean",
          "experimental": true
        },
        "syncWebAssembly": {
          "description": "Support WebAssembly as synchronous EcmaScript Module (outdated).",
          "type": "boolean"
          "type": "boolean",
          "experimental": true
        }
      }
    },
@@ -1244,7 +1242,7 @@
                },
                {
                  "instanceof": "Function",
                  "tsType": "((layer: string | null) => ExternalItem)"
                  "tsType": "import('../lib/ExternalModuleFactoryPlugin').ExternalItemByLayerFn"
                }
              ]
            }
@@ -1269,12 +1267,12 @@
    "ExternalItemFunctionCallback": {
      "description": "The function is called on each dependency (`function(context, request, callback(err, result))`).",
      "instanceof": "Function",
      "tsType": "(import(\"../lib/ExternalModuleFactoryPlugin\").ExternalItemFunctionCallback)"
      "tsType": "import(\"../lib/ExternalModuleFactoryPlugin\").ExternalItemFunctionCallback"
    },
    "ExternalItemFunctionPromise": {
      "description": "The function is called on each dependency (`function(context, request)`).",
      "instanceof": "Function",
      "tsType": "(import(\"../lib/ExternalModuleFactoryPlugin\").ExternalItemFunctionPromise)"
      "tsType": "import(\"../lib/ExternalModuleFactoryPlugin\").ExternalItemFunctionPromise"
    },
    "ExternalItemValue": {
      "description": "The dependency used for the external.",
@@ -1544,7 +1542,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
          "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
        }
      ]
    },
@@ -1564,7 +1562,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((value: string) => boolean)"
          "tsType": "import('../lib/stats/DefaultStatsFactoryPlugin').FilterItemTypeFn"
        }
      ]
    },
@@ -1621,10 +1619,10 @@
          "$ref": "#/definitions/CssGeneratorOptions"
        },
        "css/auto": {
          "$ref": "#/definitions/CssAutoGeneratorOptions"
          "$ref": "#/definitions/CssModuleGeneratorOptions"
        },
        "css/global": {
          "$ref": "#/definitions/CssGlobalGeneratorOptions"
          "$ref": "#/definitions/CssModuleGeneratorOptions"
        },
        "css/module": {
          "$ref": "#/definitions/CssModuleGeneratorOptions"
@@ -1762,7 +1760,7 @@
          {
            "description": "Allowed URI filter function.",
            "instanceof": "Function",
            "tsType": "((uri: string) => boolean)"
            "tsType": "import('../lib/schemes/HttpUriPlugin').AllowedUriFn"
          }
        ]
      }
@@ -1802,7 +1800,7 @@
          {
            "description": "A custom function to select warnings based on the raw warning instance.",
            "instanceof": "Function",
            "tsType": "((warning: Error, compilation: import('../lib/Compilation')) => boolean)"
            "tsType": "import(\"../lib/IgnoreWarningsPlugin\").IgnoreFn"
          }
        ]
      }
@@ -1813,7 +1811,7 @@
      "items": {
        "description": "A function to select warnings based on the raw warning instance.",
        "instanceof": "Function",
        "tsType": "((warning: Error, compilation: import('../lib/Compilation')) => boolean)"
        "tsType": "import(\"../lib/IgnoreWarningsPlugin\").IgnoreFn"
      }
    },
    "Iife": {
@@ -1977,8 +1975,16 @@
          "enum": ["error", "warn", "auto", false]
        },
        "importMeta": {
          "description": "Enable/disable evaluating import.meta.",
          "type": "boolean"
          "description": "Enable/disable evaluating import.meta. Set to 'preserve-unknown' to preserve unknown properties for runtime evaluation.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string",
              "enum": ["preserve-unknown"]
            }
          ]
        },
        "importMetaContext": {
          "description": "Enable/disable evaluating import.meta.webpackContext.",
@@ -1994,7 +2000,7 @@
        "parse": {
          "description": "Function to parser source code.",
          "instanceof": "Function",
          "tsType": "(import('../lib/javascript/JavascriptParser').ParseFunction)"
          "tsType": "import('../lib/javascript/JavascriptParser').ParseFunction"
        },
        "reexportExportsPresence": {
          "description": "Specifies the behavior of invalid export names in \"export ... from ...\". This might be useful to disable during the migration from \"export ... from ...\" to \"export type ... from ...\" when reexporting types in TypeScript.",
@@ -2016,9 +2022,14 @@
          "description": "Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.",
          "type": "boolean"
        },
        "sourceImport": {
          "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-source-phase-imports. This allows importing modules at source phase.",
          "type": "boolean"
        },
        "strictExportPresence": {
          "description": "Deprecated in favor of \"exportsPresence\". Emit errors instead of warnings when imported names don't exist in imported module.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "strictThisContextOnImports": {
          "description": "Handle the this context correctly according to the spec for namespace objects.",
@@ -2121,7 +2132,7 @@
        "parse": {
          "description": "Function to parser content and return JSON.",
          "instanceof": "Function",
          "tsType": "(import('../lib/json/JsonParser').ParseFn)"
          "tsType": "import('../lib/json/JsonParser').ParseFn"
        }
      }
    },
@@ -2188,12 +2199,12 @@
              "type": "object",
              "additionalProperties": true,
              "properties": {},
              "tsType": "(import(\"../lib/hmr/lazyCompilationBackend\").HttpsServerOptions | import(\"../lib/hmr/lazyCompilationBackend\").HttpServerOptions)"
              "tsType": "import(\"../lib/hmr/lazyCompilationBackend\").HttpsServerOptions | import(\"../lib/hmr/lazyCompilationBackend\").HttpServerOptions"
            },
            {
              "description": "A custom create server function.",
              "instanceof": "Function",
              "tsType": "(import(\"../lib/hmr/lazyCompilationBackend\").CreateServerFunction)"
              "tsType": "import(\"../lib/hmr/lazyCompilationBackend\").CreateServerFunction"
            }
          ]
        }
@@ -2210,7 +2221,7 @@
            {
              "description": "A custom backend.",
              "instanceof": "Function",
              "tsType": "(import(\"../lib/hmr/LazyCompilationPlugin\").BackEnd)"
              "tsType": "import(\"../lib/hmr/LazyCompilationPlugin\").BackEnd"
            },
            {
              "$ref": "#/definitions/LazyCompilationDefaultBackendOptions"
@@ -2237,7 +2248,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../lib/hmr/LazyCompilationPlugin').TestFn)"
              "tsType": "import('../lib/hmr/LazyCompilationPlugin').TestFn"
            }
          ]
        }
@@ -2450,7 +2461,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((name: string, module: import('../lib/stats/DefaultStatsFactoryPlugin').StatsModule, type: 'module' | 'chunk' | 'root-of-chunk' | 'nested') => boolean)"
          "tsType": "import('../lib/stats/DefaultStatsFactoryPlugin').ModuleFilterItemTypeFn"
        }
      ]
    },
@@ -2497,11 +2508,13 @@
        },
        "exprContextCritical": {
          "description": "Enable warnings for full dynamic dependencies.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "exprContextRecursive": {
          "description": "Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "exprContextRegExp": {
          "description": "Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.",
@@ -2513,11 +2526,13 @@
            {
              "type": "boolean"
            }
          ]
          ],
          "deprecated": true
        },
        "exprContextRequest": {
          "description": "Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.",
          "type": "string"
          "type": "string",
          "deprecated": true
        },
        "generator": {
          "$ref": "#/definitions/GeneratorOptionsByModuleType"
@@ -2538,19 +2553,23 @@
        },
        "strictExportPresence": {
          "description": "Emit errors instead of warnings when imported names don't exist in imported module. Deprecated: This option has moved to 'module.parser.javascript.strictExportPresence'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "strictThisContextOnImports": {
          "description": "Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "unknownContextCritical": {
          "description": "Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextCritical'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "unknownContextRecursive": {
          "description": "Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRecursive'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "unknownContextRegExp": {
          "description": "Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRegExp'.",
@@ -2562,11 +2581,13 @@
            {
              "type": "boolean"
            }
          ]
          ],
          "deprecated": true
        },
        "unknownContextRequest": {
          "description": "Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRequest'.",
          "type": "string"
          "type": "string",
          "deprecated": true
        },
        "unsafeCache": {
          "description": "Cache the resolving of module requests.",
@@ -2576,22 +2597,25 @@
            },
            {
              "instanceof": "Function",
              "tsType": "((module: import('../lib/Module')) => boolean)"
              "tsType": "import(\"../lib/Compilation\").UnsafeCachePredicate"
            }
          ]
        },
        "wrappedContextCritical": {
          "description": "Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "wrappedContextRecursive": {
          "description": "Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "wrappedContextRegExp": {
          "description": "Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.",
          "instanceof": "RegExp",
          "tsType": "RegExp"
          "tsType": "RegExp",
          "deprecated": true
        }
      }
    },
@@ -2636,7 +2660,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "((module: import('../lib/Module')) => boolean)"
              "tsType": "import('../lib/Compilation').UnsafeCachePredicate"
            }
          ]
        }
@@ -2667,7 +2691,7 @@
              },
              {
                "instanceof": "Function",
                "tsType": "((content: string) => boolean)"
                "tsType": "import(\"../lib/NormalModule\").NoParseFn"
              }
            ]
          },
@@ -2685,7 +2709,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((content: string) => boolean)"
          "tsType": "import(\"../lib/NormalModule\").NoParseFn"
        }
      ]
    },
@@ -2815,7 +2839,8 @@
          "type": "boolean",
          "cli": {
            "exclude": true
          }
          },
          "deprecated": true
        },
        "nodeEnv": {
          "description": "Set process.env.NODE_ENV to a specific value.",
@@ -2979,7 +3004,8 @@
          "type": "boolean",
          "cli": {
            "exclude": true
          }
          },
          "deprecated": true
        },
        "nodeEnv": {
          "description": "Set process.env.NODE_ENV to a specific value.",
@@ -3120,7 +3146,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn"
            }
          ]
        },
@@ -3146,7 +3172,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
              "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
            }
          ]
        },
@@ -3166,7 +3192,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "((layer: string | null) => boolean)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').CheckModuleLayerFn"
            }
          ]
        },
@@ -3244,7 +3270,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../lib/optimize/SplitChunksPlugin').GetNameFn)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').GetNameFn"
            }
          ]
        },
@@ -3268,7 +3294,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "((module: import('../lib/Module'), context: import('../lib/optimize/SplitChunksPlugin').CacheGroupsContext) => boolean)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').CheckTestFn"
            }
          ]
        },
@@ -3284,7 +3310,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "((type: string) => boolean)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').CheckModuleTypeFn"
            }
          ]
        },
@@ -3297,7 +3323,7 @@
    "OptimizationSplitChunksGetCacheGroups": {
      "description": "A function returning cache groups.",
      "instanceof": "Function",
      "tsType": "((module: import('../lib/Module')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"
      "tsType": "import('../lib/optimize/SplitChunksPlugin').RawGetCacheGroups"
    },
    "OptimizationSplitChunksOptions": {
      "description": "Options object for splitting chunks into smaller chunks.",
@@ -3369,7 +3395,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn"
            }
          ]
        },
@@ -3378,7 +3404,8 @@
          "type": "array",
          "items": {
            "description": "Size type, like 'javascript', 'webassembly'.",
            "type": "string"
            "type": "string",
            "tsType": "import(\"../lib/Module\").SourceType"
          },
          "minItems": 1
        },
@@ -3412,7 +3439,7 @@
                },
                {
                  "instanceof": "Function",
                  "tsType": "(import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn)"
                  "tsType": "import('../lib/optimize/SplitChunksPlugin').ChunkFilterFn"
                }
              ]
            },
@@ -3468,7 +3495,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
              "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
            }
          ]
        },
@@ -3550,7 +3577,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../lib/optimize/SplitChunksPlugin').GetNameFn)"
              "tsType": "import('../lib/optimize/SplitChunksPlugin').GetNameFn"
            }
          ]
        },
@@ -4002,10 +4029,10 @@
          "$ref": "#/definitions/CssParserOptions"
        },
        "css/auto": {
          "$ref": "#/definitions/CssAutoParserOptions"
          "$ref": "#/definitions/CssModuleParserOptions"
        },
        "css/global": {
          "$ref": "#/definitions/CssGlobalParserOptions"
          "$ref": "#/definitions/CssModuleParserOptions"
        },
        "css/module": {
          "$ref": "#/definitions/CssModuleParserOptions"
@@ -4062,7 +4089,7 @@
        "assetFilter": {
          "description": "Filter function to select assets that are checked.",
          "instanceof": "Function",
          "tsType": "((name: import('../lib/Compilation').Asset['name'], source: import('../lib/Compilation').Asset['source'], assetInfo: import('../lib/Compilation').Asset['info'])  => boolean)"
          "tsType": "import('../lib/performance/SizeLimitsPlugin').AssetFilter"
        },
        "hints": {
          "description": "Sets the format of the hints: warnings, errors or nothing at all.",
@@ -4126,6 +4153,18 @@
        }
      ]
    },
    "RawDevTool": {
      "description": "A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).",
      "anyOf": [
        {
          "enum": [false, "eval"]
        },
        {
          "type": "string",
          "pattern": "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map(-debugids)?$"
        }
      ]
    },
    "RawPublicPath": {
      "description": "The 'publicPath' specifies the public URL address of the output files when referenced in a browser.",
      "anyOf": [
@@ -4134,7 +4173,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import(\"../lib/TemplatedPathPlugin\").TemplatePathFn)"
          "tsType": "import(\"../lib/TemplatedPathPlugin\").TemplatePathFn"
        }
      ]
    },
@@ -4387,7 +4426,7 @@
        },
        "fileSystem": {
          "description": "Filesystem for the resolver.",
          "tsType": "(import('../lib/util/fs').InputFileSystem)"
          "tsType": "import('../lib/util/fs').InputFileSystem"
        },
        "fullySpecified": {
          "description": "Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn't affect requests from mainFields, aliasFields or aliases).",
@@ -4471,7 +4510,7 @@
        },
        "resolver": {
          "description": "Custom resolver.",
          "tsType": "(import('enhanced-resolve').Resolver)"
          "tsType": "import('enhanced-resolve').Resolver"
        },
        "restrictions": {
          "description": "A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.",
@@ -4501,6 +4540,38 @@
        "symlinks": {
          "description": "Enable resolving symlinks to the original location.",
          "type": "boolean"
        },
        "tsconfig": {
          "description": "TypeScript config for paths mapping. Can be `false` (disabled), `true` (use default `tsconfig.json`), a string path to `tsconfig.json`, or an object with `configFile` and `references` options.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "configFile": {
                  "description": "A path to the tsconfig file.",
                  "type": "string"
                },
                "references": {
                  "description": "References to other tsconfig files. 'auto' inherits from TypeScript config, or an array of relative/absolute paths.",
                  "anyOf": [
                    {
                      "enum": ["auto"]
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              }
            }
          ]
        },
        "unsafeCache": {
          "description": "Enable caching of successfully resolved requests (cache entries are not revalidated).",
@@ -4556,7 +4627,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((value: string) => boolean)"
          "tsType": "import('../lib/rules/RuleSetCompiler').RuleSetConditionFn"
        },
        {
          "$ref": "#/definitions/RuleSetLogicalConditions"
@@ -4582,7 +4653,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "((value: string) => boolean)"
          "tsType": "import('../lib/rules/RuleSetCompiler').RuleSetConditionFn"
        },
        {
          "$ref": "#/definitions/RuleSetLogicalConditionsAbsolute"
@@ -4852,6 +4923,14 @@
          "type": "object",
          "additionalProperties": true
        },
        "phase": {
          "description": "Match the import phase of the dependency.",
          "oneOf": [
            {
              "$ref": "#/definitions/RuleSetConditionOrConditions"
            }
          ]
        },
        "realResource": {
          "description": "Match the real resource path of the module.",
          "oneOf": [
@@ -4998,7 +5077,7 @@
    "RuleSetUseFunction": {
      "description": "The function is called on each data and return rule set item.",
      "instanceof": "Function",
      "tsType": "((data: import('../lib/rules/RuleSetCompiler').EffectData) => (RuleSetUseItem | (Falsy | RuleSetUseItem)[]))"
      "tsType": "import('../lib/rules/RuleSetCompiler').RuleSetUseFn"
    },
    "RuleSetUseItem": {
      "description": "A description of an applied loader.",
@@ -5223,7 +5302,8 @@
        },
        "cached": {
          "description": "Add information about cached (not built) modules (deprecated: use 'cachedModules' instead).",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "cachedAssets": {
          "description": "Show cached assets (setting this to `false` only shows emitted files).",
@@ -5612,7 +5692,8 @@
        },
        "runtime": {
          "description": "Add information about runtime modules (deprecated: use 'runtimeModules' instead).",
          "type": "boolean"
          "type": "boolean",
          "deprecated": true
        },
        "runtimeModules": {
          "description": "Add information about runtime modules.",
@@ -5685,7 +5766,8 @@
    },
    "StrictModuleExceptionHandling": {
      "description": "Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.",
      "type": "boolean"
      "type": "boolean",
      "deprecated": true
    },
    "Target": {
      "description": "Environment to build for. An array of environments to build for all of them when possible.",
@@ -5693,7 +5775,7 @@
        {
          "type": "array",
          "items": {
            "description": "Environment to build for.",
            "description": "Specific environment, runtime, or syntax.",
            "type": "string",
            "minLength": 1
          },
@@ -5733,6 +5815,10 @@
      "type": "string",
      "minLength": 1
    },
    "Validate": {
      "description": "Enable validation of webpack configuration. Defaults to true in development mode. In production mode, defaults to true unless futureDefaults is enabled, then defaults to false.",
      "type": "boolean"
    },
    "WarningFilterItemTypes": {
      "description": "Filtering value, regexp or function.",
      "cli": {
@@ -5749,7 +5835,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import(\"../lib/stats/DefaultStatsPresetPlugin\").WarningFilterFn)"
          "tsType": "import(\"../lib/stats/DefaultStatsPresetPlugin\").WarningFilterFn"
        }
      ]
    },
@@ -5967,6 +6053,9 @@
        "target": {
          "$ref": "#/definitions/Target"
        },
        "validate": {
          "$ref": "#/definitions/Validate"
        },
        "watch": {
          "$ref": "#/definitions/Watch"
        },
@@ -5996,7 +6085,7 @@
    "WebpackPluginFunction": {
      "description": "Function acting as plugin.",
      "instanceof": "Function",
      "tsType": "(this: import('../lib/Compiler'), compiler: import('../lib/Compiler')) => void"
      "tsType": "import('../lib/webpack').WebpackPluginFunction"
    },
    "WebpackPluginInstance": {
      "description": "Plugin instance.",
@@ -6006,7 +6095,7 @@
        "apply": {
          "description": "The run point of the plugin, required method.",
          "instanceof": "Function",
          "tsType": "(compiler: import('../lib/Compiler')) => void"
          "tsType": "import('../lib/webpack').WebpackPluginInstanceApplyFunction"
        }
      },
      "required": ["apply"]
@@ -6126,6 +6215,9 @@
    "target": {
      "$ref": "#/definitions/Target"
    },
    "validate": {
      "$ref": "#/definitions/Validate"
    },
    "watch": {
      "$ref": "#/definitions/Watch"
    },