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