Facebook
From Violet Elephant, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 85
  1. Last login: Tue Nov 29 13:05:45 2022 from 86.31.129.111
  2. arma3server@ns31490503:~$ npm start
  3.  
  4. > arma-server-web-admin@0.0.1 start
  5. > node app.js
  6.  
  7. /home/arma3server/node_modules/schema-utils/dist/validate.js:105
  8.     throw new _ValidationError.default(errors, schema, configuration);
  9.     ^
  10.  
  11. ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
  12.  - configuration.devtool should match pattern "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$".
  13.    BREAKING CHANGE since webpack 5: The devtool option is more strict.
  14.    Please strictly follow the order of the keywords in the pattern.
  15.  - configuration.module has an unknown property 'loaders'. These properties are valid:
  16.    object { defaultRules?, exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, generator?, noParse?, parser?, rules?, strictExportPresence?, strictThisContextOnImports?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp? }
  17.    -> Options affecting the normal modules (`NormalModuleFactory`).
  18.    Did you mean module.rules or module.rules.*.use?
  19.     at validate (/home/arma3server/node_modules/schema-utils/dist/validate.js:105:11)
  20.     at validateSchema (/home/arma3server/node_modules/webpack/lib/validateSchema.js:78:2)
  21.     at create (/home/arma3server/node_modules/webpack/lib/webpack.js:111:24)
  22.     at webpack (/home/arma3server/node_modules/webpack/lib/webpack.js:158:32)
  23.     at f (/home/arma3server/node_modules/webpack/lib/index.js:64:16)
  24.     at Object.<anonymous> (/home/arma3server/app.js:69:25)
  25.     at Module._compile (internal/modules/cjs/loader.js:999:30)
  26.     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
  27.     at Module.load (internal/modules/cjs/loader.js:863:32)
  28.     at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
  29.   errors: [
  30.     {
  31.       keyword: 'anyOf',
  32.       dataPath: '.devtool',
  33.       schemaPath: '#/definitions/DevTool/anyOf',
  34.       params: {},
  35.       message: 'should match some schema in anyOf',
  36.       schema: [
  37.         { enum: [ false, 'eval' ] },
  38.         {
  39.           type: 'string',
  40.           pattern: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$'
  41.         }
  42.       ],
  43.       parentSchema: {
  44.         description: 'A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).',
  45.         anyOf: [
  46.           { enum: [Array] },
  47.           {
  48.             type: 'string',
  49.             pattern: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$'
  50.           }
  51.         ]
  52.       },
  53.       data: '#inline-source-map',
  54.       children: [
  55.         {
  56.           keyword: 'enum',
  57.           dataPath: '.devtool',
  58.           schemaPath: '#/definitions/DevTool/anyOf/0/enum',
  59.           params: { allowedValues: [Array] },
  60.           message: 'should be equal to one of the allowed values',
  61.           schema: [ false, 'eval' ],
  62.           parentSchema: { enum: [Array] },
  63.           data: '#inline-source-map',
  64.           children: undefined
  65.         },
  66.         {
  67.           keyword: 'pattern',
  68.           dataPath: '.devtool',
  69.           schemaPath: '#/definitions/DevTool/anyOf/1/pattern',
  70.           params: {
  71.             pattern: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$'
  72.           },
  73.           message: 'should match pattern "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"',
  74.           schema: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$',
  75.           parentSchema: {
  76.             type: 'string',
  77.             pattern: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$'
  78.           },
  79.           data: '#inline-source-map',
  80.           children: undefined
  81.         }
  82.       ]
  83.     },
  84.     {
  85.       keyword: 'additionalProperties',
  86.       dataPath: '.module',
  87.       schemaPath: '#/additionalProperties',
  88.       params: { additionalProperty: 'loaders' },
  89.       message: 'should NOT have additional properties',
  90.       schema: false,
  91.       parentSchema: {
  92.         description: 'Options affecting the normal modules (`NormalModuleFactory`).',
  93.         type: 'object',
  94.         additionalProperties: false,
  95.         properties: {
  96.           defaultRules: {
  97.             description: 'An array of rules applied by default for modules.',
  98.             cli: [Object],
  99.             oneOf: [Array]
  100.           },
  101.           exprContextCritical: {
  102.             description: 'Enable warnings for full dynamic dependencies.',
  103.             type: 'boolean'
  104.           },
  105.           exprContextRecursive: {
  106.             description: "Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.",
  107.             type: 'boolean'
  108.           },
  109.           exprContextRegExp: {
  110.             description: "Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.",
  111.             anyOf: [Array]
  112.           },
  113.           exprContextRequest: {
  114.             description: "Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.",
  115.             type: 'string'
  116.           },
  117.           generator: { '$ref': '#/definitions/GeneratorOptionsByModuleType' },
  118.           noParse: { '$ref': '#/definitions/NoParse' },
  119.           parser: { '$ref': '#/definitions/ParserOptionsByModuleType' },
  120.           rules: {
  121.             description: 'An array of rules applied for modules.',
  122.             oneOf: [Array]
  123.           },
  124.           strictExportPresence: {
  125.             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'.",
  126.             type: 'boolean'
  127.           },
  128.           strictThisContextOnImports: {
  129.             description: "Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.",
  130.             type: 'boolean'
  131.           },
  132.           unknownContextCritical: {
  133.             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'.",
  134.             type: 'boolean'
  135.           },
  136.           unknownContextRecursive: {
  137.             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'.",
  138.             type: 'boolean'
  139.           },
  140.           unknownContextRegExp: {
  141.             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'.",
  142.             anyOf: [Array]
  143.           },
  144.           unknownContextRequest: {
  145.             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'.",
  146.             type: 'string'
  147.           },
  148.           unsafeCache: {
  149.             description: 'Cache the resolving of module requests.',
  150.             anyOf: [Array]
  151.           },
  152.           wrappedContextCritical: {
  153.             description: "Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.",
  154.             type: 'boolean'
  155.           },
  156.           wrappedContextRecursive: {
  157.             description: "Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.",
  158.             type: 'boolean'
  159.           },
  160.           wrappedContextRegExp: {
  161.             description: "Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.",
  162.             instanceof: 'RegExp',
  163.             tsType: 'RegExp'
  164.           }
  165.         }
  166.       },
  167.       data: {
  168.         loaders: [
  169.           { test: /\.css$/, loaders: [Array] },
  170.           { test: /\.html$/, loaders: [Array] },
  171.           { test: /\.json$/, loaders: [Array] },
  172.           {
  173.             test: /\.png$/,
  174.             loader: 'url-loader?limit=8192&mimetype=image/png'
  175.           },
  176.           {
  177.             test: /\.jpe?g$/,
  178.             loader: 'url-loader?limit=8192&mimetype=image/jpg'
  179.           },
  180.           {
  181.             test: /\.gif$/,
  182.             loader: 'url-loader?limit=8192&mimetype=image/gif'
  183.           },
  184.           {
  185.             test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
  186.             loader: 'url-loader?limit=8192&mimetype=image/svg+xml'
  187.           },
  188.           {
  189.             test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
  190.             loader: 'url-loader?limit=8192&mimetype=application/font-woff2'
  191.           },
  192.           {
  193.             test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
  194.             loader: 'url-loader?limit=8192&mimetype=application/font-woff'
  195.           },
  196.           {
  197.             test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
  198.             loader: 'url-loader?limit=8192&mimetype=application/octet-stream'
  199.           },
  200.           { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file-loader' }
  201.         ]
  202.       }
  203.     }
  204.   ],
  205.   schema: {
  206.     definitions: {
  207.       Amd: {
  208.         description: 'Set the value of `require.amd` and `define.amd`. Or disable AMD support.',
  209.         anyOf: [
  210.           {
  211.             description: 'You can pass `false` to disable AMD support.',
  212.             enum: [Array]
  213.           },
  214.           {
  215.             description: 'You can pass an object to set the value of `require.amd` and `define.amd`.',
  216.             type: 'object'
  217.           }
  218.         ]
  219.       },
  220.       AssetFilterItemTypes: {
  221.         description: 'Filtering value, regexp or function.',
  222.         cli: { helper: true },
  223.         anyOf: [
  224.           { instanceof: 'RegExp', tsType: 'RegExp' },
  225.           { type: 'string', absolutePath: false },
  226.           {
  227.             instanceof: 'Function',
  228.             tsType: "((name: string, asset: import('../lib/stats/DefaultStatsFactoryPlugin').StatsAsset) => boolean)"
  229.           }
  230.         ]
  231.       },
  232.       AssetFilterTypes: {
  233.         description: 'Filtering modules.',
  234.         cli: { helper: true },
  235.         anyOf: [
  236.           { type: 'array', items: [Object] },
  237.           { '$ref': '#/definitions/AssetFilterItemTypes' }
  238.         ]
  239.       },
  240.       AssetGeneratorDataUrl: {
  241.         description: 'The options for data url generator.',
  242.         anyOf: [
  243.           { '$ref': '#/definitions/AssetGeneratorDataUrlOptions' },
  244.           { '$ref': '#/definitions/AssetGeneratorDataUrlFunction' }
  245.         ]
  246.       },
  247.       AssetGeneratorDataUrlFunction: {
  248.         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.",
  249.         instanceof: 'Function',
  250.         tsType: "((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => string)"
  251.       },
  252.       AssetGeneratorDataUrlOptions: {
  253.         description: 'Options object for data url generation.',
  254.         type: 'object',
  255.         additionalProperties: false,
  256.         properties: {
  257.           encoding: {
  258.             description: 'Asset encoding (defaults to base64).',
  259.             enum: [Array]
  260.           },
  261.           mimetype: {
  262.             description: 'Asset mimetype (getting from file extension by default).',
  263.             type: 'string'
  264.           }
  265.         }
  266.       },
  267.       AssetGeneratorOptions: {
  268.         description: 'Generator options for asset modules.',
  269.         type: 'object',
  270.         implements: [
  271.           '#/definitions/AssetInlineGeneratorOptions',
  272.           '#/definitions/AssetResourceGeneratorOptions'
  273.         ],
  274.         additionalProperties: false,
  275.         properties: {
  276.           dataUrl: { '$ref': '#/definitions/AssetGeneratorDataUrl' },
  277.           emit: {
  278.             description: "Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.",
  279.             type: 'boolean'
  280.           },
  281.           filename: { '$ref': '#/definitions/FilenameTemplate' },
  282.           outputPath: { '$ref': '#/definitions/AssetModuleOutputPath' },
  283.           publicPath: { '$ref': '#/definitions/RawPublicPath' }
  284.         }
  285.       },
  286.       AssetInlineGeneratorOptions: {
  287.         description: 'Generator options for asset/inline modules.',
  288.         type: 'object',
  289.         additionalProperties: false,
  290.         properties: { dataUrl: { '$ref': '#/definitions/AssetGeneratorDataUrl' } }
  291.       },
  292.       AssetModuleFilename: {
  293.         description: "The filename of asset modules as relative path inside the 'output.path' directory.",
  294.         anyOf: [
  295.           { type: 'string', absolutePath: false },
  296.           {
  297.             instanceof: 'Function',
  298.             tsType: '((pathData: import("../lib/Compilation").PathData, assetInfo?: import("../lib/Compilation").AssetInfo) => string)'
  299.           }
  300.         ]
  301.       },
  302.       AssetModuleOutputPath: {
  303.         description: "Emit the asset in the specified folder relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
  304.         anyOf: [
  305.           { type: 'string', absolutePath: false },
  306.           {
  307.             instanceof: 'Function',
  308.             tsType: '((pathData: import("../lib/Compilation").PathData, assetInfo?: import("../lib/Compilation").AssetInfo) => string)'
  309.           }
  310.         ]
  311.       },
  312.       AssetParserDataUrlFunction: {
  313.         description: 'Function that executes for module and should return whenever asset should be inlined as DataUrl.',
  314.         instanceof: 'Function',
  315.         tsType: "((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => boolean)"
  316.       },
  317.       AssetParserDataUrlOptions: {
  318.         description: 'Options object for DataUrl condition.',
  319.         type: 'object',
  320.         additionalProperties: false,
  321.         properties: {
  322.           maxSize: {
  323.             description: 'Maximum size of asset that should be inline as modules. Default: 8kb.',
  324.             type: 'number'
  325.           }
  326.         }
  327.       },
  328.       AssetParserOptions: {
  329.         description: 'Parser options for asset modules.',
  330.         type: 'object',
  331.         additionalProperties: false,
  332.         properties: {
  333.           dataUrlCondition: {
  334.             description: 'The condition for inlining the asset as DataUrl.',
  335.             anyOf: [Array]
  336.           }
  337.         }
  338.       },
  339.       AssetResourceGeneratorOptions: {
  340.         description: 'Generator options for asset/resource modules.',
  341.         type: 'object',
  342.         additionalProperties: false,
  343.         properties: {
  344.           emit: {
  345.             description: "Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.",
  346.             type: 'boolean'
  347.           },
  348.           filename: { '$ref': '#/definitions/FilenameTemplate' },
  349.           outputPath: { '$ref': '#/definitions/AssetModuleOutputPath' },
  350.           publicPath: { '$ref': '#/definitions/RawPublicPath' }
  351.         }
  352.       },
  353.       AuxiliaryComment: {
  354.         description: 'Add a comment in the UMD wrapper.',
  355.         anyOf: [
  356.           {
  357.             description: 'Append the same comment above each import style.',
  358.             type: 'string'
  359.           },
  360.           { '$ref': '#/definitions/LibraryCustomUmdCommentObject' }
  361.         ]
  362.       },
  363.       Bail: {
  364.         description: 'Report the first error as a hard error instead of tolerating it.',
  365.         type: 'boolean'
  366.       },
  367.       CacheOptions: {
  368.         description: 'Cache generated modules and chunks to improve performance for multiple incremental builds.',
  369.         anyOf: [
  370.           { description: 'Enable in memory caching.', enum: [Array] },
  371.           { '$ref': '#/definitions/CacheOptionsNormalized' }
  372.         ]
  373.       },
  374.       CacheOptionsNormalized: {
  375.         description: 'Cache generated modules and chunks to improve performance for multiple incremental builds.',
  376.         anyOf: [
  377.           { description: 'Disable caching.', enum: [Array] },
  378.           { '$ref': '#/definitions/MemoryCacheOptions' },
  379.           { '$ref': '#/definitions/FileCacheOptions' }
  380.         ]
  381.       },
  382.       Charset: {
  383.         description: 'Add charset attribute for script tag.',
  384.         type: 'boolean'
  385.       },
  386.       ChunkFilename: {
  387.         description: "Specifies the filename template of output files of non-initial chunks 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.",
  388.         oneOf: [ { '$ref': '#/definitions/FilenameTemplate' } ]
  389.       },
  390.       ChunkFormat: {
  391.         description: "The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).",
  392.         anyOf: [ { enum: [Array] }, { type: 'string' } ]
  393.       },
  394.       ChunkLoadTimeout: {
  395.         description: 'Number of milliseconds before chunk request expires.',
  396.         type: 'number'
  397.       },
  398.       ChunkLoading: {
  399.         description: "The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
  400.         anyOf: [
  401.           { enum: [Array] },
  402.           { '$ref': '#/definitions/ChunkLoadingType' }
  403.         ]
  404.       },
  405.       ChunkLoadingGlobal: {
  406.         description: 'The global variable used by webpack for loading of chunks.',
  407.         type: 'string'
  408.       },
  409.       ChunkLoadingType: {
  410.         description: "The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
  411.         anyOf: [ { enum: [Array] }, { type: 'string' } ]
  412.       },
  413.       Clean: {
  414.         description: 'Clean the output directory before emit.',
  415.         anyOf: [
  416.           { type: 'boolean' },
  417.           { '$ref': '#/definitions/CleanOptions' }
  418.         ]
  419.       },
  420.       CleanOptions: {
  421.         description: 'Advanced options for cleaning assets.',
  422.         type: 'object',
  423.         additionalProperties: false,
  424.         properties: {
  425.           dry: {
  426.             description: 'Log the assets that should be removed instead of deleting them.',
  427.             type: 'boolean'
  428.           },
  429.           keep: { description: 'Keep these assets.', anyOf: [Array] }
  430.         }
  431.       },
  432.       CompareBeforeEmit: {
  433.         description: 'Check if to be emitted file already exists and have the same content before writing to output filesystem.',
  434.         type: 'boolean'
  435.       },
  436.       Context: {
  437.         description: 'The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.',
  438.         type: 'string',
  439.         absolutePath: true
  440.       },
  441.       CrossOriginLoading: {
  442.         description: 'This option enables cross-origin loading of chunks.',
  443.         enum: [ false, 'anonymous', 'use-credentials' ]
  444.       },
  445.       CssChunkFilename: {
  446.         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.",
  447.         oneOf: [ { '$ref': '#/definitions/FilenameTemplate' } ]
  448.       },
  449.       CssExperimentOptions: {
  450.         description: 'Options for css handling.',
  451.         type: 'object',
  452.         additionalProperties: false,
  453.         properties: {
  454.           exportsOnly: {
  455.             description: 'Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.',
  456.             type: 'boolean'
  457.           }
  458.         }
  459.       },
  460.       CssFilename: {
  461.         description: "Specifies the filename template of 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.",
  462.         oneOf: [ { '$ref': '#/definitions/FilenameTemplate' } ]
  463.       },
  464.       CssGeneratorOptions: {
  465.         description: 'Generator options for css modules.',
  466.         type: 'object',
  467.         additionalProperties: false,
  468.         properties: {}
  469.       },
  470.       CssParserOptions: {
  471.         description: 'Parser options for css modules.',
  472.         type: 'object',
  473.         additionalProperties: false,
  474.         properties: {}
  475.       },
  476.       Dependencies: {
  477.         description: 'References to other configurations to depend on.',
  478.         type: 'array',
  479.         items: {
  480.           description: 'References to another configuration to depend on.',
  481.           type: 'string'
  482.         }
  483.       },
  484.       DevServer: {
  485.         description: 'Options for the webpack-dev-server.',
  486.         type: 'object'
  487.       },
  488.       DevTool: {
  489.         description: 'A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).',
  490.         anyOf: [
  491.           { enum: [Array] },
  492.           {
  493.             type: 'string',
  494.             pattern: '^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$'
  495.           }
  496.         ]
  497.       },
  498.       DevtoolFallbackModuleFilenameTemplate: {
  499.         description: 'Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.',
  500.         anyOf: [
  501.           { type: 'string' },
  502.           { instanceof: 'Function', tsType: 'Function' }
  503.         ]
  504.       },
  505.       DevtoolModuleFilenameTemplate: {
  506.         description: 'Filename template string of function for the sources array in a generated SourceMap.',
  507.         anyOf: [
  508.           { type: 'string' },
  509.           { instanceof: 'Function', tsType: 'Function' }
  510.         ]
  511.       },
  512.       DevtoolNamespace: {
  513.         description: "Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.",
  514.         type: 'string'
  515.       },
  516.       EmptyGeneratorOptions: {
  517.         description: 'No generator options are supported for this module type.',
  518.         type: 'object',
  519.         additionalProperties: false
  520.       },
  521.       EmptyParserOptions: {
  522.         description: 'No parser options are supported for this module type.',
  523.         type: 'object',
  524.         additionalProperties: false
  525.       },
  526.       EnabledChunkLoadingTypes: {
  527.         description: 'List of chunk loading types enabled for use by entry points.',
  528.         type: 'array',
  529.         items: { '$ref': '#/definitions/ChunkLoadingType' }
  530.       },
  531.       EnabledLibraryTypes: {
  532.         description: 'List of library types enabled for use by entry points.',
  533.         type: 'array',
  534.         items: { '$ref': '#/definitions/LibraryType' }
  535.       },
  536.       EnabledWasmLoadingTypes: {
  537.         description: 'List of wasm loading types enabled for use by entry points.',
  538.         type: 'array',
  539.         items: { '$ref': '#/definitions/WasmLoadingType' }
  540.       },
  541.       Entry: {
  542.         description: 'The entry point(s) of the compilation.',
  543.         anyOf: [
  544.           { '$ref': '#/definitions/EntryDynamic' },
  545.           { '$ref': '#/definitions/EntryStatic' }
  546.         ]
  547.       },
  548.       EntryDescription: {
  549.         description: 'An object with entry point description.',
  550.         type: 'object',
  551.         additionalProperties: false,
  552.         properties: {
  553.           asyncChunks: {
  554.             description: 'Enable/disable creating async chunks that are loaded on demand.',
  555.             type: 'boolean'
  556.           },
  557.           baseUri: { description: 'Base uri for this entry.', type: 'string' },
  558.           chunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  559.           dependOn: {
  560.             description: 'The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.',
  561.             anyOf: [Array]
  562.           },
  563.           filename: { '$ref': '#/definitions/EntryFilename' },
  564.           import: { '$ref': '#/definitions/EntryItem' },
  565.           layer: { '$ref': '#/definitions/Layer' },
  566.           library: { '$ref': '#/definitions/LibraryOptions' },
  567.           publicPath: { '$ref': '#/definitions/PublicPath' },
  568.           runtime: { '$ref': '#/definitions/EntryRuntime' },
  569.           wasmLoading: { '$ref': '#/definitions/WasmLoading' }
  570.         },
  571.         required: [ 'import' ]
  572.       },
  573.       EntryDescriptionNormalized: {
  574.         description: 'An object with entry point description.',
  575.         type: 'object',
  576.         additionalProperties: false,
  577.         properties: {
  578.           asyncChunks: {
  579.             description: 'Enable/disable creating async chunks that are loaded on demand.',
  580.             type: 'boolean'
  581.           },
  582.           baseUri: { description: 'Base uri for this entry.', type: 'string' },
  583.           chunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  584.           dependOn: {
  585.             description: 'The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.',
  586.             type: 'array',
  587.             items: [Object],
  588.             minItems: 1,
  589.             uniqueItems: true
  590.           },
  591.           filename: { '$ref': '#/definitions/Filename' },
  592.           import: {
  593.             description: 'Module(s) that are loaded upon startup. The last one is exported.',
  594.             type: 'array',
  595.             items: [Object],
  596.             minItems: 1,
  597.             uniqueItems: true
  598.           },
  599.           layer: { '$ref': '#/definitions/Layer' },
  600.           library: { '$ref': '#/definitions/LibraryOptions' },
  601.           publicPath: { '$ref': '#/definitions/PublicPath' },
  602.           runtime: { '$ref': '#/definitions/EntryRuntime' },
  603.           wasmLoading: { '$ref': '#/definitions/WasmLoading' }
  604.         }
  605.       },
  606.       EntryDynamic: {
  607.         description: 'A Function returning an entry object, an entry string, an entry array or a promise to these things.',
  608.         instanceof: 'Function',
  609.         tsType: '(() => EntryStatic | Promise<EntryStatic>)'
  610.       },
  611.       EntryDynamicNormalized: {
  612.         description: 'A Function returning a Promise resolving to a normalized entry.',
  613.         instanceof: 'Function',
  614.         tsType: '(() => Promise<EntryStaticNormalized>)'
  615.       },
  616.       EntryFilename: {
  617.         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.",
  618.         oneOf: [ { '$ref': '#/definitions/FilenameTemplate' } ]
  619.       },
  620.       EntryItem: {
  621.         description: 'Module(s) that are loaded upon startup.',
  622.         anyOf: [
  623.           {
  624.             description: 'All modules are loaded upon startup. The last one is exported.',
  625.             type: 'array',
  626.             items: [Object],
  627.             minItems: 1,
  628.             uniqueItems: true
  629.           },
  630.           {
  631.             description: 'The string is resolved to a module which is loaded upon startup.',
  632.             type: 'string',
  633.             minLength: 1
  634.           }
  635.         ]
  636.       },
  637.       EntryNormalized: {
  638.         description: 'The entry point(s) of the compilation.',
  639.         anyOf: [
  640.           { '$ref': '#/definitions/EntryDynamicNormalized' },
  641.           { '$ref': '#/definitions/EntryStaticNormalized' }
  642.         ]
  643.       },
  644.       EntryObject: {
  645.         description: 'Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.',
  646.         type: 'object',
  647.         additionalProperties: {
  648.           description: 'An entry point with name.',
  649.           anyOf: [ [Object], [Object] ]
  650.         }
  651.       },
  652.       EntryRuntime: {
  653.         description: 'The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.',
  654.         anyOf: [ { enum: [Array] }, { type: 'string', minLength: 1 } ]
  655.       },
  656.       EntryStatic: {
  657.         description: 'A static entry description.',
  658.         anyOf: [
  659.           { '$ref': '#/definitions/EntryObject' },
  660.           { '$ref': '#/definitions/EntryUnnamed' }
  661.         ]
  662.       },
  663.       EntryStaticNormalized: {
  664.         description: 'Multiple entry bundles are created. The key is the entry name. The value is an entry description object.',
  665.         type: 'object',
  666.         additionalProperties: {
  667.           description: 'An object with entry point description.',
  668.           oneOf: [ [Object] ]
  669.         }
  670.       },
  671.       EntryUnnamed: {
  672.         description: 'An entry point without name.',
  673.         oneOf: [ { '$ref': '#/definitions/EntryItem' } ]
  674.       },
  675.       Environment: {
  676.         description: 'The abilities of the environment where the webpack generated code should run.',
  677.         type: 'object',
  678.         additionalProperties: false,
  679.         properties: {
  680.           arrowFunction: {
  681.             description: "The environment supports arrow functions ('() => { ... }').",
  682.             type: 'boolean'
  683.           },
  684.           bigIntLiteral: {
  685.             description: 'The environment supports BigInt as literal (123n).',
  686.             type: 'boolean'
  687.           },
  688.           const: {
  689.             description: 'The environment supports const and let for variable declarations.',
  690.             type: 'boolean'
  691.           },
  692.           destructuring: {
  693.             description: "The environment supports destructuring ('{ a, b } = obj').",
  694.             type: 'boolean'
  695.           },
  696.           dynamicImport: {
  697.             description: 'The environment supports an async import() function to import EcmaScript modules.',
  698.             type: 'boolean'
  699.           },
  700.           forOf: {
  701.             description: "The environment supports 'for of' iteration ('for (const x of array) { ... }').",
  702.             type: 'boolean'
  703.           },
  704.           module: {
  705.             description: "The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').",
  706.             type: 'boolean'
  707.           },
  708.           optionalChaining: {
  709.             description: "The environment supports optional chaining ('obj?.a' or 'obj?.()').",
  710.             type: 'boolean'
  711.           },
  712.           templateLiteral: {
  713.             description: 'The environment supports template literals.',
  714.             type: 'boolean'
  715.           }
  716.         }
  717.       },
  718.       Experiments: {
  719.         description: 'Enables/Disables experiments (experimental features with relax SemVer compatibility).',
  720.         type: 'object',
  721.         implements: [ '#/definitions/ExperimentsCommon' ],
  722.         additionalProperties: false,
  723.         properties: {
  724.           asyncWebAssembly: {
  725.             description: 'Support WebAssembly as asynchronous EcmaScript Module.',
  726.             type: 'boolean'
  727.           },
  728.           backCompat: {
  729.             description: 'Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.',
  730.             type: 'boolean'
  731.           },
  732.           buildHttp: {
  733.             description: 'Build http(s): urls using a lockfile and resource content cache.',
  734.             anyOf: [Array]
  735.           },
  736.           cacheUnaffected: {
  737.             description: 'Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.',
  738.             type: 'boolean'
  739.           },
  740.           css: { description: 'Enable css support.', anyOf: [Array] },
  741.           futureDefaults: {
  742.             description: 'Apply defaults of next major version.',
  743.             type: 'boolean'
  744.           },
  745.           layers: { description: 'Enable module layers.', type: 'boolean' },
  746.           lazyCompilation: {
  747.             description: 'Compile entrypoints and import()s only when they are accessed.',
  748.             anyOf: [Array]
  749.           },
  750.           outputModule: {
  751.             description: 'Allow output javascript files as module source type.',
  752.             type: 'boolean'
  753.           },
  754.           syncWebAssembly: {
  755.             description: 'Support WebAssembly as synchronous EcmaScript Module (outdated).',
  756.             type: 'boolean'
  757.           },
  758.           topLevelAwait: {
  759.             description: 'Allow using top-level-await in EcmaScript Modules.',
  760.             type: 'boolean'
  761.           }
  762.         }
  763.       },
  764.       ExperimentsCommon: {
  765.         description: 'Enables/Disables experiments (experimental features with relax SemVer compatibility).',
  766.         type: 'object',
  767.         additionalProperties: false,
  768.         properties: {
  769.           asyncWebAssembly: {
  770.             description: 'Support WebAssembly as asynchronous EcmaScript Module.',
  771.             type: 'boolean'
  772.           },
  773.           backCompat: {
  774.             description: 'Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.',
  775.             type: 'boolean'
  776.           },
  777.           cacheUnaffected: {
  778.             description: 'Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.',
  779.             type: 'boolean'
  780.           },
  781.           futureDefaults: {
  782.             description: 'Apply defaults of next major version.',
  783.             type: 'boolean'
  784.           },
  785.           layers: { description: 'Enable module layers.', type: 'boolean' },
  786.           outputModule: {
  787.             description: 'Allow output javascript files as module source type.',
  788.             type: 'boolean'
  789.           },
  790.           syncWebAssembly: {
  791.             description: 'Support WebAssembly as synchronous EcmaScript Module (outdated).',
  792.             type: 'boolean'
  793.           },
  794.           topLevelAwait: {
  795.             description: 'Allow using top-level-await in EcmaScript Modules.',
  796.             type: 'boolean'
  797.           }
  798.         }
  799.       },
  800.       ExperimentsNormalized: {
  801.         description: 'Enables/Disables experiments (experimental features with relax SemVer compatibility).',
  802.         type: 'object',
  803.         implements: [ '#/definitions/ExperimentsCommon' ],
  804.         additionalProperties: false,
  805.         properties: {
  806.           asyncWebAssembly: {
  807.             description: 'Support WebAssembly as asynchronous EcmaScript Module.',
  808.             type: 'boolean'
  809.           },
  810.           backCompat: {
  811.             description: 'Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.',
  812.             type: 'boolean'
  813.           },
  814.           buildHttp: {
  815.             description: 'Build http(s): urls using a lockfile and resource content cache.',
  816.             oneOf: [Array]
  817.           },
  818.           cacheUnaffected: {
  819.             description: 'Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.',
  820.             type: 'boolean'
  821.           },
  822.           css: { description: 'Enable css support.', anyOf: [Array] },
  823.           futureDefaults: {
  824.             description: 'Apply defaults of next major version.',
  825.             type: 'boolean'
  826.           },
  827.           layers: { description: 'Enable module layers.', type: 'boolean' },
  828.           lazyCompilation: {
  829.             description: 'Compile entrypoints and import()s only when they are accessed.',
  830.             anyOf: [Array]
  831.           },
  832.           outputModule: {
  833.             description: 'Allow output javascript files as module source type.',
  834.             type: 'boolean'
  835.           },
  836.           syncWebAssembly: {
  837.             description: 'Support WebAssembly as synchronous EcmaScript Module (outdated).',
  838.             type: 'boolean'
  839.           },
  840.           topLevelAwait: {
  841.             description: 'Allow using top-level-await in EcmaScript Modules.',
  842.             type: 'boolean'
  843.           }
  844.         }
  845.       },
  846.       ExternalItem: {
  847.         description: "Specify dependency that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.",
  848.         anyOf: [
  849.           {
  850.             description: 'Every matched dependency becomes external.',
  851.             instanceof: 'RegExp',
  852.             tsType: 'RegExp'
  853.           },
  854.           {
  855.             description: 'An exact matched dependency becomes external. The same string is used as external dependency.',
  856.             type: 'string'
  857.           },
  858.           {
  859.             description: 'If an dependency matches exactly a property of the object, the property value is used as dependency.',
  860.             type: 'object',
  861.             additionalProperties: [Object],
  862.             properties: [Object]
  863.           },
  864.           {
  865.             description: 'The function is called on each dependency (`function(context, request, callback(err, result))`).',
  866.             instanceof: 'Function',
  867.             tsType: '(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise<ExternalItemValue>))'
  868.           }
  869.         ]
  870.       },
  871.       ExternalItemFunctionData: {
  872.         description: "Data object passed as argument when a function is set for 'externals'.",
  873.         type: 'object',
  874.         additionalProperties: false,
  875.         properties: {
  876.           context: {
  877.             description: 'The directory in which the request is placed.',
  878.             type: 'string'
  879.           },
  880.           contextInfo: {
  881.             description: 'Contextual information.',
  882.             type: 'object',
  883.             tsType: "import('../lib/ModuleFactory').ModuleFactoryCreateDataContextInfo"
  884.           },
  885.           dependencyType: {
  886.             description: 'The category of the referencing dependencies.',
  887.             type: 'string'
  888.           },
  889.           getResolve: {
  890.             description: 'Get a resolve function with the current resolver options.',
  891.             instanceof: 'Function',
  892.             tsType: '((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise<string>))'
  893.           },
  894.           request: {
  895.             description: 'The request as written by the user in the require/import expression/statement.',
  896.             type: 'string'
  897.           }
  898.         }
  899.       },
  900.       ExternalItemValue: {
  901.         description: 'The dependency used for the external.',
  902.         anyOf: [
  903.           { type: 'array', items: [Object] },
  904.           {
  905.             description: '`true`: The dependency name is used as target of the external.',
  906.             type: 'boolean'
  907.           },
  908.           {
  909.             description: 'The target of the external.',
  910.             type: 'string'
  911.           },
  912.           { type: 'object' }
  913.         ]
  914.       },
  915.       Externals: {
  916.         description: "Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.",
  917.         anyOf: [
  918.           { type: 'array', items: [Object] },
  919.           { '$ref': '#/definitions/ExternalItem' }
  920.         ]
  921.       },
  922.       ExternalsPresets: {
  923.         description: 'Enable presets of externals for specific targets.',
  924.         type: 'object',
  925.         additionalProperties: false,
  926.         properties: {
  927.           electron: {
  928.             description: "Treat common electron built-in modules in main and preload context like 'electron', 'ipc' or 'shell' as external and load them via require() when used.",
  929.             type: 'boolean'
  930.           },
  931.           electronMain: {
  932.             description: "Treat electron built-in modules in the main context like 'app', 'ipc-main' or 'shell' as external and load them via require() when used.",
  933.             type: 'boolean'
  934.           },
  935.           electronPreload: {
  936.             description: "Treat electron built-in modules in the preload context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.",
  937.             type: 'boolean'
  938.           },
  939.           electronRenderer: {
  940.             description: "Treat electron built-in modules in the renderer context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.",
  941.             type: 'boolean'
  942.           },
  943.           node: {
  944.             description: 'Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.',
  945.             type: 'boolean'
  946.           },
  947.           nwjs: {
  948.             description: 'Treat NW.js legacy nw.gui module as external and load it via require() when used.',
  949.             type: 'boolean'
  950.           },
  951.           web: {
  952.             description: "Treat references to 'http(s)://...' and 'std:...' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).",
  953.             type: 'boolean'
  954.           },
  955.           webAsync: {
  956.             description: "Treat references to 'http(s)://...' and 'std:...' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).",
  957.             type: 'boolean'
  958.           }
  959.         }
  960.       },
  961.       ExternalsType: {
  962.         description: "Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).",
  963.         enum: [
  964.           'var',             'module',
  965.           'assign',          'this',
  966.           'window',          'self',
  967.           'global',          'commonjs',
  968.           'commonjs2',       'commonjs-module',
  969.           'commonjs-static', 'amd',
  970.           'amd-require',     'umd',
  971.           'umd2',            'jsonp',
  972.           'system',          'promise',
  973.           'import',          'script',
  974.           'node-commonjs'
  975.         ]
  976.       },
  977.       FileCacheOptions: {
  978.         description: 'Options object for persistent file-based caching.',
  979.         type: 'object',
  980.         additionalProperties: false,
  981.         properties: {
  982.           allowCollectingMemory: {
  983.             description: 'Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.',
  984.             type: 'boolean'
  985.           },
  986.           buildDependencies: {
  987.             description: "Dependencies the build depends on (in multiple categories, default categories: 'defaultWebpack').",
  988.             type: 'object',
  989.             additionalProperties: [Object]
  990.           },
  991.           cacheDirectory: {
  992.             description: 'Base directory for the cache (defaults to node_modules/.cache/webpack).',
  993.             type: 'string',
  994.             absolutePath: true
  995.           },
  996.           cacheLocation: {
  997.             description: 'Locations for the cache (defaults to cacheDirectory / name).',
  998.             type: 'string',
  999.             absolutePath: true
  1000.           },
  1001.           compression: {
  1002.             description: 'Compression type used for the cache files.',
  1003.             enum: [Array]
  1004.           },
  1005.           hashAlgorithm: {
  1006.             description: 'Algorithm used for generation the hash (see node.js crypto package).',
  1007.             type: 'string'
  1008.           },
  1009.           idleTimeout: {
  1010.             description: 'Time in ms after which idle period the cache storing should happen.',
  1011.             type: 'number',
  1012.             minimum: 0
  1013.           },
  1014.           idleTimeoutAfterLargeChanges: {
  1015.             description: 'Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).',
  1016.             type: 'number',
  1017.             minimum: 0
  1018.           },
  1019.           idleTimeoutForInitialStore: {
  1020.             description: 'Time in ms after which idle period the initial cache storing should happen.',
  1021.             type: 'number',
  1022.             minimum: 0
  1023.           },
  1024.           immutablePaths: {
  1025.             description: 'List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.',
  1026.             type: 'array',
  1027.             items: [Object]
  1028.           },
  1029.           managedPaths: {
  1030.             description: 'List of paths that are managed by a package manager and can be trusted to not be modified otherwise.',
  1031.             type: 'array',
  1032.             items: [Object]
  1033.           },
  1034.           maxAge: {
  1035.             description: 'Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).',
  1036.             type: 'number',
  1037.             minimum: 0
  1038.           },
  1039.           maxMemoryGenerations: {
  1040.             description: 'Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.',
  1041.             type: 'number',
  1042.             minimum: 0
  1043.           },
  1044.           memoryCacheUnaffected: {
  1045.             description: 'Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.',
  1046.             type: 'boolean'
  1047.           },
  1048.           name: {
  1049.             description: 'Name for the cache. Different names will lead to different coexisting caches.',
  1050.             type: 'string'
  1051.           },
  1052.           profile: {
  1053.             description: 'Track and log detailed timing information for individual cache items.',
  1054.             type: 'boolean'
  1055.           },
  1056.           store: {
  1057.             description: 'When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).',
  1058.             enum: [Array]
  1059.           },
  1060.           type: { description: 'Filesystem caching.', enum: [Array] },
  1061.           version: {
  1062.             description: "Version of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.",
  1063.             type: 'string'
  1064.           }
  1065.         },
  1066.         required: [ 'type' ]
  1067.       },
  1068.       Filename: {
  1069.         description: "Specifies the filename of output 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.",
  1070.         oneOf: [ { '$ref': '#/definitions/FilenameTemplate' } ]
  1071.       },
  1072.       FilenameTemplate: {
  1073.         description: "Specifies the filename template of output 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.",
  1074.         anyOf: [
  1075.           { type: 'string', absolutePath: false, minLength: 1 },
  1076.           {
  1077.             instanceof: 'Function',
  1078.             tsType: '((pathData: import("../lib/Compilation").PathData, assetInfo?: import("../lib/Compilation").AssetInfo) => string)'
  1079.           }
  1080.         ]
  1081.       },
  1082.       FilterItemTypes: {
  1083.         description: 'Filtering value, regexp or function.',
  1084.         cli: { helper: true },
  1085.         anyOf: [
  1086.           { instanceof: 'RegExp', tsType: 'RegExp' },
  1087.           { type: 'string', absolutePath: false },
  1088.           {
  1089.             instanceof: 'Function',
  1090.             tsType: '((value: string) => boolean)'
  1091.           }
  1092.         ]
  1093.       },
  1094.       FilterTypes: {
  1095.         description: 'Filtering values.',
  1096.         cli: { helper: true },
  1097.         anyOf: [
  1098.           { type: 'array', items: [Object] },
  1099.           { '$ref': '#/definitions/FilterItemTypes' }
  1100.         ]
  1101.       },
  1102.       GeneratorOptionsByModuleType: {
  1103.         description: 'Specify options for each generator.',
  1104.         type: 'object',
  1105.         additionalProperties: {
  1106.           description: 'Options for generating.',
  1107.           type: 'object',
  1108.           additionalProperties: true
  1109.         },
  1110.         properties: {
  1111.           asset: { '$ref': '#/definitions/AssetGeneratorOptions' },
  1112.           'asset/inline': { '$ref': '#/definitions/AssetInlineGeneratorOptions' },
  1113.           'asset/resource': { '$ref': '#/definitions/AssetResourceGeneratorOptions' },
  1114.           javascript: { '$ref': '#/definitions/EmptyGeneratorOptions' },
  1115.           'javascript/auto': { '$ref': '#/definitions/EmptyGeneratorOptions' },
  1116.           'javascript/dynamic': { '$ref': '#/definitions/EmptyGeneratorOptions' },
  1117.           'javascript/esm': { '$ref': '#/definitions/EmptyGeneratorOptions' }
  1118.         }
  1119.       },
  1120.       GlobalObject: {
  1121.         description: 'An expression which is used to address the global object/scope in runtime code.',
  1122.         type: 'string',
  1123.         minLength: 1
  1124.       },
  1125.       HashDigest: { description: 'Digest type used for the hash.', type: 'string' },
  1126.       HashDigestLength: {
  1127.         description: 'Number of chars which are used for the hash.',
  1128.         type: 'number',
  1129.         minimum: 1
  1130.       },
  1131.       HashFunction: {
  1132.         description: 'Algorithm used for generation the hash (see node.js crypto package).',
  1133.         anyOf: [
  1134.           { type: 'string', minLength: 1 },
  1135.           {
  1136.             instanceof: 'Function',
  1137.             tsType: "typeof import('../lib/util/Hash')"
  1138.           }
  1139.         ]
  1140.       },
  1141.       HashSalt: {
  1142.         description: 'Any string which is added to the hash to salt it.',
  1143.         type: 'string',
  1144.         minLength: 1
  1145.       },
  1146.       HotUpdateChunkFilename: {
  1147.         description: 'The filename of the Hot Update Chunks. They are inside the output.path directory.',
  1148.         type: 'string',
  1149.         absolutePath: false
  1150.       },
  1151.       HotUpdateGlobal: {
  1152.         description: 'The global variable used by webpack for loading of hot update chunks.',
  1153.         type: 'string'
  1154.       },
  1155.       HotUpdateMainFilename: {
  1156.         description: "The filename of the Hot Update Main File. It is inside the 'output.path' directory.",
  1157.         type: 'string',
  1158.         absolutePath: false
  1159.       },
  1160.       HttpUriAllowedUris: {
  1161.         description: 'List of allowed URIs for building http resources.',
  1162.         cli: { exclude: true },
  1163.         oneOf: [ { '$ref': '#/definitions/HttpUriOptionsAllowedUris' } ]
  1164.       },
  1165.       HttpUriOptions: {
  1166.         description: 'Options for building http resources.',
  1167.         type: 'object',
  1168.         additionalProperties: false,
  1169.         properties: {
  1170.           allowedUris: { '$ref': '#/definitions/HttpUriOptionsAllowedUris' },
  1171.           cacheLocation: {
  1172.             description: "Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.",
  1173.             anyOf: [Array]
  1174.           },
  1175.           frozen: {
  1176.             description: 'When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.',
  1177.             type: 'boolean'
  1178.           },
  1179.           lockfileLocation: {
  1180.             description: 'Location of the lockfile.',
  1181.             type: 'string',
  1182.             absolutePath: true
  1183.           },
  1184.           proxy: {
  1185.             description: 'Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.',
  1186.             type: 'string'
  1187.           },
  1188.           upgrade: {
  1189.             description: 'When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.',
  1190.             type: 'boolean'
  1191.           }
  1192.         },
  1193.         required: [ 'allowedUris' ]
  1194.       },
  1195.       HttpUriOptionsAllowedUris: {
  1196.         description: 'List of allowed URIs (resp. the beginning of them).',
  1197.         type: 'array',
  1198.         items: {
  1199.           description: 'List of allowed URIs (resp. the beginning of them).',
  1200.           anyOf: [ [Object], [Object], [Object] ]
  1201.         }
  1202.       },
  1203.       IgnoreWarnings: {
  1204.         description: 'Ignore specific warnings.',
  1205.         type: 'array',
  1206.         items: {
  1207.           description: 'Ignore specific warnings.',
  1208.           anyOf: [ [Object], [Object], [Object] ]
  1209.         }
  1210.       },
  1211.       IgnoreWarningsNormalized: {
  1212.         description: 'Ignore specific warnings.',
  1213.         type: 'array',
  1214.         items: {
  1215.           description: 'A function to select warnings based on the raw warning instance.',
  1216.           instanceof: 'Function',
  1217.           tsType: "((warning: import('../lib/WebpackError'), compilation: import('../lib/Compilation')) => boolean)"
  1218.         }
  1219.       },
  1220.       Iife: {
  1221.         description: "Wrap javascript code into IIFE's to avoid leaking into global scope.",
  1222.         type: 'boolean'
  1223.       },
  1224.       ImportFunctionName: {
  1225.         description: 'The name of the native import() function (can be exchanged for a polyfill).',
  1226.         type: 'string'
  1227.       },
  1228.       ImportMetaName: {
  1229.         description: 'The name of the native import.meta object (can be exchanged for a polyfill).',
  1230.         type: 'string'
  1231.       },
  1232.       InfrastructureLogging: {
  1233.         description: 'Options for infrastructure level logging.',
  1234.         type: 'object',
  1235.         additionalProperties: false,
  1236.         properties: {
  1237.           appendOnly: {
  1238.             description: 'Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.',
  1239.             type: 'boolean'
  1240.           },
  1241.           colors: {
  1242.             description: 'Enables/Disables colorful output. This option is only used when no custom console is provided.',
  1243.             type: 'boolean'
  1244.           },
  1245.           console: {
  1246.             description: 'Custom console used for logging.',
  1247.             tsType: 'Console'
  1248.           },
  1249.           debug: {
  1250.             description: 'Enable debug logging for specific loggers.',
  1251.             anyOf: [Array]
  1252.           },
  1253.           level: { description: 'Log level.', enum: [Array] },
  1254.           stream: {
  1255.             description: 'Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.',
  1256.             tsType: 'NodeJS.WritableStream'
  1257.           }
  1258.         }
  1259.       },
  1260.       JavascriptParserOptions: {
  1261.         description: 'Parser options for javascript modules.',
  1262.         type: 'object',
  1263.         additionalProperties: true,
  1264.         properties: {
  1265.           amd: { '$ref': '#/definitions/Amd' },
  1266.           browserify: {
  1267.             description: 'Enable/disable special handling for browserify bundles.',
  1268.             type: 'boolean'
  1269.           },
  1270.           commonjs: {
  1271.             description: 'Enable/disable parsing of CommonJs syntax.',
  1272.             type: 'boolean'
  1273.           },
  1274.           commonjsMagicComments: {
  1275.             description: 'Enable/disable parsing of magic comments in CommonJs syntax.',
  1276.             type: 'boolean'
  1277.           },
  1278.           createRequire: {
  1279.             description: 'Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().',
  1280.             anyOf: [Array]
  1281.           },
  1282.           dynamicImportMode: {
  1283.             description: 'Specifies global mode for dynamic import.',
  1284.             enum: [Array]
  1285.           },
  1286.           dynamicImportPrefetch: {
  1287.             description: 'Specifies global prefetch for dynamic import.',
  1288.             anyOf: [Array]
  1289.           },
  1290.           dynamicImportPreload: {
  1291.             description: 'Specifies global preload for dynamic import.',
  1292.             anyOf: [Array]
  1293.           },
  1294.           exportsPresence: {
  1295.             description: 'Specifies the behavior of invalid export names in "import ... from ..." and "export ... from ...".',
  1296.             enum: [Array]
  1297.           },
  1298.           exprContextCritical: {
  1299.             description: 'Enable warnings for full dynamic dependencies.',
  1300.             type: 'boolean'
  1301.           },
  1302.           exprContextRecursive: {
  1303.             description: 'Enable recursive directory lookup for full dynamic dependencies.',
  1304.             type: 'boolean'
  1305.           },
  1306.           exprContextRegExp: {
  1307.             description: 'Sets the default regular expression for full dynamic dependencies.',
  1308.             anyOf: [Array]
  1309.           },
  1310.           exprContextRequest: {
  1311.             description: 'Set the default request for full dynamic dependencies.',
  1312.             type: 'string'
  1313.           },
  1314.           harmony: {
  1315.             description: 'Enable/disable parsing of EcmaScript Modules syntax.',
  1316.             type: 'boolean'
  1317.           },
  1318.           import: {
  1319.             description: 'Enable/disable parsing of import() syntax.',
  1320.             type: 'boolean'
  1321.           },
  1322.           importExportsPresence: {
  1323.             description: 'Specifies the behavior of invalid export names in "import ... from ...".',
  1324.             enum: [Array]
  1325.           },
  1326.           importMeta: {
  1327.             description: 'Enable/disable evaluating import.meta.',
  1328.             type: 'boolean'
  1329.           },
  1330.           importMetaContext: {
  1331.             description: 'Enable/disable evaluating import.meta.webpackContext.',
  1332.             type: 'boolean'
  1333.           },
  1334.           node: { '$ref': '#/definitions/Node' },
  1335.           reexportExportsPresence: {
  1336.             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.',
  1337.             enum: [Array]
  1338.           },
  1339.           requireContext: {
  1340.             description: 'Enable/disable parsing of require.context syntax.',
  1341.             type: 'boolean'
  1342.           },
  1343.           requireEnsure: {
  1344.             description: 'Enable/disable parsing of require.ensure syntax.',
  1345.             type: 'boolean'
  1346.           },
  1347.           requireInclude: {
  1348.             description: 'Enable/disable parsing of require.include syntax.',
  1349.             type: 'boolean'
  1350.           },
  1351.           requireJs: {
  1352.             description: 'Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.',
  1353.             type: 'boolean'
  1354.           },
  1355.           strictExportPresence: {
  1356.             description: `Deprecated in favor of "exportsPresence". Emit errors instead of warnings when imported names don't exist in imported module.`,
  1357.             type: 'boolean'
  1358.           },
  1359.           strictThisContextOnImports: {
  1360.             description: 'Handle the this context correctly according to the spec for namespace objects.',
  1361.             type: 'boolean'
  1362.           },
  1363.           system: {
  1364.             description: 'Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.',
  1365.             type: 'boolean'
  1366.           },
  1367.           unknownContextCritical: {
  1368.             description: 'Enable warnings when using the require function in a not statically analyse-able way.',
  1369.             type: 'boolean'
  1370.           },
  1371.           unknownContextRecursive: {
  1372.             description: 'Enable recursive directory lookup when using the require function in a not statically analyse-able way.',
  1373.             type: 'boolean'
  1374.           },
  1375.           unknownContextRegExp: {
  1376.             description: 'Sets the regular expression when using the require function in a not statically analyse-able way.',
  1377.             anyOf: [Array]
  1378.           },
  1379.           unknownContextRequest: {
  1380.             description: 'Sets the request when using the require function in a not statically analyse-able way.',
  1381.             type: 'string'
  1382.           },
  1383.           url: {
  1384.             description: 'Enable/disable parsing of new URL() syntax.',
  1385.             anyOf: [Array]
  1386.           },
  1387.           worker: {
  1388.             description: 'Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().',
  1389.             anyOf: [Array]
  1390.           },
  1391.           wrappedContextCritical: {
  1392.             description: 'Enable warnings for partial dynamic dependencies.',
  1393.             type: 'boolean'
  1394.           },
  1395.           wrappedContextRecursive: {
  1396.             description: 'Enable recursive directory lookup for partial dynamic dependencies.',
  1397.             type: 'boolean'
  1398.           },
  1399.           wrappedContextRegExp: {
  1400.             description: 'Set the inner regular expression for partial dynamic dependencies.',
  1401.             instanceof: 'RegExp',
  1402.             tsType: 'RegExp'
  1403.           }
  1404.         }
  1405.       },
  1406.       Layer: {
  1407.         description: 'Specifies the layer in which modules of this entrypoint are placed.',
  1408.         anyOf: [ { enum: [Array] }, { type: 'string', minLength: 1 } ]
  1409.       },
  1410.       LazyCompilationDefaultBackendOptions: {
  1411.         description: 'Options for the default backend.',
  1412.         type: 'object',
  1413.         additionalProperties: false,
  1414.         properties: {
  1415.           client: { description: 'A custom client.', type: 'string' },
  1416.           listen: {
  1417.             description: 'Specifies where to listen to from the server.',
  1418.             anyOf: [Array]
  1419.           },
  1420.           protocol: {
  1421.             description: 'Specifies the protocol the client should use to connect to the server.',
  1422.             enum: [Array]
  1423.           },
  1424.           server: {
  1425.             description: 'Specifies how to create the server handling the EventSource requests.',
  1426.             anyOf: [Array]
  1427.           }
  1428.         }
  1429.       },
  1430.       LazyCompilationOptions: {
  1431.         description: 'Options for compiling entrypoints and import()s only when they are accessed.',
  1432.         type: 'object',
  1433.         additionalProperties: false,
  1434.         properties: {
  1435.           backend: {
  1436.             description: 'Specifies the backend that should be used for handling client keep alive.',
  1437.             anyOf: [Array]
  1438.           },
  1439.           entries: {
  1440.             description: 'Enable/disable lazy compilation for entries.',
  1441.             type: 'boolean'
  1442.           },
  1443.           imports: {
  1444.             description: 'Enable/disable lazy compilation for import() modules.',
  1445.             type: 'boolean'
  1446.           },
  1447.           test: {
  1448.             description: 'Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.',
  1449.             anyOf: [Array]
  1450.           }
  1451.         }
  1452.       },
  1453.       Library: {
  1454.         description: 'Make the output files a library, exporting the exports of the entry point.',
  1455.         anyOf: [
  1456.           { '$ref': '#/definitions/LibraryName' },
  1457.           { '$ref': '#/definitions/LibraryOptions' }
  1458.         ]
  1459.       },
  1460.       LibraryCustomUmdCommentObject: {
  1461.         description: 'Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.',
  1462.         type: 'object',
  1463.         additionalProperties: false,
  1464.         properties: {
  1465.           amd: {
  1466.             description: 'Set comment for `amd` section in UMD.',
  1467.             type: 'string'
  1468.           },
  1469.           commonjs: {
  1470.             description: 'Set comment for `commonjs` (exports) section in UMD.',
  1471.             type: 'string'
  1472.           },
  1473.           commonjs2: {
  1474.             description: 'Set comment for `commonjs2` (module.exports) section in UMD.',
  1475.             type: 'string'
  1476.           },
  1477.           root: {
  1478.             description: 'Set comment for `root` (global variable) section in UMD.',
  1479.             type: 'string'
  1480.           }
  1481.         }
  1482.       },
  1483.       LibraryCustomUmdObject: {
  1484.         description: 'Description object for all UMD variants of the library name.',
  1485.         type: 'object',
  1486.         additionalProperties: false,
  1487.         properties: {
  1488.           amd: {
  1489.             description: 'Name of the exposed AMD library in the UMD.',
  1490.             type: 'string',
  1491.             minLength: 1
  1492.           },
  1493.           commonjs: {
  1494.             description: 'Name of the exposed commonjs export in the UMD.',
  1495.             type: 'string',
  1496.             minLength: 1
  1497.           },
  1498.           root: {
  1499.             description: 'Name of the property exposed globally by a UMD library.',
  1500.             anyOf: [Array]
  1501.           }
  1502.         }
  1503.       },
  1504.       LibraryExport: {
  1505.         description: 'Specify which export should be exposed as library.',
  1506.         anyOf: [
  1507.           { type: 'array', items: [Object] },
  1508.           { type: 'string', minLength: 1 }
  1509.         ]
  1510.       },
  1511.       LibraryName: {
  1512.         description: 'The name of the library (some types allow unnamed libraries too).',
  1513.         anyOf: [
  1514.           { type: 'array', items: [Object], minItems: 1 },
  1515.           { type: 'string', minLength: 1 },
  1516.           { '$ref': '#/definitions/LibraryCustomUmdObject' }
  1517.         ]
  1518.       },
  1519.       LibraryOptions: {
  1520.         description: 'Options for library.',
  1521.         type: 'object',
  1522.         additionalProperties: false,
  1523.         properties: {
  1524.           auxiliaryComment: { '$ref': '#/definitions/AuxiliaryComment' },
  1525.           export: { '$ref': '#/definitions/LibraryExport' },
  1526.           name: { '$ref': '#/definitions/LibraryName' },
  1527.           type: { '$ref': '#/definitions/LibraryType' },
  1528.           umdNamedDefine: { '$ref': '#/definitions/UmdNamedDefine' }
  1529.         },
  1530.         required: [ 'type' ]
  1531.       },
  1532.       LibraryType: {
  1533.         description: "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).",
  1534.         anyOf: [ { enum: [Array] }, { type: 'string' } ]
  1535.       },
  1536.       Loader: {
  1537.         description: 'Custom values available in the loader context.',
  1538.         type: 'object'
  1539.       },
  1540.       MemoryCacheOptions: {
  1541.         description: 'Options object for in-memory caching.',
  1542.         type: 'object',
  1543.         additionalProperties: false,
  1544.         properties: {
  1545.           cacheUnaffected: {
  1546.             description: 'Additionally cache computation of modules that are unchanged and reference only unchanged modules.',
  1547.             type: 'boolean'
  1548.           },
  1549.           maxGenerations: {
  1550.             description: 'Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).',
  1551.             type: 'number',
  1552.             minimum: 1
  1553.           },
  1554.           type: { description: 'In memory caching.', enum: [Array] }
  1555.         },
  1556.         required: [ 'type' ]
  1557.       },
  1558.       Mode: {
  1559.         description: 'Enable production optimizations or development hints.',
  1560.         enum: [ 'development', 'production', 'none' ]
  1561.       },
  1562.       ModuleFilterItemTypes: {
  1563.         description: 'Filtering value, regexp or function.',
  1564.         cli: { helper: true },
  1565.         anyOf: [
  1566.           { instanceof: 'RegExp', tsType: 'RegExp' },
  1567.           { type: 'string', absolutePath: false },
  1568.           {
  1569.             instanceof: 'Function',
  1570.             tsType: "((name: string, module: import('../lib/stats/DefaultStatsFactoryPlugin').StatsModule, type: 'module' | 'chunk' | 'root-of-chunk' | 'nested') => boolean)"
  1571.           }
  1572.         ]
  1573.       },
  1574.       ModuleFilterTypes: {
  1575.         description: 'Filtering modules.',
  1576.         cli: { helper: true },
  1577.         anyOf: [
  1578.           { type: 'array', items: [Object] },
  1579.           { '$ref': '#/definitions/ModuleFilterItemTypes' }
  1580.         ]
  1581.       },
  1582.       ModuleOptions: {
  1583.         description: 'Options affecting the normal modules (`NormalModuleFactory`).',
  1584.         type: 'object',
  1585.         additionalProperties: false,
  1586.         properties: {
  1587.           defaultRules: {
  1588.             description: 'An array of rules applied by default for modules.',
  1589.             cli: [Object],
  1590.             oneOf: [Array]
  1591.           },
  1592.           exprContextCritical: {
  1593.             description: 'Enable warnings for full dynamic dependencies.',
  1594.             type: 'boolean'
  1595.           },
  1596.           exprContextRecursive: {
  1597.             description: "Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.",
  1598.             type: 'boolean'
  1599.           },
  1600.           exprContextRegExp: {
  1601.             description: "Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.",
  1602.             anyOf: [Array]
  1603.           },
  1604.           exprContextRequest: {
  1605.             description: "Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.",
  1606.             type: 'string'
  1607.           },
  1608.           generator: { '$ref': '#/definitions/GeneratorOptionsByModuleType' },
  1609.           noParse: { '$ref': '#/definitions/NoParse' },
  1610.           parser: { '$ref': '#/definitions/ParserOptionsByModuleType' },
  1611.           rules: {
  1612.             description: 'An array of rules applied for modules.',
  1613.             oneOf: [Array]
  1614.           },
  1615.           strictExportPresence: {
  1616.             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'.",
  1617.             type: 'boolean'
  1618.           },
  1619.           strictThisContextOnImports: {
  1620.             description: "Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.",
  1621.             type: 'boolean'
  1622.           },
  1623.           unknownContextCritical: {
  1624.             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'.",
  1625.             type: 'boolean'
  1626.           },
  1627.           unknownContextRecursive: {
  1628.             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'.",
  1629.             type: 'boolean'
  1630.           },
  1631.           unknownContextRegExp: {
  1632.             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'.",
  1633.             anyOf: [Array]
  1634.           },
  1635.           unknownContextRequest: {
  1636.             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'.",
  1637.             type: 'string'
  1638.           },
  1639.           unsafeCache: {
  1640.             description: 'Cache the resolving of module requests.',
  1641.             anyOf: [Array]
  1642.           },
  1643.           wrappedContextCritical: {
  1644.             description: "Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.",
  1645.             type: 'boolean'
  1646.           },
  1647.           wrappedContextRecursive: {
  1648.             description: "Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.",
  1649.             type: 'boolean'
  1650.           },
  1651.           wrappedContextRegExp: {
  1652.             description: "Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.",
  1653.             instanceof: 'RegExp',
  1654.             tsType: 'RegExp'
  1655.           }
  1656.         }
  1657.       },
  1658.       ModuleOptionsNormalized: {
  1659.         description: 'Options affecting the normal modules (`NormalModuleFactory`).',
  1660.         type: 'object',
  1661.         additionalProperties: false,
  1662.         properties: {
  1663.           defaultRules: {
  1664.             description: 'An array of rules applied by default for modules.',
  1665.             cli: [Object],
  1666.             oneOf: [Array]
  1667.           },
  1668.           generator: { '$ref': '#/definitions/GeneratorOptionsByModuleType' },
  1669.           noParse: { '$ref': '#/definitions/NoParse' },
  1670.           parser: { '$ref': '#/definitions/ParserOptionsByModuleType' },
  1671.           rules: {
  1672.             description: 'An array of rules applied for modules.',
  1673.             oneOf: [Array]
  1674.           },
  1675.           unsafeCache: {
  1676.             description: 'Cache the resolving of module requests.',
  1677.             anyOf: [Array]
  1678.           }
  1679.         },
  1680.         required: [ 'defaultRules', 'generator', 'parser', 'rules' ]
  1681.       },
  1682.       Name: {
  1683.         description: 'Name of the configuration. Used when loading multiple configurations.',
  1684.         type: 'string'
  1685.       },
  1686.       NoParse: {
  1687.         description: "Don't parse files matching. It's matched against the full resolved request.",
  1688.         anyOf: [
  1689.           { type: 'array', items: [Object], minItems: 1 },
  1690.           {
  1691.             description: 'A regular expression, when matched the module is not parsed.',
  1692.             instanceof: 'RegExp',
  1693.             tsType: 'RegExp'
  1694.           },
  1695.           {
  1696.             description: 'An absolute path, when the module starts with this path it is not parsed.',
  1697.             type: 'string',
  1698.             absolutePath: true
  1699.           },
  1700.           { instanceof: 'Function', tsType: 'Function' }
  1701.         ]
  1702.       },
  1703.       Node: {
  1704.         description: 'Include polyfills or mocks for various node stuff.',
  1705.         anyOf: [ { enum: [Array] }, { '$ref': '#/definitions/NodeOptions' } ]
  1706.       },
  1707.       NodeOptions: {
  1708.         description: 'Options object for node compatibility features.',
  1709.         type: 'object',
  1710.         additionalProperties: false,
  1711.         properties: {
  1712.           __dirname: {
  1713.             description: "Include a polyfill for the '__dirname' variable.",
  1714.             enum: [Array]
  1715.           },
  1716.           __filename: {
  1717.             description: "Include a polyfill for the '__filename' variable.",
  1718.             enum: [Array]
  1719.           },
  1720.           global: {
  1721.             description: "Include a polyfill for the 'global' variable.",
  1722.             enum: [Array]
  1723.           }
  1724.         }
  1725.       },
  1726.       Optimization: {
  1727.         description: 'Enables/Disables integrated optimizations.',
  1728.         type: 'object',
  1729.         additionalProperties: false,
  1730.         properties: {
  1731.           checkWasmTypes: {
  1732.             description: 'Check for incompatible wasm types when importing/exporting from/to ESM.',
  1733.             type: 'boolean'
  1734.           },
  1735.           chunkIds: {
  1736.             description: 'Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).',
  1737.             enum: [Array]
  1738.           },
  1739.           concatenateModules: {
  1740.             description: 'Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.',
  1741.             type: 'boolean'
  1742.           },
  1743.           emitOnErrors: {
  1744.             description: 'Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.',
  1745.             type: 'boolean'
  1746.           },
  1747.           flagIncludedChunks: {
  1748.             description: 'Also flag chunks as loaded which contain a subset of the modules.',
  1749.             type: 'boolean'
  1750.           },
  1751.           innerGraph: {
  1752.             description: 'Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.',
  1753.             type: 'boolean'
  1754.           },
  1755.           mangleExports: {
  1756.             description: 'Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/"deterministic": generate short deterministic names optimized for caching, "size": generate the shortest possible names).',
  1757.             anyOf: [Array]
  1758.           },
  1759.           mangleWasmImports: {
  1760.             description: 'Reduce size of WASM by changing imports to shorter strings.',
  1761.             type: 'boolean'
  1762.           },
  1763.           mergeDuplicateChunks: {
  1764.             description: 'Merge chunks which contain the same modules.',
  1765.             type: 'boolean'
  1766.           },
  1767.           minimize: {
  1768.             description: 'Enable minimizing the output. Uses optimization.minimizer.',
  1769.             type: 'boolean'
  1770.           },
  1771.           minimizer: {
  1772.             description: 'Minimizer(s) to use for minimizing the output.',
  1773.             type: 'array',
  1774.             cli: [Object],
  1775.             items: [Object]
  1776.           },
  1777.           moduleIds: {
  1778.             description: 'Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).',
  1779.             enum: [Array]
  1780.           },
  1781.           noEmitOnErrors: {
  1782.             description: "Avoid emitting assets when errors occur (deprecated: use 'emitOnErrors' instead).",
  1783.             type: 'boolean',
  1784.             cli: [Object]
  1785.           },
  1786.           nodeEnv: {
  1787.             description: 'Set process.env.NODE_ENV to a specific value.',
  1788.             anyOf: [Array]
  1789.           },
  1790.           portableRecords: {
  1791.             description: 'Generate records with relative paths to be able to move the context folder.',
  1792.             type: 'boolean'
  1793.           },
  1794.           providedExports: {
  1795.             description: 'Figure out which exports are provided by modules to generate more efficient code.',
  1796.             type: 'boolean'
  1797.           },
  1798.           realContentHash: {
  1799.             description: 'Use real [contenthash] based on final content of the assets.',
  1800.             type: 'boolean'
  1801.           },
  1802.           removeAvailableModules: {
  1803.             description: 'Removes modules from chunks when these modules are already included in all parents.',
  1804.             type: 'boolean'
  1805.           },
  1806.           removeEmptyChunks: {
  1807.             description: 'Remove chunks which are empty.',
  1808.             type: 'boolean'
  1809.           },
  1810.           runtimeChunk: { '$ref': '#/definitions/OptimizationRuntimeChunk' },
  1811.           sideEffects: {
  1812.             description: "Skip over modules which contain no side effects when exports are not used (false: disabled, 'flag': only use manually placed side effects flag, true: also analyse source code for side effects).",
  1813.             anyOf: [Array]
  1814.           },
  1815.           splitChunks: {
  1816.             description: 'Optimize duplication and caching by splitting chunks by shared modules and cache group.',
  1817.             anyOf: [Array]
  1818.           },
  1819.           usedExports: {
  1820.             description: 'Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, "global": analyse exports globally for all runtimes combined).',
  1821.             anyOf: [Array]
  1822.           }
  1823.         }
  1824.       },
  1825.       OptimizationRuntimeChunk: {
  1826.         description: 'Create an additional chunk which contains only the webpack runtime and chunk hash maps.',
  1827.         anyOf: [
  1828.           { enum: [Array] },
  1829.           { type: 'boolean' },
  1830.           {
  1831.             type: 'object',
  1832.             additionalProperties: false,
  1833.             properties: [Object]
  1834.           }
  1835.         ]
  1836.       },
  1837.       OptimizationRuntimeChunkNormalized: {
  1838.         description: 'Create an additional chunk which contains only the webpack runtime and chunk hash maps.',
  1839.         anyOf: [
  1840.           { enum: [Array] },
  1841.           {
  1842.             type: 'object',
  1843.             additionalProperties: false,
  1844.             properties: [Object]
  1845.           }
  1846.         ]
  1847.       },
  1848.       OptimizationSplitChunksCacheGroup: {
  1849.         description: 'Options object for describing behavior of a cache group selecting modules that should be cached together.',
  1850.         type: 'object',
  1851.         additionalProperties: false,
  1852.         properties: {
  1853.           automaticNameDelimiter: {
  1854.             description: 'Sets the name delimiter for created chunks.',
  1855.             type: 'string',
  1856.             minLength: 1
  1857.           },
  1858.           chunks: {
  1859.             description: 'Select chunks for determining cache group content (defaults to "initial", "initial" and "all" requires adding these chunks to the HTML).',
  1860.             anyOf: [Array]
  1861.           },
  1862.           enforce: {
  1863.             description: 'Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.',
  1864.             type: 'boolean'
  1865.           },
  1866.           enforceSizeThreshold: {
  1867.             description: 'Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.',
  1868.             oneOf: [Array]
  1869.           },
  1870.           filename: {
  1871.             description: 'Sets the template for the filename for created chunks.',
  1872.             anyOf: [Array]
  1873.           },
  1874.           idHint: {
  1875.             description: 'Sets the hint for chunk id.',
  1876.             type: 'string'
  1877.           },
  1878.           layer: {
  1879.             description: 'Assign modules to a cache group by module layer.',
  1880.             anyOf: [Array]
  1881.           },
  1882.           maxAsyncRequests: {
  1883.             description: 'Maximum number of requests which are accepted for on-demand loading.',
  1884.             type: 'number',
  1885.             minimum: 1
  1886.           },
  1887.           maxAsyncSize: {
  1888.             description: 'Maximal size hint for the on-demand chunks.',
  1889.             oneOf: [Array]
  1890.           },
  1891.           maxInitialRequests: {
  1892.             description: 'Maximum number of initial chunks which are accepted for an entry point.',
  1893.             type: 'number',
  1894.             minimum: 1
  1895.           },
  1896.           maxInitialSize: {
  1897.             description: 'Maximal size hint for the initial chunks.',
  1898.             oneOf: [Array]
  1899.           },
  1900.           maxSize: {
  1901.             description: 'Maximal size hint for the created chunks.',
  1902.             oneOf: [Array]
  1903.           },
  1904.           minChunks: {
  1905.             description: "Minimum number of times a module has to be duplicated until it's considered for splitting.",
  1906.             type: 'number',
  1907.             minimum: 1
  1908.           },
  1909.           minRemainingSize: {
  1910.             description: 'Minimal size for the chunks the stay after moving the modules to a new chunk.',
  1911.             oneOf: [Array]
  1912.           },
  1913.           minSize: {
  1914.             description: 'Minimal size for the created chunk.',
  1915.             oneOf: [Array]
  1916.           },
  1917.           minSizeReduction: {
  1918.             description: 'Minimum size reduction due to the created chunk.',
  1919.             oneOf: [Array]
  1920.           },
  1921.           name: {
  1922.             description: 'Give chunks for this cache group a name (chunks with equal name are merged).',
  1923.             anyOf: [Array]
  1924.           },
  1925.           priority: {
  1926.             description: 'Priority of this cache group.',
  1927.             type: 'number'
  1928.           },
  1929.           reuseExistingChunk: {
  1930.             description: 'Try to reuse existing chunk (with name) when it has matching modules.',
  1931.             type: 'boolean'
  1932.           },
  1933.           test: {
  1934.             description: 'Assign modules to a cache group by module name.',
  1935.             anyOf: [Array]
  1936.           },
  1937.           type: {
  1938.             description: 'Assign modules to a cache group by module type.',
  1939.             anyOf: [Array]
  1940.           },
  1941.           usedExports: {
  1942.             description: 'Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.',
  1943.             type: 'boolean'
  1944.           }
  1945.         }
  1946.       },
  1947.       OptimizationSplitChunksGetCacheGroups: {
  1948.         description: 'A function returning cache groups.',
  1949.         instanceof: 'Function',
  1950.         tsType: "((module: import('../lib/Module')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"
  1951.       },
  1952.       OptimizationSplitChunksOptions: {
  1953.         description: 'Options object for splitting chunks into smaller chunks.',
  1954.         type: 'object',
  1955.         additionalProperties: false,
  1956.         properties: {
  1957.           automaticNameDelimiter: {
  1958.             description: 'Sets the name delimiter for created chunks.',
  1959.             type: 'string',
  1960.             minLength: 1
  1961.           },
  1962.           cacheGroups: {
  1963.             description: "Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: 'default', 'defaultVendors').",
  1964.             type: 'object',
  1965.             additionalProperties: [Object],
  1966.             not: [Object]
  1967.           },
  1968.           chunks: {
  1969.             description: 'Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML).',
  1970.             anyOf: [Array]
  1971.           },
  1972.           defaultSizeTypes: {
  1973.             description: 'Sets the size types which are used when a number is used for sizes.',
  1974.             type: 'array',
  1975.             items: [Object],
  1976.             minItems: 1
  1977.           },
  1978.           enforceSizeThreshold: {
  1979.             description: 'Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.',
  1980.             oneOf: [Array]
  1981.           },
  1982.           fallbackCacheGroup: {
  1983.             description: 'Options for modules not selected by any other cache group.',
  1984.             type: 'object',
  1985.             additionalProperties: false,
  1986.             properties: [Object]
  1987.           },
  1988.           filename: {
  1989.             description: 'Sets the template for the filename for created chunks.',
  1990.             anyOf: [Array]
  1991.           },
  1992.           hidePathInfo: {
  1993.             description: 'Prevents exposing path info when creating names for parts splitted by maxSize.',
  1994.             type: 'boolean'
  1995.           },
  1996.           maxAsyncRequests: {
  1997.             description: 'Maximum number of requests which are accepted for on-demand loading.',
  1998.             type: 'number',
  1999.             minimum: 1
  2000.           },
  2001.           maxAsyncSize: {
  2002.             description: 'Maximal size hint for the on-demand chunks.',
  2003.             oneOf: [Array]
  2004.           },
  2005.           maxInitialRequests: {
  2006.             description: 'Maximum number of initial chunks which are accepted for an entry point.',
  2007.             type: 'number',
  2008.             minimum: 1
  2009.           },
  2010.           maxInitialSize: {
  2011.             description: 'Maximal size hint for the initial chunks.',
  2012.             oneOf: [Array]
  2013.           },
  2014.           maxSize: {
  2015.             description: 'Maximal size hint for the created chunks.',
  2016.             oneOf: [Array]
  2017.           },
  2018.           minChunks: {
  2019.             description: "Minimum number of times a module has to be duplicated until it's considered for splitting.",
  2020.             type: 'number',
  2021.             minimum: 1
  2022.           },
  2023.           minRemainingSize: {
  2024.             description: 'Minimal size for the chunks the stay after moving the modules to a new chunk.',
  2025.             oneOf: [Array]
  2026.           },
  2027.           minSize: {
  2028.             description: 'Minimal size for the created chunks.',
  2029.             oneOf: [Array]
  2030.           },
  2031.           minSizeReduction: {
  2032.             description: 'Minimum size reduction due to the created chunk.',
  2033.             oneOf: [Array]
  2034.           },
  2035.           name: {
  2036.             description: 'Give chunks created a name (chunks with equal name are merged).',
  2037.             anyOf: [Array]
  2038.           },
  2039.           usedExports: {
  2040.             description: 'Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.',
  2041.             type: 'boolean'
  2042.           }
  2043.         }
  2044.       },
  2045.       OptimizationSplitChunksSizes: {
  2046.         description: 'Size description for limits.',
  2047.         anyOf: [
  2048.           {
  2049.             description: 'Size of the javascript part of the chunk.',
  2050.             type: 'number',
  2051.             minimum: 0
  2052.           },
  2053.           {
  2054.             description: 'Specify size limits per size type.',
  2055.             type: 'object',
  2056.             additionalProperties: [Object]
  2057.           }
  2058.         ]
  2059.       },
  2060.       Output: {
  2061.         description: 'Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.',
  2062.         type: 'object',
  2063.         additionalProperties: false,
  2064.         properties: {
  2065.           assetModuleFilename: { '$ref': '#/definitions/AssetModuleFilename' },
  2066.           asyncChunks: {
  2067.             description: 'Enable/disable creating async chunks that are loaded on demand.',
  2068.             type: 'boolean'
  2069.           },
  2070.           auxiliaryComment: { cli: [Object], oneOf: [Array] },
  2071.           charset: { '$ref': '#/definitions/Charset' },
  2072.           chunkFilename: { '$ref': '#/definitions/ChunkFilename' },
  2073.           chunkFormat: { '$ref': '#/definitions/ChunkFormat' },
  2074.           chunkLoadTimeout: { '$ref': '#/definitions/ChunkLoadTimeout' },
  2075.           chunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  2076.           chunkLoadingGlobal: { '$ref': '#/definitions/ChunkLoadingGlobal' },
  2077.           clean: { '$ref': '#/definitions/Clean' },
  2078.           compareBeforeEmit: { '$ref': '#/definitions/CompareBeforeEmit' },
  2079.           crossOriginLoading: { '$ref': '#/definitions/CrossOriginLoading' },
  2080.           cssChunkFilename: { '$ref': '#/definitions/CssChunkFilename' },
  2081.           cssFilename: { '$ref': '#/definitions/CssFilename' },
  2082.           devtoolFallbackModuleFilenameTemplate: {
  2083.             '$ref': '#/definitions/DevtoolFallbackModuleFilenameTemplate'
  2084.           },
  2085.           devtoolModuleFilenameTemplate: { '$ref': '#/definitions/DevtoolModuleFilenameTemplate' },
  2086.           devtoolNamespace: { '$ref': '#/definitions/DevtoolNamespace' },
  2087.           enabledChunkLoadingTypes: { '$ref': '#/definitions/EnabledChunkLoadingTypes' },
  2088.           enabledLibraryTypes: { '$ref': '#/definitions/EnabledLibraryTypes' },
  2089.           enabledWasmLoadingTypes: { '$ref': '#/definitions/EnabledWasmLoadingTypes' },
  2090.           environment: { '$ref': '#/definitions/Environment' },
  2091.           filename: { '$ref': '#/definitions/Filename' },
  2092.           globalObject: { '$ref': '#/definitions/GlobalObject' },
  2093.           hashDigest: { '$ref': '#/definitions/HashDigest' },
  2094.           hashDigestLength: { '$ref': '#/definitions/HashDigestLength' },
  2095.           hashFunction: { '$ref': '#/definitions/HashFunction' },
  2096.           hashSalt: { '$ref': '#/definitions/HashSalt' },
  2097.           hotUpdateChunkFilename: { '$ref': '#/definitions/HotUpdateChunkFilename' },
  2098.           hotUpdateGlobal: { '$ref': '#/definitions/HotUpdateGlobal' },
  2099.           hotUpdateMainFilename: { '$ref': '#/definitions/HotUpdateMainFilename' },
  2100.           iife: { '$ref': '#/definitions/Iife' },
  2101.           importFunctionName: { '$ref': '#/definitions/ImportFunctionName' },
  2102.           importMetaName: { '$ref': '#/definitions/ImportMetaName' },
  2103.           library: { '$ref': '#/definitions/Library' },
  2104.           libraryExport: { cli: [Object], oneOf: [Array] },
  2105.           libraryTarget: { cli: [Object], oneOf: [Array] },
  2106.           module: { '$ref': '#/definitions/OutputModule' },
  2107.           path: { '$ref': '#/definitions/Path' },
  2108.           pathinfo: { '$ref': '#/definitions/Pathinfo' },
  2109.           publicPath: { '$ref': '#/definitions/PublicPath' },
  2110.           scriptType: { '$ref': '#/definitions/ScriptType' },
  2111.           sourceMapFilename: { '$ref': '#/definitions/SourceMapFilename' },
  2112.           sourcePrefix: { '$ref': '#/definitions/SourcePrefix' },
  2113.           strictModuleErrorHandling: { '$ref': '#/definitions/StrictModuleErrorHandling' },
  2114.           strictModuleExceptionHandling: { '$ref': '#/definitions/StrictModuleExceptionHandling' },
  2115.           trustedTypes: {
  2116.             description: "Use a Trusted Types policy to create urls for chunks. 'output.uniqueName' is used a default policy name. Passing a string sets a custom policy name.",
  2117.             anyOf: [Array]
  2118.           },
  2119.           umdNamedDefine: { cli: [Object], oneOf: [Array] },
  2120.           uniqueName: { '$ref': '#/definitions/UniqueName' },
  2121.           wasmLoading: { '$ref': '#/definitions/WasmLoading' },
  2122.           webassemblyModuleFilename: { '$ref': '#/definitions/WebassemblyModuleFilename' },
  2123.           workerChunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  2124.           workerWasmLoading: { '$ref': '#/definitions/WasmLoading' }
  2125.         }
  2126.       },
  2127.       OutputModule: {
  2128.         description: 'Output javascript files as module source type.',
  2129.         type: 'boolean'
  2130.       },
  2131.       OutputNormalized: {
  2132.         description: 'Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.',
  2133.         type: 'object',
  2134.         additionalProperties: false,
  2135.         properties: {
  2136.           assetModuleFilename: { '$ref': '#/definitions/AssetModuleFilename' },
  2137.           asyncChunks: {
  2138.             description: 'Enable/disable creating async chunks that are loaded on demand.',
  2139.             type: 'boolean'
  2140.           },
  2141.           charset: { '$ref': '#/definitions/Charset' },
  2142.           chunkFilename: { '$ref': '#/definitions/ChunkFilename' },
  2143.           chunkFormat: { '$ref': '#/definitions/ChunkFormat' },
  2144.           chunkLoadTimeout: { '$ref': '#/definitions/ChunkLoadTimeout' },
  2145.           chunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  2146.           chunkLoadingGlobal: { '$ref': '#/definitions/ChunkLoadingGlobal' },
  2147.           clean: { '$ref': '#/definitions/Clean' },
  2148.           compareBeforeEmit: { '$ref': '#/definitions/CompareBeforeEmit' },
  2149.           crossOriginLoading: { '$ref': '#/definitions/CrossOriginLoading' },
  2150.           cssChunkFilename: { '$ref': '#/definitions/CssChunkFilename' },
  2151.           cssFilename: { '$ref': '#/definitions/CssFilename' },
  2152.           devtoolFallbackModuleFilenameTemplate: {
  2153.             '$ref': '#/definitions/DevtoolFallbackModuleFilenameTemplate'
  2154.           },
  2155.           devtoolModuleFilenameTemplate: { '$ref': '#/definitions/DevtoolModuleFilenameTemplate' },
  2156.           devtoolNamespace: { '$ref': '#/definitions/DevtoolNamespace' },
  2157.           enabledChunkLoadingTypes: { '$ref': '#/definitions/EnabledChunkLoadingTypes' },
  2158.           enabledLibraryTypes: { '$ref': '#/definitions/EnabledLibraryTypes' },
  2159.           enabledWasmLoadingTypes: { '$ref': '#/definitions/EnabledWasmLoadingTypes' },
  2160.           environment: { '$ref': '#/definitions/Environment' },
  2161.           filename: { '$ref': '#/definitions/Filename' },
  2162.           globalObject: { '$ref': '#/definitions/GlobalObject' },
  2163.           hashDigest: { '$ref': '#/definitions/HashDigest' },
  2164.           hashDigestLength: { '$ref': '#/definitions/HashDigestLength' },
  2165.           hashFunction: { '$ref': '#/definitions/HashFunction' },
  2166.           hashSalt: { '$ref': '#/definitions/HashSalt' },
  2167.           hotUpdateChunkFilename: { '$ref': '#/definitions/HotUpdateChunkFilename' },
  2168.           hotUpdateGlobal: { '$ref': '#/definitions/HotUpdateGlobal' },
  2169.           hotUpdateMainFilename: { '$ref': '#/definitions/HotUpdateMainFilename' },
  2170.           iife: { '$ref': '#/definitions/Iife' },
  2171.           importFunctionName: { '$ref': '#/definitions/ImportFunctionName' },
  2172.           importMetaName: { '$ref': '#/definitions/ImportMetaName' },
  2173.           library: { '$ref': '#/definitions/LibraryOptions' },
  2174.           module: { '$ref': '#/definitions/OutputModule' },
  2175.           path: { '$ref': '#/definitions/Path' },
  2176.           pathinfo: { '$ref': '#/definitions/Pathinfo' },
  2177.           publicPath: { '$ref': '#/definitions/PublicPath' },
  2178.           scriptType: { '$ref': '#/definitions/ScriptType' },
  2179.           sourceMapFilename: { '$ref': '#/definitions/SourceMapFilename' },
  2180.           sourcePrefix: { '$ref': '#/definitions/SourcePrefix' },
  2181.           strictModuleErrorHandling: { '$ref': '#/definitions/StrictModuleErrorHandling' },
  2182.           strictModuleExceptionHandling: { '$ref': '#/definitions/StrictModuleExceptionHandling' },
  2183.           trustedTypes: { '$ref': '#/definitions/TrustedTypes' },
  2184.           uniqueName: { '$ref': '#/definitions/UniqueName' },
  2185.           wasmLoading: { '$ref': '#/definitions/WasmLoading' },
  2186.           webassemblyModuleFilename: { '$ref': '#/definitions/WebassemblyModuleFilename' },
  2187.           workerChunkLoading: { '$ref': '#/definitions/ChunkLoading' },
  2188.           workerWasmLoading: { '$ref': '#/definitions/WasmLoading' }
  2189.         }
  2190.       },
  2191.       Parallelism: {
  2192.         description: 'The number of parallel processed modules in the compilation.',
  2193.         type: 'number',
  2194.         minimum: 1
  2195.       },
  2196.       ParserOptionsByModuleType: {
  2197.         description: 'Specify options for each parser.',
  2198.         type: 'object',
  2199.         additionalProperties: {
  2200.           description: 'Options for parsing.',
  2201.           type: 'object',
  2202.           additionalProperties: true
  2203.         },
  2204.         properties: {
  2205.           asset: { '$ref': '#/definitions/AssetParserOptions' },
  2206.           'asset/inline': { '$ref': '#/definitions/EmptyParserOptions' },
  2207.           'asset/resource': { '$ref': '#/definitions/EmptyParserOptions' },
  2208.           'asset/source': { '$ref': '#/definitions/EmptyParserOptions' },
  2209.           javascript: { '$ref': '#/definitions/JavascriptParserOptions' },
  2210.           'javascript/auto': { '$ref': '#/definitions/JavascriptParserOptions' },
  2211.           'javascript/dynamic': { '$ref': '#/definitions/JavascriptParserOptions' },
  2212.           'javascript/esm': { '$ref': '#/definitions/JavascriptParserOptions' }
  2213.         }
  2214.       },
  2215.       Path: {
  2216.         description: 'The output directory as **absolute path** (required).',
  2217.         type: 'string',
  2218.         absolutePath: true
  2219.       },
  2220.       Pathinfo: {
  2221.         description: 'Include comments with information about the modules.',
  2222.         anyOf: [ { enum: [Array] }, { type: 'boolean' } ]
  2223.       },
  2224.       Performance: {
  2225.         description: 'Configuration for web performance recommendations.',
  2226.         anyOf: [
  2227.           { enum: [Array] },
  2228.           { '$ref': '#/definitions/PerformanceOptions' }
  2229.         ]
  2230.       },
  2231.       PerformanceOptions: {
  2232.         description: 'Configuration object for web performance recommendations.',
  2233.         type: 'object',
  2234.         additionalProperties: false,
  2235.         properties: {
  2236.           assetFilter: {
  2237.             description: 'Filter function to select assets that are checked.',
  2238.             instanceof: 'Function',
  2239.             tsType: 'Function'
  2240.           },
  2241.           hints: {
  2242.             description: 'Sets the format of the hints: warnings, errors or nothing at all.',
  2243.             enum: [Array]
  2244.           },
  2245.           maxAssetSize: {
  2246.             description: 'File size limit (in bytes) when exceeded, that webpack will provide performance hints.',
  2247.             type: 'number'
  2248.           },
  2249.           maxEntrypointSize: {
  2250.             description: 'Total size of an entry point (in bytes).',
  2251.             type: 'number'
  2252.           }
  2253.         }
  2254.       },
  2255.       Plugins: {
  2256.         description: 'Add additional plugins to the compiler.',
  2257.         type: 'array',
  2258.         items: {
  2259.           description: 'Plugin of type object or instanceof Function.',
  2260.           anyOf: [ [Object], [Object] ]
  2261.         }
  2262.       },
  2263.       Profile: {
  2264.         description: 'Capture timing information for each module.',
  2265.         type: 'boolean'
  2266.       },
  2267.       PublicPath: {
  2268.         description: "The 'publicPath' specifies the public URL address of the output files when referenced in a browser.",
  2269.         anyOf: [
  2270.           { enum: [Array] },
  2271.           { '$ref': '#/definitions/RawPublicPath' }
  2272.         ]
  2273.       },
  2274.       RawPublicPath: {
  2275.         description: "The 'publicPath' specifies the public URL address of the output files when referenced in a browser.",
  2276.         anyOf: [
  2277.           { type: 'string' },
  2278.           {
  2279.             instanceof: 'Function',
  2280.             tsType: '((pathData: import("../lib/Compilation").PathData, assetInfo?: import("../lib/Compilation").AssetInfo) => string)'
  2281.           }
  2282.         ]
  2283.       },
  2284.       RecordsInputPath: {
  2285.         description: 'Store compiler state to a json file.',
  2286.         anyOf: [ { enum: [Array] }, { type: 'string', absolutePath: true } ]
  2287.       },
  2288.       RecordsOutputPath: {
  2289.         description: 'Load compiler state from a json file.',
  2290.         anyOf: [ { enum: [Array] }, { type: 'string', absolutePath: true } ]
  2291.       },
  2292.       RecordsPath: {
  2293.         description: 'Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.',
  2294.         anyOf: [ { enum: [Array] }, { type: 'string', absolutePath: true } ]
  2295.       },
  2296.       Resolve: {
  2297.         description: 'Options for the resolver.',
  2298.         oneOf: [ { '$ref': '#/definitions/ResolveOptions' } ]
  2299.       },
  2300.       ResolveAlias: {
  2301.         description: 'Redirect module requests.',
  2302.         anyOf: [
  2303.           { type: 'array', items: [Object] },
  2304.           { type: 'object', additionalProperties: [Object] }
  2305.         ]
  2306.       },
  2307.       ResolveLoader: {
  2308.         description: 'Options for the resolver when resolving loaders.',
  2309.         oneOf: [ { '$ref': '#/definitions/ResolveOptions' } ]
  2310.       },
  2311.       ResolveOptions: {
  2312.         description: 'Options object for resolving requests.',
  2313.         type: 'object',
  2314.         additionalProperties: false,
  2315.         properties: {
  2316.           alias: { '$ref': '#/definitions/ResolveAlias' },
  2317.           aliasFields: {
  2318.             description: 'Fields in the description file (usually package.json) which are used to redirect requests inside the module.',
  2319.             type: 'array',
  2320.             items: [Object]
  2321.           },
  2322.           byDependency: {
  2323.             description: 'Extra resolve options per dependency category. Typical categories are "commonjs", "amd", "esm".',
  2324.             type: 'object',
  2325.             additionalProperties: [Object]
  2326.           },
  2327.           cache: {
  2328.             description: 'Enable caching of successfully resolved requests (cache entries are revalidated).',
  2329.             type: 'boolean'
  2330.           },
  2331.           cachePredicate: {
  2332.             description: 'Predicate function to decide which requests should be cached.',
  2333.             instanceof: 'Function',
  2334.             tsType: "((request: import('enhanced-resolve').ResolveRequest) => boolean)"
  2335.           },
  2336.           cacheWithContext: {
  2337.             description: 'Include the context information in the cache identifier when caching.',
  2338.             type: 'boolean'
  2339.           },
  2340.           conditionNames: {
  2341.             description: 'Condition names for exports field entry point.',
  2342.             type: 'array',
  2343.             items: [Object]
  2344.           },
  2345.           descriptionFiles: {
  2346.             description: 'Filenames used to find a description file (like a package.json).',
  2347.             type: 'array',
  2348.             items: [Object]
  2349.           },
  2350.           enforceExtension: {
  2351.             description: 'Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).',
  2352.             type: 'boolean'
  2353.           },
  2354.           exportsFields: {
  2355.             description: 'Field names from the description file (usually package.json) which are used to provide entry points of a package.',
  2356.             type: 'array',
  2357.             items: [Object]
  2358.           },
  2359.           extensionAlias: {
  2360.             description: 'An object which maps extension to extension aliases.',
  2361.             type: 'object',
  2362.             additionalProperties: [Object]
  2363.           },
  2364.           extensions: {
  2365.             description: 'Extensions added to the request when trying to find the file.',
  2366.             type: 'array',
  2367.             items: [Object]
  2368.           },
  2369.           fallback: {
  2370.             description: 'Redirect module requests when normal resolving fails.',
  2371.             oneOf: [Array]
  2372.           },
  2373.           fileSystem: {
  2374.             description: 'Filesystem for the resolver.',
  2375.             tsType: "(import('../lib/util/fs').InputFileSystem)"
  2376.           },
  2377.           fullySpecified: {
  2378.             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).",
  2379.             type: 'boolean'
  2380.           },
  2381.           importsFields: {
  2382.             description: 'Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).',
  2383.             type: 'array',
  2384.             items: [Object]
  2385.           },
  2386.           mainFields: {
  2387.             description: 'Field names from the description file (package.json) which are used to find the default entry point.',
  2388.             type: 'array',
  2389.             items: [Object]
  2390.           },
  2391.           mainFiles: {
  2392.             description: 'Filenames used to find the default entry point if there is no description file or main field.',
  2393.             type: 'array',
  2394.             items: [Object]
  2395.           },
  2396.           modules: {
  2397.             description: 'Folder names or directory paths where to find modules.',
  2398.             type: 'array',
  2399.             items: [Object]
  2400.           },
  2401.           plugins: {
  2402.             description: 'Plugins for the resolver.',
  2403.             type: 'array',
  2404.             cli: [Object],
  2405.             items: [Object]
  2406.           },
  2407.           preferAbsolute: {
  2408.             description: "Prefer to resolve server-relative URLs (starting with '/') as absolute paths before falling back to resolve in 'resolve.roots'.",
  2409.             type: 'boolean'
  2410.           },
  2411.           preferRelative: {
  2412.             description: 'Prefer to resolve module requests as relative request and fallback to resolving as module.',
  2413.             type: 'boolean'
  2414.           },
  2415.           resolver: {
  2416.             description: 'Custom resolver.',
  2417.             tsType: "(import('enhanced-resolve').Resolver)"
  2418.           },
  2419.           restrictions: {
  2420.             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.',
  2421.             type: 'array',
  2422.             items: [Object]
  2423.           },
  2424.           roots: {
  2425.             description: "A list of directories in which requests that are server-relative URLs (starting with '/') are resolved.",
  2426.             type: 'array',
  2427.             items: [Object]
  2428.           },
  2429.           symlinks: {
  2430.             description: 'Enable resolving symlinks to the original location.',
  2431.             type: 'boolean'
  2432.           },
  2433.           unsafeCache: {
  2434.             description: 'Enable caching of successfully resolved requests (cache entries are not revalidated).',
  2435.             anyOf: [Array]
  2436.           },
  2437.           useSyncFileSystemCalls: {
  2438.             description: 'Use synchronous filesystem calls for the resolver.',
  2439.             type: 'boolean'
  2440.           }
  2441.         }
  2442.       },
  2443.       ResolvePluginInstance: {
  2444.         description: 'Plugin instance.',
  2445.         type: 'object',
  2446.         additionalProperties: true,
  2447.         properties: {
  2448.           apply: {
  2449.             description: 'The run point of the plugin, required method.',
  2450.             instanceof: 'Function',
  2451.             tsType: "(resolver: import('enhanced-resolve').Resolver) => void"
  2452.           }
  2453.         },
  2454.         required: [ 'apply' ]
  2455.       },
  2456.       RuleSetCondition: {
  2457.         description: 'A condition matcher.',
  2458.         cli: { helper: true },
  2459.         anyOf: [
  2460.           { instanceof: 'RegExp', tsType: 'RegExp' },
  2461.           { type: 'string' },
  2462.           {
  2463.             instanceof: 'Function',
  2464.             tsType: '((value: string) => boolean)'
  2465.           },
  2466.           { '$ref': '#/definitions/RuleSetLogicalConditions' },
  2467.           { '$ref': '#/definitions/RuleSetConditions' }
  2468.         ]
  2469.       },
  2470.       RuleSetConditionAbsolute: {
  2471.         description: 'A condition matcher matching an absolute path.',
  2472.         cli: { helper: true },
  2473.         anyOf: [
  2474.           { instanceof: 'RegExp', tsType: 'RegExp' },
  2475.           { type: 'string', absolutePath: true },
  2476.           {
  2477.             instanceof: 'Function',
  2478.             tsType: '((value: string) => boolean)'
  2479.           },
  2480.           { '$ref': '#/definitions/RuleSetLogicalConditionsAbsolute' },
  2481.           { '$ref': '#/definitions/RuleSetConditionsAbsolute' }
  2482.         ]
  2483.       },
  2484.       RuleSetConditionOrConditions: {
  2485.         description: 'One or multiple rule conditions.',
  2486.         cli: { helper: true },
  2487.         anyOf: [
  2488.           { '$ref': '#/definitions/RuleSetCondition' },
  2489.           { '$ref': '#/definitions/RuleSetConditions' }
  2490.         ]
  2491.       },
  2492.       RuleSetConditionOrConditionsAbsolute: {
  2493.         description: 'One or multiple rule conditions matching an absolute path.',
  2494.         cli: { helper: true },
  2495.         anyOf: [
  2496.           { '$ref': '#/definitions/RuleSetConditionAbsolute' },
  2497.           { '$ref': '#/definitions/RuleSetConditionsAbsolute' }
  2498.         ]
  2499.       },
  2500.       RuleSetConditions: {
  2501.         description: 'A list of rule conditions.',
  2502.         type: 'array',
  2503.         items: { description: 'A rule condition.', oneOf: [ [Object] ] }
  2504.       },
  2505.       RuleSetConditionsAbsolute: {
  2506.         description: 'A list of rule conditions matching an absolute path.',
  2507.         type: 'array',
  2508.         items: {
  2509.           description: 'A rule condition matching an absolute path.',
  2510.           oneOf: [ [Object] ]
  2511.         }
  2512.       },
  2513.       RuleSetLoader: {
  2514.         description: 'A loader request.',
  2515.         type: 'string',
  2516.         minLength: 1
  2517.       },
  2518.       RuleSetLoaderOptions: {
  2519.         description: 'Options passed to a loader.',
  2520.         anyOf: [ { type: 'string' }, { type: 'object' } ]
  2521.       },
  2522.       RuleSetLogicalConditions: {
  2523.         description: 'Logic operators used in a condition matcher.',
  2524.         type: 'object',
  2525.         additionalProperties: false,
  2526.         properties: {
  2527.           and: { description: 'Logical AND.', oneOf: [Array] },
  2528.           not: { description: 'Logical NOT.', oneOf: [Array] },
  2529.           or: { description: 'Logical OR.', oneOf: [Array] }
  2530.         }
  2531.       },
  2532.       RuleSetLogicalConditionsAbsolute: {
  2533.         description: 'Logic operators used in a condition matcher.',
  2534.         type: 'object',
  2535.         additionalProperties: false,
  2536.         properties: {
  2537.           and: { description: 'Logical AND.', oneOf: [Array] },
  2538.           not: { description: 'Logical NOT.', oneOf: [Array] },
  2539.           or: { description: 'Logical OR.', oneOf: [Array] }
  2540.         }
  2541.       },
  2542.       RuleSetRule: {
  2543.         description: 'A rule description with conditions and effects for modules.',
  2544.         type: 'object',
  2545.         additionalProperties: false,
  2546.         properties: {
  2547.           assert: {
  2548.             description: 'Match on import assertions of the dependency.',
  2549.             type: 'object',
  2550.             additionalProperties: [Object]
  2551.           },
  2552.           compiler: {
  2553.             description: 'Match the child compiler name.',
  2554.             oneOf: [Array]
  2555.           },
  2556.           dependency: { description: 'Match dependency type.', oneOf: [Array] },
  2557.           descriptionData: {
  2558.             description: 'Match values of properties in the description file (usually package.json).',
  2559.             type: 'object',
  2560.             additionalProperties: [Object]
  2561.           },
  2562.           enforce: {
  2563.             description: 'Enforce this rule as pre or post step.',
  2564.             enum: [Array]
  2565.           },
  2566.           exclude: {
  2567.             description: 'Shortcut for resource.exclude.',
  2568.             oneOf: [Array]
  2569.           },
  2570.           generator: {
  2571.             description: 'The options for the module generator.',
  2572.             type: 'object'
  2573.           },
  2574.           include: {
  2575.             description: 'Shortcut for resource.include.',
  2576.             oneOf: [Array]
  2577.           },
  2578.           issuer: {
  2579.             description: 'Match the issuer of the module (The module pointing to this module).',
  2580.             oneOf: [Array]
  2581.           },
  2582.           issuerLayer: {
  2583.             description: 'Match layer of the issuer of this module (The module pointing to this module).',
  2584.             oneOf: [Array]
  2585.           },
  2586.           layer: {
  2587.             description: 'Specifies the layer in which the module should be placed in.',
  2588.             type: 'string'
  2589.           },
  2590.           loader: { description: 'Shortcut for use.loader.', oneOf: [Array] },
  2591.           mimetype: {
  2592.             description: 'Match module mimetype when load from Data URI.',
  2593.             oneOf: [Array]
  2594.           },
  2595.           oneOf: {
  2596.             description: 'Only execute the first matching rule in this array.',
  2597.             type: 'array',
  2598.             items: [Object]
  2599.           },
  2600.           options: {
  2601.             description: 'Shortcut for use.options.',
  2602.             cli: [Object],
  2603.             oneOf: [Array]
  2604.           },
  2605.           parser: {
  2606.             description: 'Options for parsing.',
  2607.             type: 'object',
  2608.             additionalProperties: true
  2609.           },
  2610.           realResource: {
  2611.             description: 'Match the real resource path of the module.',
  2612.             oneOf: [Array]
  2613.           },
  2614.           resolve: {
  2615.             description: 'Options for the resolver.',
  2616.             type: 'object',
  2617.             oneOf: [Array]
  2618.           },
  2619.           resource: {
  2620.             description: 'Match the resource path of the module.',
  2621.             oneOf: [Array]
  2622.           },
  2623.           resourceFragment: {
  2624.             description: 'Match the resource fragment of the module.',
  2625.             oneOf: [Array]
  2626.           },
  2627.           resourceQuery: {
  2628.             description: 'Match the resource query of the module.',
  2629.             oneOf: [Array]
  2630.           },
  2631.           rules: {
  2632.             description: 'Match and execute these rules when this rule is matched.',
  2633.             type: 'array',
  2634.             items: [Object]
  2635.           },
  2636.           scheme: { description: 'Match module scheme.', oneOf: [Array] },
  2637.           sideEffects: {
  2638.             description: 'Flags a module as with or without side effects.',
  2639.             type: 'boolean'
  2640.           },
  2641.           test: {
  2642.             description: 'Shortcut for resource.test.',
  2643.             oneOf: [Array]
  2644.           },
  2645.           type: {
  2646.             description: 'Module type to use for the module.',
  2647.             type: 'string'
  2648.           },
  2649.           use: {
  2650.             description: 'Modifiers applied to the module when rule is matched.',
  2651.             oneOf: [Array]
  2652.           }
  2653.         }
  2654.       },
  2655.       RuleSetRules: {
  2656.         description: 'A list of rules.',
  2657.         type: 'array',
  2658.         items: { description: 'A rule.', anyOf: [ [Object], [Object] ] }
  2659.       },
  2660.       RuleSetUse: {
  2661.         description: 'A list of descriptions of loaders applied.',
  2662.         anyOf: [
  2663.           { type: 'array', items: [Object] },
  2664.           {
  2665.             instanceof: 'Function',
  2666.             tsType: '((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])'
  2667.           },
  2668.           { '$ref': '#/definitions/RuleSetUseItem' }
  2669.         ]
  2670.       },
  2671.       RuleSetUseItem: {
  2672.         description: 'A description of an applied loader.',
  2673.         anyOf: [
  2674.           {
  2675.             type: 'object',
  2676.             additionalProperties: false,
  2677.             properties: [Object]
  2678.           },
  2679.           {
  2680.             instanceof: 'Function',
  2681.             tsType: '((data: object) => RuleSetUseItem|RuleSetUseItem[])'
  2682.           },
  2683.           { '$ref': '#/definitions/RuleSetLoader' }
  2684.         ]
  2685.       },
  2686.       ScriptType: {
  2687.         description: 'This option enables loading async chunks via a custom script type, such as script type="module".',
  2688.         enum: [ false, 'text/javascript', 'module' ]
  2689.       },
  2690.       SnapshotOptions: {
  2691.         description: 'Options affecting how file system snapshots are created and validated.',
  2692.         type: 'object',
  2693.         additionalProperties: false,
  2694.         properties: {
  2695.           buildDependencies: {
  2696.             description: 'Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.',
  2697.             type: 'object',
  2698.             additionalProperties: false,
  2699.             properties: [Object]
  2700.           },
  2701.           immutablePaths: {
  2702.             description: 'List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.',
  2703.             type: 'array',
  2704.             items: [Object]
  2705.           },
  2706.           managedPaths: {
  2707.             description: 'List of paths that are managed by a package manager and can be trusted to not be modified otherwise.',
  2708.             type: 'array',
  2709.             items: [Object]
  2710.           },
  2711.           module: {
  2712.             description: 'Options for snapshotting dependencies of modules to determine if they need to be built again.',
  2713.             type: 'object',
  2714.             additionalProperties: false,
  2715.             properties: [Object]
  2716.           },
  2717.           resolve: {
  2718.             description: 'Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.',
  2719.             type: 'object',
  2720.             additionalProperties: false,
  2721.             properties: [Object]
  2722.           },
  2723.           resolveBuildDependencies: {
  2724.             description: 'Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.',
  2725.             type: 'object',
  2726.             additionalProperties: false,
  2727.             properties: [Object]
  2728.           }
  2729.         }
  2730.       },
  2731.       SourceMapFilename: {
  2732.         description: "The filename of the SourceMaps for the JavaScript files. They are inside the 'output.path' directory.",
  2733.         type: 'string',
  2734.         absolutePath: false
  2735.       },
  2736.       SourcePrefix: {
  2737.         description: 'Prefixes every line of the source in the bundle with this string.',
  2738.         type: 'string'
  2739.       },
  2740.       StatsOptions: {
  2741.         description: 'Stats options object.',
  2742.         type: 'object',
  2743.         additionalProperties: false,
  2744.         properties: {
  2745.           all: {
  2746.             description: 'Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).',
  2747.             type: 'boolean'
  2748.           },
  2749.           assets: { description: 'Add assets information.', type: 'boolean' },
  2750.           assetsSort: {
  2751.             description: 'Sort the assets by that field.',
  2752.             type: 'string'
  2753.           },
  2754.           assetsSpace: {
  2755.             description: 'Space to display assets (groups will be collapsed to fit this space).',
  2756.             type: 'number'
  2757.           },
  2758.           builtAt: {
  2759.             description: 'Add built at time information.',
  2760.             type: 'boolean'
  2761.           },
  2762.           cached: {
  2763.             description: "Add information about cached (not built) modules (deprecated: use 'cachedModules' instead).",
  2764.             type: 'boolean'
  2765.           },
  2766.           cachedAssets: {
  2767.             description: 'Show cached assets (setting this to `false` only shows emitted files).',
  2768.             type: 'boolean'
  2769.           },
  2770.           cachedModules: {
  2771.             description: 'Add information about cached (not built) modules.',
  2772.             type: 'boolean'
  2773.           },
  2774.           children: { description: 'Add children information.', type: 'boolean' },
  2775.           chunkGroupAuxiliary: {
  2776.             description: 'Display auxiliary assets in chunk groups.',
  2777.             type: 'boolean'
  2778.           },
  2779.           chunkGroupChildren: {
  2780.             description: 'Display children of chunk groups.',
  2781.             type: 'boolean'
  2782.           },
  2783.           chunkGroupMaxAssets: {
  2784.             description: 'Limit of assets displayed in chunk groups.',
  2785.             type: 'number'
  2786.           },
  2787.           chunkGroups: {
  2788.             description: 'Display all chunk groups with the corresponding bundles.',
  2789.             type: 'boolean'
  2790.           },
  2791.           chunkModules: {
  2792.             description: 'Add built modules information to chunk information.',
  2793.             type: 'boolean'
  2794.           },
  2795.           chunkModulesSpace: {
  2796.             description: 'Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).',
  2797.             type: 'number'
  2798.           },
  2799.           chunkOrigins: {
  2800.             description: 'Add the origins of chunks and chunk merging info.',
  2801.             type: 'boolean'
  2802.           },
  2803.           chunkRelations: {
  2804.             description: 'Add information about parent, children and sibling chunks to chunk information.',
  2805.             type: 'boolean'
  2806.           },
  2807.           chunks: { description: 'Add chunk information.', type: 'boolean' },
  2808.           chunksSort: {
  2809.             description: 'Sort the chunks by that field.',
  2810.             type: 'string'
  2811.           },
  2812.           colors: {
  2813.             description: 'Enables/Disables colorful output.',
  2814.             anyOf: [Array]
  2815.           },
  2816.           context: {
  2817.             description: 'Context directory for request shortening.',
  2818.             type: 'string',
  2819.             absolutePath: true
  2820.           },
  2821.           dependentModules: {
  2822.             description: 'Show chunk modules that are dependencies of other modules of the chunk.',
  2823.             type: 'boolean'
  2824.           },
  2825.           depth: {
  2826.             description: 'Add module depth in module graph.',
  2827.             type: 'boolean'
  2828.           },
  2829.           entrypoints: {
  2830.             description: 'Display the entry points with the corresponding bundles.',
  2831.             anyOf: [Array]
  2832.           },
  2833.           env: { description: 'Add --env information.', type: 'boolean' },
  2834.           errorDetails: {
  2835.             description: 'Add details to errors (like resolving log).',
  2836.             anyOf: [Array]
  2837.           },
  2838.           errorStack: {
  2839.             description: 'Add internal stack trace to errors.',
  2840.             type: 'boolean'
  2841.           },
  2842.           errors: { description: 'Add errors.', type: 'boolean' },
  2843.           errorsCount: { description: 'Add errors count.', type: 'boolean' },
  2844.           exclude: {
  2845.             description: 'Please use excludeModules instead.',
  2846.             cli: [Object],
  2847.             anyOf: [Array]
  2848.           },
  2849.           excludeAssets: {
  2850.             description: 'Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.',
  2851.             oneOf: [Array]
  2852.           },
  2853.           excludeModules: {
  2854.             description: 'Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.',
  2855.             anyOf: [Array]
  2856.           },
  2857.           groupAssetsByChunk: {
  2858.             description: 'Group assets by how their are related to chunks.',
  2859.             type: 'boolean'
  2860.           },
  2861.           groupAssetsByEmitStatus: {
  2862.             description: 'Group assets by their status (emitted, compared for emit or cached).',
  2863.             type: 'boolean'
  2864.           },
  2865.           groupAssetsByExtension: {
  2866.             description: 'Group assets by their extension.',
  2867.             type: 'boolean'
  2868.           },
  2869.           groupAssetsByInfo: {
  2870.             description: 'Group assets by their asset info (immutable, development, hotModuleReplacement, etc).',
  2871.             type: 'boolean'
  2872.           },
  2873.           groupAssetsByPath: {
  2874.             description: 'Group assets by their path.',
  2875.             type: 'boolean'
  2876.           },
  2877.           groupModulesByAttributes: {
  2878.             description: 'Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).',
  2879.             type: 'boolean'
  2880.           },
  2881.           groupModulesByCacheStatus: {
  2882.             description: 'Group modules by their status (cached or built and cacheable).',
  2883.             type: 'boolean'
  2884.           },
  2885.           groupModulesByExtension: {
  2886.             description: 'Group modules by their extension.',
  2887.             type: 'boolean'
  2888.           },
  2889.           groupModulesByLayer: {
  2890.             description: 'Group modules by their layer.',
  2891.             type: 'boolean'
  2892.           },
  2893.           groupModulesByPath: {
  2894.             description: 'Group modules by their path.',
  2895.             type: 'boolean'
  2896.           },
  2897.           groupModulesByType: {
  2898.             description: 'Group modules by their type.',
  2899.             type: 'boolean'
  2900.           },
  2901.           groupReasonsByOrigin: {
  2902.             description: 'Group reasons by their origin module.',
  2903.             type: 'boolean'
  2904.           },
  2905.           hash: {
  2906.             description: 'Add the hash of the compilation.',
  2907.             type: 'boolean'
  2908.           },
  2909.           ids: { description: 'Add ids.', type: 'boolean' },
  2910.           logging: { description: 'Add logging output.', anyOf: [Array] },
  2911.           loggingDebug: {
  2912.             description: 'Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.',
  2913.             anyOf: [Array]
  2914.           },
  2915.           loggingTrace: {
  2916.             description: 'Add stack traces to logging output.',
  2917.             type: 'boolean'
  2918.           },
  2919.           moduleAssets: {
  2920.             description: 'Add information about assets inside modules.',
  2921.             type: 'boolean'
  2922.           },
  2923.           moduleTrace: {
  2924.             description: 'Add dependencies and origin of warnings/errors.',
  2925.             type: 'boolean'
  2926.           },
  2927.           modules: {
  2928.             description: 'Add built modules information.',
  2929.             type: 'boolean'
  2930.           },
  2931.           modulesSort: {
  2932.             description: 'Sort the modules by that field.',
  2933.             type: 'string'
  2934.           },
  2935.           modulesSpace: {
  2936.             description: 'Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).',
  2937.             type: 'number'
  2938.           },
  2939.           nestedModules: {
  2940.             description: 'Add information about modules nested in other modules (like with module concatenation).',
  2941.             type: 'boolean'
  2942.           },
  2943.           nestedModulesSpace: {
  2944.             description: 'Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).',
  2945.             type: 'number'
  2946.           },
  2947.           optimizationBailout: {
  2948.             description: 'Show reasons why optimization bailed out for modules.',
  2949.             type: 'boolean'
  2950.           },
  2951.           orphanModules: {
  2952.             description: 'Add information about orphan modules.',
  2953.             type: 'boolean'
  2954.           },
  2955.           outputPath: {
  2956.             description: 'Add output path information.',
  2957.             type: 'boolean'
  2958.           },
  2959.           performance: {
  2960.             description: 'Add performance hint flags.',
  2961.             type: 'boolean'
  2962.           },
  2963.           preset: {
  2964.             description: 'Preset for the default values.',
  2965.             anyOf: [Array]
  2966.           },
  2967.           providedExports: {
  2968.             description: 'Show exports provided by modules.',
  2969.             type: 'boolean'
  2970.           },
  2971.           publicPath: {
  2972.             description: 'Add public path information.',
  2973.             type: 'boolean'
  2974.           },
  2975.           reasons: {
  2976.             description: 'Add information about the reasons why modules are included.',
  2977.             type: 'boolean'
  2978.           },
  2979.           reasonsSpace: {
  2980.             description: 'Space to display reasons (groups will be collapsed to fit this space).',
  2981.             type: 'number'
  2982.           },
  2983.           relatedAssets: {
  2984.             description: 'Add information about assets that are related to other assets (like SourceMaps for assets).',
  2985.             type: 'boolean'
  2986.           },
  2987.           runtime: {
  2988.             description: "Add information about runtime modules (deprecated: use 'runtimeModules' instead).",
  2989.             type: 'boolean'
  2990.           },
  2991.           runtimeModules: {
  2992.             description: 'Add information about runtime modules.',
  2993.             type: 'boolean'
  2994.           },
  2995.           source: {
  2996.             description: 'Add the source code of modules.',
  2997.             type: 'boolean'
  2998.           },
  2999.           timings: { description: 'Add timing information.', type: 'boolean' },
  3000.           usedExports: {
  3001.             description: 'Show exports used by modules.',
  3002.             type: 'boolean'
  3003.           },
  3004.           version: {
  3005.             description: 'Add webpack version information.',
  3006.             type: 'boolean'
  3007.           },
  3008.           warnings: { description: 'Add warnings.', type: 'boolean' },
  3009.           warningsCount: { description: 'Add warnings count.', type: 'boolean' },
  3010.           warningsFilter: {
  3011.             description: 'Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.',
  3012.             oneOf: [Array]
  3013.           }
  3014.         }
  3015.       },
  3016.       StatsValue: {
  3017.         description: 'Stats options object or preset name.',
  3018.         anyOf: [
  3019.           { enum: [Array] },
  3020.           { type: 'boolean' },
  3021.           { '$ref': '#/definitions/StatsOptions' }
  3022.         ]
  3023.       },
  3024.       StrictModuleErrorHandling: {
  3025.         description: 'Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.',
  3026.         type: 'boolean'
  3027.       },
  3028.       StrictModuleExceptionHandling: {
  3029.         description: 'Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.',
  3030.         type: 'boolean'
  3031.       },
  3032.       Target: {
  3033.         description: 'Environment to build for. An array of environments to build for all of them when possible.',
  3034.         anyOf: [
  3035.           { type: 'array', items: [Object], minItems: 1 },
  3036.           { enum: [Array] },
  3037.           { type: 'string', minLength: 1 }
  3038.         ]
  3039.       },
  3040.       TrustedTypes: {
  3041.         description: 'Use a Trusted Types policy to create urls for chunks.',
  3042.         type: 'object',
  3043.         additionalProperties: false,
  3044.         properties: {
  3045.           policyName: {
  3046.             description: 'The name of the Trusted Types policy created by webpack to serve bundle chunks.',
  3047.             type: 'string',
  3048.             minLength: 1
  3049.           }
  3050.         }
  3051.       },
  3052.       UmdNamedDefine: {
  3053.         description: 'If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.',
  3054.         type: 'boolean'
  3055.       },
  3056.       UniqueName: {
  3057.         description: 'A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.',
  3058.         type: 'string',
  3059.         minLength: 1
  3060.       },
  3061.       WarningFilterItemTypes: {
  3062.         description: 'Filtering value, regexp or function.',
  3063.         cli: { helper: true },
  3064.         anyOf: [
  3065.           { instanceof: 'RegExp', tsType: 'RegExp' },
  3066.           { type: 'string', absolutePath: false },
  3067.           {
  3068.             instanceof: 'Function',
  3069.             tsType: "((warning: import('../lib/stats/DefaultStatsFactoryPlugin').StatsError, value: string) => boolean)"
  3070.           }
  3071.         ]
  3072.       },
  3073.       WarningFilterTypes: {
  3074.         description: 'Filtering warnings.',
  3075.         cli: { helper: true },
  3076.         anyOf: [
  3077.           { type: 'array', items: [Object] },
  3078.           { '$ref': '#/definitions/WarningFilterItemTypes' }
  3079.         ]
  3080.       },
  3081.       WasmLoading: {
  3082.         description: "The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).",
  3083.         anyOf: [
  3084.           { enum: [Array] },
  3085.           { '$ref': '#/definitions/WasmLoadingType' }
  3086.         ]
  3087.       },
  3088.       WasmLoadingType: {
  3089.         description: "The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).",
  3090.         anyOf: [ { enum: [Array] }, { type: 'string' } ]
  3091.       },
  3092.       Watch: {
  3093.         description: 'Enter watch mode, which rebuilds on file change.',
  3094.         type: 'boolean'
  3095.       },
  3096.       WatchOptions: {
  3097.         description: 'Options for the watcher.',
  3098.         type: 'object',
  3099.         additionalProperties: false,
  3100.         properties: {
  3101.           aggregateTimeout: {
  3102.             description: 'Delay the rebuilt after the first change. Value is a time in ms.',
  3103.             type: 'number'
  3104.           },
  3105.           followSymlinks: {
  3106.             description: "Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks ('resolve.symlinks').",
  3107.             type: 'boolean'
  3108.           },
  3109.           ignored: {
  3110.             description: 'Ignore some files from watching (glob pattern or regexp).',
  3111.             anyOf: [Array]
  3112.           },
  3113.           poll: {
  3114.             description: 'Enable polling mode for watching.',
  3115.             anyOf: [Array]
  3116.           },
  3117.           stdin: {
  3118.             description: 'Stop watching when stdin stream has ended.',
  3119.             type: 'boolean'
  3120.           }
  3121.         }
  3122.       },
  3123.       WebassemblyModuleFilename: {
  3124.         description: "The filename of WebAssembly modules as relative path inside the 'output.path' directory.",
  3125.         type: 'string',
  3126.         absolutePath: false
  3127.       },
  3128.       WebpackOptionsNormalized: {
  3129.         description: 'Normalized webpack options object.',
  3130.         type: 'object',
  3131.         additionalProperties: false,
  3132.         properties: {
  3133.           amd: { '$ref': '#/definitions/Amd' },
  3134.           bail: { '$ref': '#/definitions/Bail' },
  3135.           cache: { '$ref': '#/definitions/CacheOptionsNormalized' },
  3136.           context: { '$ref': '#/definitions/Context' },
  3137.           dependencies: { '$ref': '#/definitions/Dependencies' },
  3138.           devServer: { '$ref': '#/definitions/DevServer' },
  3139.           devtool: { '$ref': '#/definitions/DevTool' },
  3140.           entry: { '$ref': '#/definitions/EntryNormalized' },
  3141.           experiments: { '$ref': '#/definitions/ExperimentsNormalized' },
  3142.           externals: { '$ref': '#/definitions/Externals' },
  3143.           externalsPresets: { '$ref': '#/definitions/ExternalsPresets' },
  3144.           externalsType: { '$ref': '#/definitions/ExternalsType' },
  3145.           ignoreWarnings: { '$ref': '#/definitions/IgnoreWarningsNormalized' },
  3146.           infrastructureLogging: { '$ref': '#/definitions/InfrastructureLogging' },
  3147.           loader: { '$ref': '#/definitions/Loader' },
  3148.           mode: { '$ref': '#/definitions/Mode' },
  3149.           module: { '$ref': '#/definitions/ModuleOptionsNormalized' },
  3150.           name: { '$ref': '#/definitions/Name' },
  3151.           node: { '$ref': '#/definitions/Node' },
  3152.           optimization: { '$ref': '#/definitions/Optimization' },
  3153.           output: { '$ref': '#/definitions/OutputNormalized' },
  3154.           parallelism: { '$ref': '#/definitions/Parallelism' },
  3155.           performance: { '$ref': '#/definitions/Performance' },
  3156.           plugins: { '$ref': '#/definitions/Plugins' },
  3157.           profile: { '$ref': '#/definitions/Profile' },
  3158.           recordsInputPath: { '$ref': '#/definitions/RecordsInputPath' },
  3159.           recordsOutputPath: { '$ref': '#/definitions/RecordsOutputPath' },
  3160.           resolve: { '$ref': '#/definitions/Resolve' },
  3161.           resolveLoader: { '$ref': '#/definitions/ResolveLoader' },
  3162.           snapshot: { '$ref': '#/definitions/SnapshotOptions' },
  3163.           stats: { '$ref': '#/definitions/StatsValue' },
  3164.           target: { '$ref': '#/definitions/Target' },
  3165.           watch: { '$ref': '#/definitions/Watch' },
  3166.           watchOptions: { '$ref': '#/definitions/WatchOptions' }
  3167.         },
  3168.         required: [
  3169.           'cache',
  3170.           'snapshot',
  3171.           'entry',
  3172.           'experiments',
  3173.           'externals',
  3174.           'externalsPresets',
  3175.           'infrastructureLogging',
  3176.           'module',
  3177.           'node',
  3178.           'optimization',
  3179.           'output',
  3180.           'plugins',
  3181.           'resolve',
  3182.           'resolveLoader',
  3183.           'stats',
  3184.           'watchOptions'
  3185.         ]
  3186.       },
  3187.       WebpackPluginFunction: {
  3188.         description: 'Function acting as plugin.',
  3189.         instanceof: 'Function',
  3190.         tsType: "(this: import('../lib/Compiler'), compiler: import('../lib/Compiler')) => void"
  3191.       },
  3192.       WebpackPluginInstance: {
  3193.         description: 'Plugin instance.',
  3194.         type: 'object',
  3195.         additionalProperties: true,
  3196.         properties: {
  3197.           apply: {
  3198.             description: 'The run point of the plugin, required method.',
  3199.             instanceof: 'Function',
  3200.             tsType: "(compiler: import('../lib/Compiler')) => void"
  3201.           }
  3202.         },
  3203.         required: [ 'apply' ]
  3204.       }
  3205.     },
  3206.     title: 'WebpackOptions',
  3207.     description: 'Options object as provided by the user.',
  3208.     type: 'object',
  3209.     additionalProperties: false,
  3210.     properties: {
  3211.       amd: { '$ref': '#/definitions/Amd' },
  3212.       bail: { '$ref': '#/definitions/Bail' },
  3213.       cache: { '$ref': '#/definitions/CacheOptions' },
  3214.       context: { '$ref': '#/definitions/Context' },
  3215.       dependencies: { '$ref': '#/definitions/Dependencies' },
  3216.       devServer: { '$ref': '#/definitions/DevServer' },
  3217.       devtool: { '$ref': '#/definitions/DevTool' },
  3218.       entry: { '$ref': '#/definitions/Entry' },
  3219.       experiments: { '$ref': '#/definitions/Experiments' },
  3220.       externals: { '$ref': '#/definitions/Externals' },
  3221.       externalsPresets: { '$ref': '#/definitions/ExternalsPresets' },
  3222.       externalsType: { '$ref': '#/definitions/ExternalsType' },
  3223.       ignoreWarnings: { '$ref': '#/definitions/IgnoreWarnings' },
  3224.       infrastructureLogging: { '$ref': '#/definitions/InfrastructureLogging' },
  3225.       loader: { '$ref': '#/definitions/Loader' },
  3226.       mode: { '$ref': '#/definitions/Mode' },
  3227.       module: { '$ref': '#/definitions/ModuleOptions' },
  3228.       name: { '$ref': '#/definitions/Name' },
  3229.       node: { '$ref': '#/definitions/Node' },
  3230.       optimization: { '$ref': '#/definitions/Optimization' },
  3231.       output: { '$ref': '#/definitions/Output' },
  3232.       parallelism: { '$ref': '#/definitions/Parallelism' },
  3233.       performance: { '$ref': '#/definitions/Performance' },
  3234.       plugins: { '$ref': '#/definitions/Plugins' },
  3235.       profile: { '$ref': '#/definitions/Profile' },
  3236.       recordsInputPath: { '$ref': '#/definitions/RecordsInputPath' },
  3237.       recordsOutputPath: { '$ref': '#/definitions/RecordsOutputPath' },
  3238.       recordsPath: { '$ref': '#/definitions/RecordsPath' },
  3239.       resolve: { '$ref': '#/definitions/Resolve' },
  3240.       resolveLoader: { '$ref': '#/definitions/ResolveLoader' },
  3241.       snapshot: { '$ref': '#/definitions/SnapshotOptions' },
  3242.       stats: { '$ref': '#/definitions/StatsValue' },
  3243.       target: { '$ref': '#/definitions/Target' },
  3244.       watch: { '$ref': '#/definitions/Watch' },
  3245.       watchOptions: { '$ref': '#/definitions/WatchOptions' }
  3246.     }
  3247.   },
  3248.   headerName: 'Webpack',
  3249.   baseDataPath: 'configuration',
  3250.   postFormatter: [Function: postFormatter]