@eriche/webpack 4.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +784 -0
  3. package/SECURITY.md +9 -0
  4. package/bin/webpack.js +171 -0
  5. package/buildin/amd-define.js +3 -0
  6. package/buildin/amd-options.js +2 -0
  7. package/buildin/global.js +20 -0
  8. package/buildin/harmony-module.js +24 -0
  9. package/buildin/module.js +22 -0
  10. package/buildin/system.js +7 -0
  11. package/declarations/WebpackOptions.d.ts +1466 -0
  12. package/declarations/plugins/BannerPlugin.d.ts +49 -0
  13. package/declarations/plugins/DllPlugin.d.ts +32 -0
  14. package/declarations/plugins/DllReferencePlugin.d.ts +126 -0
  15. package/declarations/plugins/HashedModuleIdsPlugin.d.ts +24 -0
  16. package/declarations/plugins/IgnorePlugin.d.ts +27 -0
  17. package/declarations/plugins/LoaderOptionsPlugin.d.ts +27 -0
  18. package/declarations/plugins/ProgressPlugin.d.ts +42 -0
  19. package/declarations/plugins/SourceMapDevToolPlugin.d.ts +94 -0
  20. package/declarations/plugins/WatchIgnorePlugin.d.ts +10 -0
  21. package/declarations/plugins/debug/ProfilingPlugin.d.ts +12 -0
  22. package/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts +24 -0
  23. package/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts +16 -0
  24. package/declarations/plugins/optimize/MinChunkSizePlugin.d.ts +12 -0
  25. package/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts +12 -0
  26. package/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts +12 -0
  27. package/hot/dev-server.js +61 -0
  28. package/hot/emitter.js +2 -0
  29. package/hot/log-apply-result.js +44 -0
  30. package/hot/log.js +59 -0
  31. package/hot/only-dev-server.js +102 -0
  32. package/hot/poll.js +37 -0
  33. package/hot/signal.js +62 -0
  34. package/lib/APIPlugin.js +84 -0
  35. package/lib/AbstractMethodError.js +43 -0
  36. package/lib/AmdMainTemplatePlugin.js +106 -0
  37. package/lib/AsyncDependenciesBlock.js +110 -0
  38. package/lib/AsyncDependencyToInitialChunkError.js +31 -0
  39. package/lib/AutomaticPrefetchPlugin.js +57 -0
  40. package/lib/BannerPlugin.js +122 -0
  41. package/lib/BasicEvaluatedExpression.js +248 -0
  42. package/lib/CachePlugin.js +100 -0
  43. package/lib/CaseSensitiveModulesWarning.js +67 -0
  44. package/lib/Chunk.js +875 -0
  45. package/lib/ChunkGroup.js +513 -0
  46. package/lib/ChunkRenderError.js +32 -0
  47. package/lib/ChunkTemplate.js +87 -0
  48. package/lib/CommentCompilationWarning.js +32 -0
  49. package/lib/CommonJsStuffPlugin.js +116 -0
  50. package/lib/CompatibilityPlugin.js +70 -0
  51. package/lib/Compilation.js +2327 -0
  52. package/lib/Compiler.js +735 -0
  53. package/lib/ConcurrentCompilationError.js +19 -0
  54. package/lib/ConstPlugin.js +348 -0
  55. package/lib/ContextExclusionPlugin.js +28 -0
  56. package/lib/ContextModule.js +872 -0
  57. package/lib/ContextModuleFactory.js +262 -0
  58. package/lib/ContextReplacementPlugin.js +133 -0
  59. package/lib/DefinePlugin.js +289 -0
  60. package/lib/DelegatedModule.js +114 -0
  61. package/lib/DelegatedModuleFactoryPlugin.js +95 -0
  62. package/lib/DelegatedPlugin.js +39 -0
  63. package/lib/DependenciesBlock.js +124 -0
  64. package/lib/DependenciesBlockVariable.js +72 -0
  65. package/lib/Dependency.js +89 -0
  66. package/lib/DllEntryPlugin.js +54 -0
  67. package/lib/DllModule.js +60 -0
  68. package/lib/DllModuleFactory.js +29 -0
  69. package/lib/DllPlugin.js +49 -0
  70. package/lib/DllReferencePlugin.js +156 -0
  71. package/lib/DynamicEntryPlugin.js +94 -0
  72. package/lib/EntryModuleNotFoundError.js +21 -0
  73. package/lib/EntryOptionPlugin.js +46 -0
  74. package/lib/Entrypoint.js +64 -0
  75. package/lib/EnvironmentPlugin.js +72 -0
  76. package/lib/ErrorHelpers.js +60 -0
  77. package/lib/EvalDevToolModulePlugin.js +27 -0
  78. package/lib/EvalDevToolModuleTemplatePlugin.js +61 -0
  79. package/lib/EvalSourceMapDevToolModuleTemplatePlugin.js +120 -0
  80. package/lib/EvalSourceMapDevToolPlugin.js +41 -0
  81. package/lib/ExportPropertyMainTemplatePlugin.js +53 -0
  82. package/lib/ExtendedAPIPlugin.js +88 -0
  83. package/lib/ExternalModule.js +179 -0
  84. package/lib/ExternalModuleFactoryPlugin.js +110 -0
  85. package/lib/ExternalsPlugin.js +23 -0
  86. package/lib/FlagAllModulesAsUsedPlugin.js +38 -0
  87. package/lib/FlagDependencyExportsPlugin.js +174 -0
  88. package/lib/FlagDependencyUsagePlugin.js +116 -0
  89. package/lib/FlagInitialModulesAsUsedPlugin.js +36 -0
  90. package/lib/FunctionModulePlugin.js +19 -0
  91. package/lib/FunctionModuleTemplatePlugin.js +102 -0
  92. package/lib/Generator.js +60 -0
  93. package/lib/GraphHelpers.js +65 -0
  94. package/lib/HarmonyLinkingError.js +17 -0
  95. package/lib/HashedModuleIdsPlugin.js +63 -0
  96. package/lib/HotModuleReplacement.runtime.js +721 -0
  97. package/lib/HotModuleReplacementPlugin.js +425 -0
  98. package/lib/HotUpdateChunk.js +17 -0
  99. package/lib/HotUpdateChunkTemplate.js +78 -0
  100. package/lib/IgnorePlugin.js +91 -0
  101. package/lib/JavascriptGenerator.js +229 -0
  102. package/lib/JavascriptModulesPlugin.js +185 -0
  103. package/lib/JsonGenerator.js +57 -0
  104. package/lib/JsonModulesPlugin.js +30 -0
  105. package/lib/JsonParser.js +27 -0
  106. package/lib/LibManifestPlugin.js +90 -0
  107. package/lib/LibraryTemplatePlugin.js +186 -0
  108. package/lib/LoaderOptionsPlugin.js +58 -0
  109. package/lib/LoaderTargetPlugin.js +24 -0
  110. package/lib/MainTemplate.js +568 -0
  111. package/lib/MemoryOutputFileSystem.js +5 -0
  112. package/lib/Module.js +435 -0
  113. package/lib/ModuleBuildError.js +52 -0
  114. package/lib/ModuleDependencyError.js +35 -0
  115. package/lib/ModuleDependencyWarning.js +25 -0
  116. package/lib/ModuleError.js +36 -0
  117. package/lib/ModuleFilenameHelpers.js +179 -0
  118. package/lib/ModuleNotFoundError.js +23 -0
  119. package/lib/ModuleParseError.js +67 -0
  120. package/lib/ModuleReason.js +48 -0
  121. package/lib/ModuleTemplate.js +93 -0
  122. package/lib/ModuleWarning.js +36 -0
  123. package/lib/MultiCompiler.js +290 -0
  124. package/lib/MultiEntryPlugin.js +80 -0
  125. package/lib/MultiModule.js +87 -0
  126. package/lib/MultiModuleFactory.js +23 -0
  127. package/lib/MultiStats.js +92 -0
  128. package/lib/MultiWatching.js +50 -0
  129. package/lib/NamedChunksPlugin.js +29 -0
  130. package/lib/NamedModulesPlugin.js +58 -0
  131. package/lib/NoEmitOnErrorsPlugin.js +20 -0
  132. package/lib/NoModeWarning.js +23 -0
  133. package/lib/NodeStuffPlugin.js +118 -0
  134. package/lib/NormalModule.js +582 -0
  135. package/lib/NormalModuleFactory.js +528 -0
  136. package/lib/NormalModuleReplacementPlugin.js +51 -0
  137. package/lib/NullFactory.js +12 -0
  138. package/lib/OptionsApply.js +10 -0
  139. package/lib/OptionsDefaulter.js +141 -0
  140. package/lib/Parser.js +2454 -0
  141. package/lib/ParserHelpers.js +103 -0
  142. package/lib/PrefetchPlugin.js +37 -0
  143. package/lib/ProgressPlugin.js +307 -0
  144. package/lib/ProvidePlugin.js +86 -0
  145. package/lib/RawModule.js +56 -0
  146. package/lib/RecordIdsPlugin.js +236 -0
  147. package/lib/RemovedPluginError.js +11 -0
  148. package/lib/RequestShortener.js +83 -0
  149. package/lib/RequireJsStuffPlugin.js +66 -0
  150. package/lib/ResolverFactory.js +74 -0
  151. package/lib/RuleSet.js +567 -0
  152. package/lib/RuntimeTemplate.js +336 -0
  153. package/lib/SetVarMainTemplatePlugin.js +69 -0
  154. package/lib/SingleEntryPlugin.js +63 -0
  155. package/lib/SizeFormatHelpers.js +24 -0
  156. package/lib/SourceMapDevToolModuleOptionsPlugin.js +49 -0
  157. package/lib/SourceMapDevToolPlugin.js +418 -0
  158. package/lib/Stats.js +1685 -0
  159. package/lib/SystemMainTemplatePlugin.js +137 -0
  160. package/lib/Template.js +291 -0
  161. package/lib/TemplatedPathPlugin.js +188 -0
  162. package/lib/UmdMainTemplatePlugin.js +305 -0
  163. package/lib/UnsupportedFeatureWarning.js +30 -0
  164. package/lib/UseStrictPlugin.js +54 -0
  165. package/lib/WarnCaseSensitiveModulesPlugin.js +37 -0
  166. package/lib/WarnNoModeSetPlugin.js +17 -0
  167. package/lib/WatchIgnorePlugin.js +106 -0
  168. package/lib/Watching.js +211 -0
  169. package/lib/WebpackError.js +31 -0
  170. package/lib/WebpackOptionsApply.js +546 -0
  171. package/lib/WebpackOptionsDefaulter.js +391 -0
  172. package/lib/WebpackOptionsValidationError.js +390 -0
  173. package/lib/buildChunkGraph.js +712 -0
  174. package/lib/compareLocations.js +52 -0
  175. package/lib/debug/ProfilingPlugin.js +442 -0
  176. package/lib/dependencies/AMDDefineDependency.js +137 -0
  177. package/lib/dependencies/AMDDefineDependencyParserPlugin.js +336 -0
  178. package/lib/dependencies/AMDPlugin.js +249 -0
  179. package/lib/dependencies/AMDRequireArrayDependency.js +49 -0
  180. package/lib/dependencies/AMDRequireContextDependency.js +20 -0
  181. package/lib/dependencies/AMDRequireDependenciesBlock.js +47 -0
  182. package/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +274 -0
  183. package/lib/dependencies/AMDRequireDependency.js +135 -0
  184. package/lib/dependencies/AMDRequireItemDependency.js +22 -0
  185. package/lib/dependencies/CommonJsPlugin.js +158 -0
  186. package/lib/dependencies/CommonJsRequireContextDependency.js +23 -0
  187. package/lib/dependencies/CommonJsRequireDependency.js +22 -0
  188. package/lib/dependencies/CommonJsRequireDependencyParserPlugin.js +138 -0
  189. package/lib/dependencies/ConstDependency.js +33 -0
  190. package/lib/dependencies/ContextDependency.js +68 -0
  191. package/lib/dependencies/ContextDependencyHelpers.js +232 -0
  192. package/lib/dependencies/ContextDependencyTemplateAsId.js +43 -0
  193. package/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +39 -0
  194. package/lib/dependencies/ContextElementDependency.js +21 -0
  195. package/lib/dependencies/CriticalDependencyWarning.js +20 -0
  196. package/lib/dependencies/DelegatedExportsDependency.js +33 -0
  197. package/lib/dependencies/DelegatedSourceDependency.js +18 -0
  198. package/lib/dependencies/DependencyReference.js +64 -0
  199. package/lib/dependencies/DllEntryDependency.js +20 -0
  200. package/lib/dependencies/HarmonyAcceptDependency.js +48 -0
  201. package/lib/dependencies/HarmonyAcceptImportDependency.js +23 -0
  202. package/lib/dependencies/HarmonyCompatibilityDependency.js +31 -0
  203. package/lib/dependencies/HarmonyDetectionParserPlugin.js +96 -0
  204. package/lib/dependencies/HarmonyExportDependencyParserPlugin.js +154 -0
  205. package/lib/dependencies/HarmonyExportExpressionDependency.js +58 -0
  206. package/lib/dependencies/HarmonyExportHeaderDependency.js +30 -0
  207. package/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +659 -0
  208. package/lib/dependencies/HarmonyExportSpecifierDependency.js +54 -0
  209. package/lib/dependencies/HarmonyImportDependency.js +109 -0
  210. package/lib/dependencies/HarmonyImportDependencyParserPlugin.js +222 -0
  211. package/lib/dependencies/HarmonyImportSideEffectDependency.js +31 -0
  212. package/lib/dependencies/HarmonyImportSpecifierDependency.js +163 -0
  213. package/lib/dependencies/HarmonyInitDependency.js +60 -0
  214. package/lib/dependencies/HarmonyModulesPlugin.js +143 -0
  215. package/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +26 -0
  216. package/lib/dependencies/ImportContextDependency.js +23 -0
  217. package/lib/dependencies/ImportDependenciesBlock.js +18 -0
  218. package/lib/dependencies/ImportDependency.js +34 -0
  219. package/lib/dependencies/ImportEagerDependency.js +32 -0
  220. package/lib/dependencies/ImportParserPlugin.js +248 -0
  221. package/lib/dependencies/ImportPlugin.js +79 -0
  222. package/lib/dependencies/ImportWeakDependency.js +34 -0
  223. package/lib/dependencies/JsonExportsDependency.js +26 -0
  224. package/lib/dependencies/LoaderDependency.js +21 -0
  225. package/lib/dependencies/LoaderPlugin.js +115 -0
  226. package/lib/dependencies/LocalModule.js +23 -0
  227. package/lib/dependencies/LocalModuleDependency.js +28 -0
  228. package/lib/dependencies/LocalModulesHelpers.js +52 -0
  229. package/lib/dependencies/ModuleDependency.js +23 -0
  230. package/lib/dependencies/ModuleDependencyTemplateAsId.js +17 -0
  231. package/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +17 -0
  232. package/lib/dependencies/ModuleHotAcceptDependency.js +23 -0
  233. package/lib/dependencies/ModuleHotDeclineDependency.js +23 -0
  234. package/lib/dependencies/MultiEntryDependency.js +25 -0
  235. package/lib/dependencies/NullDependency.js +20 -0
  236. package/lib/dependencies/PrefetchDependency.js +18 -0
  237. package/lib/dependencies/RequireContextDependency.js +22 -0
  238. package/lib/dependencies/RequireContextDependencyParserPlugin.js +56 -0
  239. package/lib/dependencies/RequireContextPlugin.js +143 -0
  240. package/lib/dependencies/RequireEnsureDependenciesBlock.js +33 -0
  241. package/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +116 -0
  242. package/lib/dependencies/RequireEnsureDependency.js +58 -0
  243. package/lib/dependencies/RequireEnsureItemDependency.js +21 -0
  244. package/lib/dependencies/RequireEnsurePlugin.js +74 -0
  245. package/lib/dependencies/RequireHeaderDependency.js +26 -0
  246. package/lib/dependencies/RequireIncludeDependency.js +39 -0
  247. package/lib/dependencies/RequireIncludeDependencyParserPlugin.js +23 -0
  248. package/lib/dependencies/RequireIncludePlugin.js +61 -0
  249. package/lib/dependencies/RequireResolveContextDependency.js +23 -0
  250. package/lib/dependencies/RequireResolveDependency.js +22 -0
  251. package/lib/dependencies/RequireResolveDependencyParserPlugin.js +86 -0
  252. package/lib/dependencies/RequireResolveHeaderDependency.js +26 -0
  253. package/lib/dependencies/SingleEntryDependency.js +21 -0
  254. package/lib/dependencies/SystemPlugin.js +122 -0
  255. package/lib/dependencies/UnsupportedDependency.js +27 -0
  256. package/lib/dependencies/WebAssemblyExportImportedDependency.js +31 -0
  257. package/lib/dependencies/WebAssemblyImportDependency.js +54 -0
  258. package/lib/dependencies/WebpackMissingModule.js +20 -0
  259. package/lib/dependencies/getFunctionExpression.js +52 -0
  260. package/lib/formatLocation.js +75 -0
  261. package/lib/logging/Logger.js +128 -0
  262. package/lib/logging/createConsoleLogger.js +210 -0
  263. package/lib/logging/runtime.js +36 -0
  264. package/lib/logging/truncateArgs.js +76 -0
  265. package/lib/node/NodeChunkTemplatePlugin.js +31 -0
  266. package/lib/node/NodeEnvironmentPlugin.js +44 -0
  267. package/lib/node/NodeHotUpdateChunkTemplatePlugin.js +36 -0
  268. package/lib/node/NodeMainTemplate.runtime.js +32 -0
  269. package/lib/node/NodeMainTemplateAsync.runtime.js +50 -0
  270. package/lib/node/NodeMainTemplatePlugin.js +321 -0
  271. package/lib/node/NodeOutputFileSystem.js +22 -0
  272. package/lib/node/NodeSourcePlugin.js +141 -0
  273. package/lib/node/NodeTargetPlugin.js +19 -0
  274. package/lib/node/NodeTemplatePlugin.js +31 -0
  275. package/lib/node/NodeWatchFileSystem.js +109 -0
  276. package/lib/node/ReadFileCompileWasmTemplatePlugin.js +61 -0
  277. package/lib/node/nodeConsole.js +135 -0
  278. package/lib/optimize/AggressiveMergingPlugin.js +87 -0
  279. package/lib/optimize/AggressiveSplittingPlugin.js +294 -0
  280. package/lib/optimize/ChunkModuleIdRangePlugin.js +66 -0
  281. package/lib/optimize/ConcatenatedModule.js +1477 -0
  282. package/lib/optimize/EnsureChunkConditionsPlugin.js +70 -0
  283. package/lib/optimize/FlagIncludedChunksPlugin.js +99 -0
  284. package/lib/optimize/LimitChunkCountPlugin.js +231 -0
  285. package/lib/optimize/MergeDuplicateChunksPlugin.js +78 -0
  286. package/lib/optimize/MinChunkSizePlugin.js +82 -0
  287. package/lib/optimize/MinMaxSizeWarning.js +29 -0
  288. package/lib/optimize/ModuleConcatenationPlugin.js +485 -0
  289. package/lib/optimize/NaturalChunkOrderPlugin.js +41 -0
  290. package/lib/optimize/OccurrenceChunkOrderPlugin.js +66 -0
  291. package/lib/optimize/OccurrenceModuleOrderPlugin.js +112 -0
  292. package/lib/optimize/OccurrenceOrderPlugin.js +135 -0
  293. package/lib/optimize/RemoveEmptyChunksPlugin.js +42 -0
  294. package/lib/optimize/RemoveParentModulesPlugin.js +127 -0
  295. package/lib/optimize/RuntimeChunkPlugin.js +41 -0
  296. package/lib/optimize/SideEffectsFlagPlugin.js +352 -0
  297. package/lib/optimize/SplitChunksPlugin.js +971 -0
  298. package/lib/performance/AssetsOverSizeLimitWarning.js +30 -0
  299. package/lib/performance/EntrypointsOverSizeLimitWarning.js +30 -0
  300. package/lib/performance/NoAsyncChunksWarning.js +21 -0
  301. package/lib/performance/SizeLimitsPlugin.js +125 -0
  302. package/lib/util/LazyBucketSortedSet.js +235 -0
  303. package/lib/util/Queue.js +46 -0
  304. package/lib/util/Semaphore.js +53 -0
  305. package/lib/util/SetHelpers.js +48 -0
  306. package/lib/util/SortableSet.js +140 -0
  307. package/lib/util/StackedSetMap.js +142 -0
  308. package/lib/util/TrackingSet.js +35 -0
  309. package/lib/util/cachedMerge.js +35 -0
  310. package/lib/util/cleverMerge.js +77 -0
  311. package/lib/util/createHash.js +174 -0
  312. package/lib/util/deterministicGrouping.js +274 -0
  313. package/lib/util/hash/BatchedHash.js +71 -0
  314. package/lib/util/hash/md4.js +25 -0
  315. package/lib/util/hash/wasm-hash.js +174 -0
  316. package/lib/util/identifier.js +127 -0
  317. package/lib/util/objectToMap.js +16 -0
  318. package/lib/validateSchema.js +67 -0
  319. package/lib/wasm/UnsupportedWebAssemblyFeatureError.js +17 -0
  320. package/lib/wasm/WasmFinalizeExportsPlugin.js +69 -0
  321. package/lib/wasm/WasmMainTemplatePlugin.js +341 -0
  322. package/lib/wasm/WebAssemblyGenerator.js +458 -0
  323. package/lib/wasm/WebAssemblyInInitialChunkError.js +88 -0
  324. package/lib/wasm/WebAssemblyJavascriptGenerator.js +152 -0
  325. package/lib/wasm/WebAssemblyModulesPlugin.js +128 -0
  326. package/lib/wasm/WebAssemblyParser.js +175 -0
  327. package/lib/wasm/WebAssemblyUtils.js +59 -0
  328. package/lib/web/FetchCompileWasmTemplatePlugin.js +37 -0
  329. package/lib/web/JsonpChunkTemplatePlugin.js +71 -0
  330. package/lib/web/JsonpExportMainTemplatePlugin.js +50 -0
  331. package/lib/web/JsonpHotUpdateChunkTemplatePlugin.js +39 -0
  332. package/lib/web/JsonpMainTemplate.runtime.js +71 -0
  333. package/lib/web/JsonpMainTemplatePlugin.js +615 -0
  334. package/lib/web/JsonpTemplatePlugin.js +23 -0
  335. package/lib/web/WebEnvironmentPlugin.js +18 -0
  336. package/lib/webpack.js +206 -0
  337. package/lib/webpack.web.js +31 -0
  338. package/lib/webworker/WebWorkerChunkTemplatePlugin.js +35 -0
  339. package/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin.js +40 -0
  340. package/lib/webworker/WebWorkerMainTemplate.runtime.js +73 -0
  341. package/lib/webworker/WebWorkerMainTemplatePlugin.js +192 -0
  342. package/lib/webworker/WebWorkerTemplatePlugin.js +25 -0
  343. package/package.json +211 -0
  344. package/schemas/WebpackOptions.json +2285 -0
  345. package/schemas/ajv.absolutePath.js +57 -0
  346. package/schemas/plugins/BannerPlugin.json +101 -0
  347. package/schemas/plugins/DllPlugin.json +36 -0
  348. package/schemas/plugins/DllReferencePlugin.json +205 -0
  349. package/schemas/plugins/HashedModuleIdsPlugin.json +26 -0
  350. package/schemas/plugins/IgnorePlugin.json +37 -0
  351. package/schemas/plugins/LoaderOptionsPlugin.json +27 -0
  352. package/schemas/plugins/ProgressPlugin.json +52 -0
  353. package/schemas/plugins/SourceMapDevToolPlugin.json +185 -0
  354. package/schemas/plugins/WatchIgnorePlugin.json +18 -0
  355. package/schemas/plugins/debug/ProfilingPlugin.json +13 -0
  356. package/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
  357. package/schemas/plugins/optimize/LimitChunkCountPlugin.json +16 -0
  358. package/schemas/plugins/optimize/MinChunkSizePlugin.json +12 -0
  359. package/schemas/plugins/optimize/OccurrenceOrderChunkIdsPlugin.json +11 -0
  360. package/schemas/plugins/optimize/OccurrenceOrderModuleIdsPlugin.json +11 -0
  361. package/web_modules/node-libs-browser.js +0 -0
@@ -0,0 +1,1466 @@
1
+ /**
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+
7
+ /**
8
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
9
+ * via the `definition` "Entry".
10
+ */
11
+ export type Entry = EntryDynamic | EntryStatic;
12
+ /**
13
+ * A Function returning an entry object, an entry string, an entry array or a promise to these things.
14
+ *
15
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
16
+ * via the `definition` "EntryDynamic".
17
+ */
18
+ export type EntryDynamic = () => EntryStatic | Promise<EntryStatic>;
19
+ /**
20
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
21
+ * via the `definition` "EntryStatic".
22
+ */
23
+ export type EntryStatic = EntryObject | EntryItem;
24
+ /**
25
+ * A non-empty array of non-empty strings
26
+ *
27
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
28
+ * via the `definition` "NonEmptyArrayOfUniqueStringValues".
29
+ */
30
+ export type NonEmptyArrayOfUniqueStringValues = string[];
31
+ /**
32
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
33
+ * via the `definition` "EntryItem".
34
+ */
35
+ export type EntryItem = string | NonEmptyArrayOfUniqueStringValues;
36
+ /**
37
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
38
+ * via the `definition` "Externals".
39
+ */
40
+ export type Externals =
41
+ | ((
42
+ context: string,
43
+ request: string,
44
+ callback: (err?: Error, result?: string) => void
45
+ ) => void)
46
+ | ExternalItem
47
+ | (
48
+ | ((
49
+ context: string,
50
+ request: string,
51
+ callback: (err?: Error, result?: string) => void
52
+ ) => void)
53
+ | ExternalItem
54
+ )[];
55
+ /**
56
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
57
+ * via the `definition` "ExternalItem".
58
+ */
59
+ export type ExternalItem =
60
+ | string
61
+ | {
62
+ /**
63
+ * The dependency used for the external
64
+ */
65
+ [k: string]:
66
+ | string
67
+ | {
68
+ [k: string]: any;
69
+ }
70
+ | ArrayOfStringValues
71
+ | boolean;
72
+ }
73
+ | RegExp;
74
+ /**
75
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
76
+ * via the `definition` "ArrayOfStringValues".
77
+ */
78
+ export type ArrayOfStringValues = string[];
79
+ /**
80
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
81
+ * via the `definition` "FilterTypes".
82
+ */
83
+ export type FilterTypes = FilterItemTypes | FilterItemTypes[];
84
+ /**
85
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
86
+ * via the `definition` "FilterItemTypes".
87
+ */
88
+ export type FilterItemTypes = RegExp | string | ((value: string) => boolean);
89
+ /**
90
+ * One or multiple rule conditions
91
+ *
92
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
93
+ * via the `definition` "RuleSetConditionOrConditions".
94
+ */
95
+ export type RuleSetConditionOrConditions = RuleSetCondition | RuleSetConditions;
96
+ /**
97
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
98
+ * via the `definition` "RuleSetCondition".
99
+ */
100
+ export type RuleSetCondition =
101
+ | RegExp
102
+ | string
103
+ | ((value: string) => boolean)
104
+ | RuleSetConditions
105
+ | {
106
+ /**
107
+ * Logical AND
108
+ */
109
+ and?: RuleSetConditions;
110
+ /**
111
+ * Exclude all modules matching any of these conditions
112
+ */
113
+ exclude?: RuleSetConditionOrConditions;
114
+ /**
115
+ * Exclude all modules matching not any of these conditions
116
+ */
117
+ include?: RuleSetConditionOrConditions;
118
+ /**
119
+ * Logical NOT
120
+ */
121
+ not?: RuleSetConditions;
122
+ /**
123
+ * Logical OR
124
+ */
125
+ or?: RuleSetConditions;
126
+ /**
127
+ * Exclude all modules matching any of these conditions
128
+ */
129
+ test?: RuleSetConditionOrConditions;
130
+ };
131
+ /**
132
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
133
+ * via the `definition` "RuleSetConditions".
134
+ */
135
+ export type RuleSetConditions = RuleSetCondition[];
136
+ /**
137
+ * One or multiple rule conditions
138
+ *
139
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
140
+ * via the `definition` "RuleSetConditionOrConditionsAbsolute".
141
+ */
142
+ export type RuleSetConditionOrConditionsAbsolute =
143
+ | RuleSetConditionAbsolute
144
+ | RuleSetConditionsAbsolute;
145
+ /**
146
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
147
+ * via the `definition` "RuleSetConditionAbsolute".
148
+ */
149
+ export type RuleSetConditionAbsolute =
150
+ | RegExp
151
+ | string
152
+ | ((value: string) => boolean)
153
+ | RuleSetConditionsAbsolute
154
+ | {
155
+ /**
156
+ * Logical AND
157
+ */
158
+ and?: RuleSetConditionsAbsolute;
159
+ /**
160
+ * Exclude all modules matching any of these conditions
161
+ */
162
+ exclude?: RuleSetConditionOrConditionsAbsolute;
163
+ /**
164
+ * Exclude all modules matching not any of these conditions
165
+ */
166
+ include?: RuleSetConditionOrConditionsAbsolute;
167
+ /**
168
+ * Logical NOT
169
+ */
170
+ not?: RuleSetConditionsAbsolute;
171
+ /**
172
+ * Logical OR
173
+ */
174
+ or?: RuleSetConditionsAbsolute;
175
+ /**
176
+ * Exclude all modules matching any of these conditions
177
+ */
178
+ test?: RuleSetConditionOrConditionsAbsolute;
179
+ };
180
+ /**
181
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
182
+ * via the `definition` "RuleSetConditionsAbsolute".
183
+ */
184
+ export type RuleSetConditionsAbsolute = RuleSetConditionAbsolute[];
185
+ /**
186
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
187
+ * via the `definition` "RuleSetLoader".
188
+ */
189
+ export type RuleSetLoader = string;
190
+ /**
191
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
192
+ * via the `definition` "RuleSetUse".
193
+ */
194
+ export type RuleSetUse = RuleSetUseItem | Function | RuleSetUseItem[];
195
+ /**
196
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
197
+ * via the `definition` "RuleSetUseItem".
198
+ */
199
+ export type RuleSetUseItem =
200
+ | RuleSetLoader
201
+ | Function
202
+ | {
203
+ /**
204
+ * Unique loader identifier
205
+ */
206
+ ident?: string;
207
+ /**
208
+ * Loader name
209
+ */
210
+ loader?: RuleSetLoader;
211
+ /**
212
+ * Loader options
213
+ */
214
+ options?: RuleSetQuery;
215
+ /**
216
+ * Loader query
217
+ */
218
+ query?: RuleSetQuery;
219
+ };
220
+ /**
221
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
222
+ * via the `definition` "RuleSetQuery".
223
+ */
224
+ export type RuleSetQuery =
225
+ | {
226
+ [k: string]: any;
227
+ }
228
+ | string;
229
+ /**
230
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
231
+ * via the `definition` "ArrayOfStringOrStringArrayValues".
232
+ */
233
+ export type ArrayOfStringOrStringArrayValues = (string | string[])[];
234
+ /**
235
+ * Function acting as plugin
236
+ *
237
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
238
+ * via the `definition` "WebpackPluginFunction".
239
+ */
240
+ export type WebpackPluginFunction = (
241
+ this: import("../lib/Compiler"),
242
+ compiler: import("../lib/Compiler")
243
+ ) => void;
244
+ /**
245
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
246
+ * via the `definition` "RuleSetRules".
247
+ */
248
+ export type RuleSetRules = RuleSetRule[];
249
+
250
+ export interface WebpackOptions {
251
+ /**
252
+ * Set the value of `require.amd` and `define.amd`. Or disable AMD support.
253
+ */
254
+ amd?:
255
+ | false
256
+ | {
257
+ [k: string]: any;
258
+ };
259
+ /**
260
+ * Report the first error as a hard error instead of tolerating it.
261
+ */
262
+ bail?: boolean;
263
+ /**
264
+ * Cache generated modules and chunks to improve performance for multiple incremental builds.
265
+ */
266
+ cache?:
267
+ | boolean
268
+ | {
269
+ [k: string]: any;
270
+ };
271
+ /**
272
+ * The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.
273
+ */
274
+ context?: string;
275
+ /**
276
+ * References to other configurations to depend on.
277
+ */
278
+ dependencies?: string[];
279
+ /**
280
+ * Options for the webpack-dev-server
281
+ */
282
+ devServer?: {
283
+ [k: string]: any;
284
+ };
285
+ /**
286
+ * A developer tool to enhance debugging.
287
+ */
288
+ devtool?: string | false;
289
+ /**
290
+ * The entry point(s) of the compilation.
291
+ */
292
+ entry?: Entry;
293
+ /**
294
+ * 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`.
295
+ */
296
+ externals?: Externals;
297
+ /**
298
+ * Options for infrastructure level logging
299
+ */
300
+ infrastructureLogging?: {
301
+ /**
302
+ * Enable debug logging for specific loggers
303
+ */
304
+ debug?: FilterTypes | boolean;
305
+ /**
306
+ * Log level
307
+ */
308
+ level?: "none" | "error" | "warn" | "info" | "log" | "verbose";
309
+ };
310
+ /**
311
+ * Custom values available in the loader context.
312
+ */
313
+ loader?: {
314
+ [k: string]: any;
315
+ };
316
+ /**
317
+ * Enable production optimizations or development hints.
318
+ */
319
+ mode?: "development" | "production" | "none";
320
+ /**
321
+ * Options affecting the normal modules (`NormalModuleFactory`).
322
+ */
323
+ module?: ModuleOptions;
324
+ /**
325
+ * Name of the configuration. Used when loading multiple configurations.
326
+ */
327
+ name?: string;
328
+ /**
329
+ * Include polyfills or mocks for various node stuff.
330
+ */
331
+ node?: false | NodeOptions;
332
+ /**
333
+ * Enables/Disables integrated optimizations
334
+ */
335
+ optimization?: OptimizationOptions;
336
+ /**
337
+ * Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.
338
+ */
339
+ output?: OutputOptions;
340
+ /**
341
+ * The number of parallel processed modules in the compilation.
342
+ */
343
+ parallelism?: number;
344
+ /**
345
+ * Configuration for web performance recommendations.
346
+ */
347
+ performance?: false | PerformanceOptions;
348
+ /**
349
+ * Add additional plugins to the compiler.
350
+ */
351
+ plugins?: (WebpackPluginInstance | WebpackPluginFunction)[];
352
+ /**
353
+ * Capture timing information for each module.
354
+ */
355
+ profile?: boolean;
356
+ /**
357
+ * Store compiler state to a json file.
358
+ */
359
+ recordsInputPath?: string;
360
+ /**
361
+ * Load compiler state from a json file.
362
+ */
363
+ recordsOutputPath?: string;
364
+ /**
365
+ * 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.
366
+ */
367
+ recordsPath?: string;
368
+ /**
369
+ * Options for the resolver
370
+ */
371
+ resolve?: ResolveOptions;
372
+ /**
373
+ * Options for the resolver when resolving loaders
374
+ */
375
+ resolveLoader?: ResolveOptions;
376
+ /**
377
+ * Options for webpack-serve
378
+ */
379
+ serve?: {
380
+ [k: string]: any;
381
+ };
382
+ /**
383
+ * Used by the webpack CLI program to pass stats options.
384
+ */
385
+ stats?:
386
+ | StatsOptions
387
+ | boolean
388
+ | (
389
+ | "none"
390
+ | "errors-only"
391
+ | "minimal"
392
+ | "normal"
393
+ | "detailed"
394
+ | "verbose"
395
+ | "errors-warnings"
396
+ );
397
+ /**
398
+ * Environment to build for
399
+ */
400
+ target?:
401
+ | (
402
+ | "web"
403
+ | "webworker"
404
+ | "node"
405
+ | "async-node"
406
+ | "node-webkit"
407
+ | "electron-main"
408
+ | "electron-renderer"
409
+ | "electron-preload"
410
+ )
411
+ | ((compiler: import("../lib/Compiler")) => void);
412
+ /**
413
+ * Enter watch mode, which rebuilds on file change.
414
+ */
415
+ watch?: boolean;
416
+ /**
417
+ * Options for the watcher
418
+ */
419
+ watchOptions?: {
420
+ /**
421
+ * Delay the rebuilt after the first change. Value is a time in ms.
422
+ */
423
+ aggregateTimeout?: number;
424
+ /**
425
+ * Ignore some files from watching
426
+ */
427
+ ignored?: {
428
+ [k: string]: any;
429
+ };
430
+ /**
431
+ * Enable polling mode for watching
432
+ */
433
+ poll?: boolean | number;
434
+ /**
435
+ * Stop watching when stdin stream has ended
436
+ */
437
+ stdin?: boolean;
438
+ };
439
+ }
440
+ /**
441
+ * Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.
442
+ *
443
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
444
+ * via the `definition` "EntryObject".
445
+ */
446
+ export interface EntryObject {
447
+ /**
448
+ * An entry point with name
449
+ */
450
+ [k: string]: string | NonEmptyArrayOfUniqueStringValues;
451
+ }
452
+ /**
453
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
454
+ * via the `definition` "ModuleOptions".
455
+ */
456
+ export interface ModuleOptions {
457
+ /**
458
+ * An array of rules applied by default for modules.
459
+ */
460
+ defaultRules?: RuleSetRules;
461
+ /**
462
+ * Enable warnings for full dynamic dependencies
463
+ */
464
+ exprContextCritical?: boolean;
465
+ /**
466
+ * Enable recursive directory lookup for full dynamic dependencies
467
+ */
468
+ exprContextRecursive?: boolean;
469
+ /**
470
+ * Sets the default regular expression for full dynamic dependencies
471
+ */
472
+ exprContextRegExp?: boolean | RegExp;
473
+ /**
474
+ * Set the default request for full dynamic dependencies
475
+ */
476
+ exprContextRequest?: string;
477
+ /**
478
+ * Don't parse files matching. It's matched against the full resolved request.
479
+ */
480
+ noParse?: RegExp[] | RegExp | Function | string[] | string;
481
+ /**
482
+ * An array of rules applied for modules.
483
+ */
484
+ rules?: RuleSetRules;
485
+ /**
486
+ * Emit errors instead of warnings when imported names don't exist in imported module
487
+ */
488
+ strictExportPresence?: boolean;
489
+ /**
490
+ * Handle the this context correctly according to the spec for namespace objects
491
+ */
492
+ strictThisContextOnImports?: boolean;
493
+ /**
494
+ * Enable warnings when using the require function in a not statically analyse-able way
495
+ */
496
+ unknownContextCritical?: boolean;
497
+ /**
498
+ * Enable recursive directory lookup when using the require function in a not statically analyse-able way
499
+ */
500
+ unknownContextRecursive?: boolean;
501
+ /**
502
+ * Sets the regular expression when using the require function in a not statically analyse-able way
503
+ */
504
+ unknownContextRegExp?: boolean | RegExp;
505
+ /**
506
+ * Sets the request when using the require function in a not statically analyse-able way
507
+ */
508
+ unknownContextRequest?: string;
509
+ /**
510
+ * Cache the resolving of module requests
511
+ */
512
+ unsafeCache?: boolean | Function;
513
+ /**
514
+ * Enable warnings for partial dynamic dependencies
515
+ */
516
+ wrappedContextCritical?: boolean;
517
+ /**
518
+ * Enable recursive directory lookup for partial dynamic dependencies
519
+ */
520
+ wrappedContextRecursive?: boolean;
521
+ /**
522
+ * Set the inner regular expression for partial dynamic dependencies
523
+ */
524
+ wrappedContextRegExp?: RegExp;
525
+ }
526
+ /**
527
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
528
+ * via the `definition` "RuleSetRule".
529
+ */
530
+ export interface RuleSetRule {
531
+ /**
532
+ * Match the child compiler name
533
+ */
534
+ compiler?: RuleSetConditionOrConditions;
535
+ /**
536
+ * Enforce this rule as pre or post step
537
+ */
538
+ enforce?: "pre" | "post";
539
+ /**
540
+ * Shortcut for resource.exclude
541
+ */
542
+ exclude?: RuleSetConditionOrConditionsAbsolute;
543
+ /**
544
+ * Shortcut for resource.include
545
+ */
546
+ include?: RuleSetConditionOrConditionsAbsolute;
547
+ /**
548
+ * Match the issuer of the module (The module pointing to this module)
549
+ */
550
+ issuer?: RuleSetConditionOrConditionsAbsolute;
551
+ /**
552
+ * Shortcut for use.loader
553
+ */
554
+ loader?: RuleSetLoader | RuleSetUse;
555
+ /**
556
+ * Shortcut for use.loader
557
+ */
558
+ loaders?: RuleSetUse;
559
+ /**
560
+ * Only execute the first matching rule in this array
561
+ */
562
+ oneOf?: RuleSetRules;
563
+ /**
564
+ * Shortcut for use.options
565
+ */
566
+ options?: RuleSetQuery;
567
+ /**
568
+ * Options for parsing
569
+ */
570
+ parser?: {
571
+ [k: string]: any;
572
+ };
573
+ /**
574
+ * Shortcut for use.query
575
+ */
576
+ query?: RuleSetQuery;
577
+ /**
578
+ * Match rules with custom resource name
579
+ */
580
+ realResource?: RuleSetConditionOrConditionsAbsolute;
581
+ /**
582
+ * Options for the resolver
583
+ */
584
+ resolve?: ResolveOptions;
585
+ /**
586
+ * Match the resource path of the module
587
+ */
588
+ resource?: RuleSetConditionOrConditionsAbsolute;
589
+ /**
590
+ * Match the resource query of the module
591
+ */
592
+ resourceQuery?: RuleSetConditionOrConditions;
593
+ /**
594
+ * Match and execute these rules when this rule is matched
595
+ */
596
+ rules?: RuleSetRules;
597
+ /**
598
+ * Flags a module as with or without side effects
599
+ */
600
+ sideEffects?: boolean;
601
+ /**
602
+ * Shortcut for resource.test
603
+ */
604
+ test?: RuleSetConditionOrConditionsAbsolute;
605
+ /**
606
+ * Module type to use for the module
607
+ */
608
+ type?:
609
+ | "javascript/auto"
610
+ | "javascript/dynamic"
611
+ | "javascript/esm"
612
+ | "json"
613
+ | "webassembly/experimental";
614
+ /**
615
+ * Modifiers applied to the module when rule is matched
616
+ */
617
+ use?: RuleSetUse;
618
+ }
619
+ /**
620
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
621
+ * via the `definition` "ResolveOptions".
622
+ */
623
+ export interface ResolveOptions {
624
+ /**
625
+ * Redirect module requests
626
+ */
627
+ alias?:
628
+ | {
629
+ /**
630
+ * New request
631
+ */
632
+ [k: string]: string;
633
+ }
634
+ | {
635
+ /**
636
+ * New request
637
+ */
638
+ alias?: string;
639
+ /**
640
+ * Request to be redirected
641
+ */
642
+ name?: string;
643
+ /**
644
+ * Redirect only exact matching request
645
+ */
646
+ onlyModule?: boolean;
647
+ }[];
648
+ /**
649
+ * Fields in the description file (package.json) which are used to redirect requests inside the module
650
+ */
651
+ aliasFields?: ArrayOfStringOrStringArrayValues;
652
+ /**
653
+ * Predicate function to decide which requests should be cached
654
+ */
655
+ cachePredicate?: Function;
656
+ /**
657
+ * Include the context information in the cache identifier when caching
658
+ */
659
+ cacheWithContext?: boolean;
660
+ /**
661
+ * Enable concord resolving extras
662
+ */
663
+ concord?: boolean;
664
+ /**
665
+ * Filenames used to find a description file
666
+ */
667
+ descriptionFiles?: ArrayOfStringValues;
668
+ /**
669
+ * Enforce using one of the extensions from the extensions option
670
+ */
671
+ enforceExtension?: boolean;
672
+ /**
673
+ * Enforce using one of the module extensions from the moduleExtensions option
674
+ */
675
+ enforceModuleExtension?: boolean;
676
+ /**
677
+ * Extensions added to the request when trying to find the file
678
+ */
679
+ extensions?: ArrayOfStringValues;
680
+ /**
681
+ * Filesystem for the resolver
682
+ */
683
+ fileSystem?: {
684
+ [k: string]: any;
685
+ };
686
+ /**
687
+ * Enable to ignore fatal errors happening during resolving of 'resolve.roots'. Usually such errors should not happen, but this option is provided for backward-compatibility.
688
+ */
689
+ ignoreRootsErrors?: boolean;
690
+ /**
691
+ * Field names from the description file (package.json) which are used to find the default entry point
692
+ */
693
+ mainFields?: ArrayOfStringOrStringArrayValues;
694
+ /**
695
+ * Filenames used to find the default entry point if there is no description file or main field
696
+ */
697
+ mainFiles?: ArrayOfStringValues;
698
+ /**
699
+ * Extensions added to the module request when trying to find the module
700
+ */
701
+ moduleExtensions?: ArrayOfStringValues;
702
+ /**
703
+ * Folder names or directory paths where to find modules
704
+ */
705
+ modules?: ArrayOfStringValues;
706
+ /**
707
+ * Plugins for the resolver
708
+ */
709
+ plugins?: (WebpackPluginInstance | WebpackPluginFunction)[];
710
+ /**
711
+ * Prefer to resolve server-relative URLs (starting with '/') as absolute paths before falling back to resolve in 'resolve.roots'.
712
+ */
713
+ preferAbsolute?: boolean;
714
+ /**
715
+ * Custom resolver
716
+ */
717
+ resolver?: {
718
+ [k: string]: any;
719
+ };
720
+ /**
721
+ * A list of directories in which requests that are server-relative URLs (starting with '/') are resolved.
722
+ */
723
+ roots?: string[];
724
+ /**
725
+ * Enable resolving symlinks to the original location
726
+ */
727
+ symlinks?: boolean;
728
+ /**
729
+ * Enable caching of successfully resolved requests
730
+ */
731
+ unsafeCache?:
732
+ | boolean
733
+ | {
734
+ [k: string]: any;
735
+ };
736
+ /**
737
+ * Use synchronous filesystem calls for the resolver
738
+ */
739
+ useSyncFileSystemCalls?: boolean;
740
+ }
741
+ /**
742
+ * Plugin instance
743
+ *
744
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
745
+ * via the `definition` "WebpackPluginInstance".
746
+ */
747
+ export interface WebpackPluginInstance {
748
+ /**
749
+ * The run point of the plugin, required method.
750
+ */
751
+ apply: (compiler: import("../lib/Compiler")) => void;
752
+ [k: string]: any;
753
+ }
754
+ /**
755
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
756
+ * via the `definition` "NodeOptions".
757
+ */
758
+ export interface NodeOptions {
759
+ /**
760
+ * Include a polyfill for the 'Buffer' variable
761
+ */
762
+ Buffer?: false | true | "mock";
763
+ /**
764
+ * Include a polyfill for the '__dirname' variable
765
+ */
766
+ __dirname?: false | true | "mock";
767
+ /**
768
+ * Include a polyfill for the '__filename' variable
769
+ */
770
+ __filename?: false | true | "mock";
771
+ /**
772
+ * Include a polyfill for the 'console' variable
773
+ */
774
+ console?: false | true | "mock";
775
+ /**
776
+ * Include a polyfill for the 'global' variable
777
+ */
778
+ global?: boolean;
779
+ /**
780
+ * Include a polyfill for the 'process' variable
781
+ */
782
+ process?: false | true | "mock";
783
+ /**
784
+ * Include a polyfill for the node.js module
785
+ */
786
+ [k: string]: false | true | "mock" | "empty";
787
+ }
788
+ /**
789
+ * Enables/Disables integrated optimizations
790
+ *
791
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
792
+ * via the `definition` "OptimizationOptions".
793
+ */
794
+ export interface OptimizationOptions {
795
+ /**
796
+ * Check for incompatible wasm types when importing/exporting from/to ESM
797
+ */
798
+ checkWasmTypes?: boolean;
799
+ /**
800
+ * Define the algorithm to choose chunk ids (named: readable ids for better debugging, 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)
801
+ */
802
+ chunkIds?: "natural" | "named" | "size" | "total-size" | false;
803
+ /**
804
+ * Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer
805
+ */
806
+ concatenateModules?: boolean;
807
+ /**
808
+ * Also flag chunks as loaded which contain a subset of the modules
809
+ */
810
+ flagIncludedChunks?: boolean;
811
+ /**
812
+ * Use hashed module id instead module identifiers for better long term caching (deprecated, used moduleIds: hashed instead)
813
+ */
814
+ hashedModuleIds?: boolean;
815
+ /**
816
+ * Reduce size of WASM by changing imports to shorter strings.
817
+ */
818
+ mangleWasmImports?: boolean;
819
+ /**
820
+ * Merge chunks which contain the same modules
821
+ */
822
+ mergeDuplicateChunks?: boolean;
823
+ /**
824
+ * Enable minimizing the output. Uses optimization.minimizer.
825
+ */
826
+ minimize?: boolean;
827
+ /**
828
+ * Minimizer(s) to use for minimizing the output
829
+ */
830
+ minimizer?: (WebpackPluginInstance | WebpackPluginFunction)[];
831
+ /**
832
+ * Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: short hashes as 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)
833
+ */
834
+ moduleIds?: "natural" | "named" | "hashed" | "size" | "total-size" | false;
835
+ /**
836
+ * Use readable chunk identifiers for better debugging (deprecated, used chunkIds: named instead)
837
+ */
838
+ namedChunks?: boolean;
839
+ /**
840
+ * Use readable module identifiers for better debugging (deprecated, used moduleIds: named instead)
841
+ */
842
+ namedModules?: boolean;
843
+ /**
844
+ * Avoid emitting assets when errors occur
845
+ */
846
+ noEmitOnErrors?: boolean;
847
+ /**
848
+ * Set process.env.NODE_ENV to a specific value
849
+ */
850
+ nodeEnv?: false | string;
851
+ /**
852
+ * Figure out a order of modules which results in the smallest initial bundle
853
+ */
854
+ occurrenceOrder?: boolean;
855
+ /**
856
+ * Generate records with relative paths to be able to move the context folder
857
+ */
858
+ portableRecords?: boolean;
859
+ /**
860
+ * Figure out which exports are provided by modules to generate more efficient code
861
+ */
862
+ providedExports?: boolean;
863
+ /**
864
+ * Removes modules from chunks when these modules are already included in all parents
865
+ */
866
+ removeAvailableModules?: boolean;
867
+ /**
868
+ * Remove chunks which are empty
869
+ */
870
+ removeEmptyChunks?: boolean;
871
+ /**
872
+ * Create an additional chunk which contains only the webpack runtime and chunk hash maps
873
+ */
874
+ runtimeChunk?:
875
+ | boolean
876
+ | ("single" | "multiple")
877
+ | {
878
+ /**
879
+ * The name or name factory for the runtime chunks
880
+ */
881
+ name?: string | Function;
882
+ };
883
+ /**
884
+ * Skip over modules which are flagged to contain no side effects when exports are not used
885
+ */
886
+ sideEffects?: boolean;
887
+ /**
888
+ * Optimize duplication and caching by splitting chunks by shared modules and cache group
889
+ */
890
+ splitChunks?: false | OptimizationSplitChunksOptions;
891
+ /**
892
+ * Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code
893
+ */
894
+ usedExports?: boolean;
895
+ }
896
+ /**
897
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
898
+ * via the `definition` "OptimizationSplitChunksOptions".
899
+ */
900
+ export interface OptimizationSplitChunksOptions {
901
+ /**
902
+ * Sets the name delimiter for created chunks
903
+ */
904
+ automaticNameDelimiter?: string;
905
+ /**
906
+ * Sets the max length for the name of a created chunk
907
+ */
908
+ automaticNameMaxLength?: number;
909
+ /**
910
+ * Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks)
911
+ */
912
+ cacheGroups?: {
913
+ /**
914
+ * Configuration for a cache group
915
+ */
916
+ [k: string]:
917
+ | false
918
+ | Function
919
+ | string
920
+ | RegExp
921
+ | {
922
+ /**
923
+ * Sets the name delimiter for created chunks
924
+ */
925
+ automaticNameDelimiter?: string;
926
+ /**
927
+ * Sets the max length for the name of a created chunk
928
+ */
929
+ automaticNameMaxLength?: number;
930
+ /**
931
+ * Sets the name prefix for created chunks
932
+ */
933
+ automaticNamePrefix?: string;
934
+ /**
935
+ * Select chunks for determining cache group content (defaults to "initial", "initial" and "all" requires adding these chunks to the HTML)
936
+ */
937
+ chunks?: ("initial" | "async" | "all") | Function;
938
+ /**
939
+ * Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group
940
+ */
941
+ enforce?: boolean;
942
+ /**
943
+ * Size threshold at which splitting is enforced and other restrictions (maxAsyncRequests, maxInitialRequests) are ignored.
944
+ */
945
+ enforceSizeThreshold?: number;
946
+ /**
947
+ * Sets the template for the filename for created chunks (Only works for initial chunks)
948
+ */
949
+ filename?: string;
950
+ /**
951
+ * Maximum number of requests which are accepted for on-demand loading
952
+ */
953
+ maxAsyncRequests?: number;
954
+ /**
955
+ * Maximum number of initial chunks which are accepted for an entry point
956
+ */
957
+ maxInitialRequests?: number;
958
+ /**
959
+ * Maximal size hint for the created chunks
960
+ */
961
+ maxSize?: number;
962
+ /**
963
+ * Minimum number of times a module has to be duplicated until it's considered for splitting
964
+ */
965
+ minChunks?: number;
966
+ /**
967
+ * Minimal size for the created chunk
968
+ */
969
+ minSize?: number;
970
+ /**
971
+ * Give chunks for this cache group a name (chunks with equal name are merged)
972
+ */
973
+ name?: boolean | Function | string;
974
+ /**
975
+ * Priority of this cache group
976
+ */
977
+ priority?: number;
978
+ /**
979
+ * Try to reuse existing chunk (with name) when it has matching modules
980
+ */
981
+ reuseExistingChunk?: boolean;
982
+ /**
983
+ * Assign modules to a cache group
984
+ */
985
+ test?: Function | string | RegExp;
986
+ };
987
+ };
988
+ /**
989
+ * Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML)
990
+ */
991
+ chunks?: ("initial" | "async" | "all") | Function;
992
+ /**
993
+ * Size threshold at which splitting is enforced and other restrictions (maxAsyncRequests, maxInitialRequests) are ignored.
994
+ */
995
+ enforceSizeThreshold?: number;
996
+ /**
997
+ * Options for modules not selected by any other cache group
998
+ */
999
+ fallbackCacheGroup?: {
1000
+ /**
1001
+ * Sets the name delimiter for created chunks
1002
+ */
1003
+ automaticNameDelimiter?: string;
1004
+ /**
1005
+ * Maximal size hint for the created chunks
1006
+ */
1007
+ maxSize?: number;
1008
+ /**
1009
+ * Minimal size for the created chunk
1010
+ */
1011
+ minSize?: number;
1012
+ };
1013
+ /**
1014
+ * Sets the template for the filename for created chunks (Only works for initial chunks)
1015
+ */
1016
+ filename?: string;
1017
+ /**
1018
+ * Prevents exposing path info when creating names for parts splitted by maxSize
1019
+ */
1020
+ hidePathInfo?: boolean;
1021
+ /**
1022
+ * Maximum number of requests which are accepted for on-demand loading
1023
+ */
1024
+ maxAsyncRequests?: number;
1025
+ /**
1026
+ * Maximum number of initial chunks which are accepted for an entry point
1027
+ */
1028
+ maxInitialRequests?: number;
1029
+ /**
1030
+ * Maximal size hint for the created chunks
1031
+ */
1032
+ maxSize?: number;
1033
+ /**
1034
+ * Minimum number of times a module has to be duplicated until it's considered for splitting
1035
+ */
1036
+ minChunks?: number;
1037
+ /**
1038
+ * Minimal size for the created chunks
1039
+ */
1040
+ minSize?: number;
1041
+ /**
1042
+ * Give chunks created a name (chunks with equal name are merged)
1043
+ */
1044
+ name?: boolean | Function | string;
1045
+ }
1046
+ /**
1047
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
1048
+ * via the `definition` "OutputOptions".
1049
+ */
1050
+ export interface OutputOptions {
1051
+ /**
1052
+ * Add a comment in the UMD wrapper.
1053
+ */
1054
+ auxiliaryComment?:
1055
+ | string
1056
+ | {
1057
+ /**
1058
+ * Set comment for `amd` section in UMD
1059
+ */
1060
+ amd?: string;
1061
+ /**
1062
+ * Set comment for `commonjs` (exports) section in UMD
1063
+ */
1064
+ commonjs?: string;
1065
+ /**
1066
+ * Set comment for `commonjs2` (module.exports) section in UMD
1067
+ */
1068
+ commonjs2?: string;
1069
+ /**
1070
+ * Set comment for `root` (global variable) section in UMD
1071
+ */
1072
+ root?: string;
1073
+ };
1074
+ /**
1075
+ * The callback function name used by webpack for loading of chunks in WebWorkers.
1076
+ */
1077
+ chunkCallbackName?: string;
1078
+ /**
1079
+ * The filename of non-entry chunks as relative path inside the `output.path` directory.
1080
+ */
1081
+ chunkFilename?: string;
1082
+ /**
1083
+ * Number of milliseconds before chunk request expires
1084
+ */
1085
+ chunkLoadTimeout?: number;
1086
+ /**
1087
+ * This option enables cross-origin loading of chunks.
1088
+ */
1089
+ crossOriginLoading?: false | "anonymous" | "use-credentials";
1090
+ /**
1091
+ * Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.
1092
+ */
1093
+ devtoolFallbackModuleFilenameTemplate?: string | Function;
1094
+ /**
1095
+ * Enable line to line mapped mode for all/specified modules. Line to line mapped mode uses a simple SourceMap where each line of the generated source is mapped to the same line of the original source. It’s a performance optimization. Only use it if your performance need to be better and you are sure that input lines match which generated lines.
1096
+ */
1097
+ devtoolLineToLine?:
1098
+ | boolean
1099
+ | {
1100
+ [k: string]: any;
1101
+ };
1102
+ /**
1103
+ * Filename template string of function for the sources array in a generated SourceMap.
1104
+ */
1105
+ devtoolModuleFilenameTemplate?: string | Function;
1106
+ /**
1107
+ * 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.
1108
+ */
1109
+ devtoolNamespace?: string;
1110
+ /**
1111
+ * Specifies the name of each output file on disk. You must **not** specify an absolute path here! The `output.path` option determines the location on disk the files are written to, filename is used solely for naming the individual files.
1112
+ */
1113
+ filename?: string | Function;
1114
+ /**
1115
+ * Use the future version of asset emitting logic, which allows freeing memory of assets after emitting. It could break plugins which assume that assets are still readable after emitting. Will be the new default in the next major version.
1116
+ */
1117
+ futureEmitAssets?: boolean;
1118
+ /**
1119
+ * An expression which is used to address the global object/scope in runtime code
1120
+ */
1121
+ globalObject?: string;
1122
+ /**
1123
+ * Digest type used for the hash
1124
+ */
1125
+ hashDigest?: string;
1126
+ /**
1127
+ * Number of chars which are used for the hash
1128
+ */
1129
+ hashDigestLength?: number;
1130
+ /**
1131
+ * Algorithm used for generation the hash (see node.js crypto package)
1132
+ */
1133
+ hashFunction?: string | import("../lib/util/createHash").HashConstructor;
1134
+ /**
1135
+ * Any string which is added to the hash to salt it
1136
+ */
1137
+ hashSalt?: string;
1138
+ /**
1139
+ * The filename of the Hot Update Chunks. They are inside the output.path directory.
1140
+ */
1141
+ hotUpdateChunkFilename?: string;
1142
+ /**
1143
+ * The JSONP function used by webpack for async loading of hot update chunks.
1144
+ */
1145
+ hotUpdateFunction?: string;
1146
+ /**
1147
+ * The filename of the Hot Update Main File. It is inside the `output.path` directory.
1148
+ */
1149
+ hotUpdateMainFilename?: string | Function;
1150
+ /**
1151
+ * The JSONP function used by webpack for async loading of chunks.
1152
+ */
1153
+ jsonpFunction?: string;
1154
+ /**
1155
+ * This option enables loading async chunks via a custom script type, such as script type="module"
1156
+ */
1157
+ jsonpScriptType?: false | "text/javascript" | "module";
1158
+ /**
1159
+ * If set, export the bundle as library. `output.library` is the name.
1160
+ */
1161
+ library?: string | string[] | LibraryCustomUmdObject;
1162
+ /**
1163
+ * Specify which export should be exposed as library
1164
+ */
1165
+ libraryExport?: string | ArrayOfStringValues;
1166
+ /**
1167
+ * Type of library
1168
+ */
1169
+ libraryTarget?:
1170
+ | "var"
1171
+ | "assign"
1172
+ | "this"
1173
+ | "window"
1174
+ | "self"
1175
+ | "global"
1176
+ | "commonjs"
1177
+ | "commonjs2"
1178
+ | "commonjs-module"
1179
+ | "amd"
1180
+ | "amd-require"
1181
+ | "umd"
1182
+ | "umd2"
1183
+ | "jsonp"
1184
+ | "system";
1185
+ /**
1186
+ * The output directory as **absolute path** (required).
1187
+ */
1188
+ path?: string;
1189
+ /**
1190
+ * Include comments with information about the modules.
1191
+ */
1192
+ pathinfo?: boolean;
1193
+ /**
1194
+ * The `publicPath` specifies the public URL address of the output files when referenced in a browser.
1195
+ */
1196
+ publicPath?: string | Function;
1197
+ /**
1198
+ * The filename of the SourceMaps for the JavaScript files. They are inside the `output.path` directory.
1199
+ */
1200
+ sourceMapFilename?: string;
1201
+ /**
1202
+ * Prefixes every line of the source in the bundle with this string.
1203
+ */
1204
+ sourcePrefix?: string;
1205
+ /**
1206
+ * Handles exceptions in module loading correctly at a performance cost.
1207
+ */
1208
+ strictModuleExceptionHandling?: boolean;
1209
+ /**
1210
+ * If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.
1211
+ */
1212
+ umdNamedDefine?: boolean;
1213
+ /**
1214
+ * The filename of WebAssembly modules as relative path inside the `output.path` directory.
1215
+ */
1216
+ webassemblyModuleFilename?: string;
1217
+ }
1218
+ /**
1219
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
1220
+ * via the `definition` "LibraryCustomUmdObject".
1221
+ */
1222
+ export interface LibraryCustomUmdObject {
1223
+ /**
1224
+ * Name of the exposed AMD library in the UMD
1225
+ */
1226
+ amd?: string;
1227
+ /**
1228
+ * Name of the exposed commonjs export in the UMD
1229
+ */
1230
+ commonjs?: string;
1231
+ /**
1232
+ * Name of the property exposed globally by a UMD library
1233
+ */
1234
+ root?: string | ArrayOfStringValues;
1235
+ }
1236
+ /**
1237
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
1238
+ * via the `definition` "PerformanceOptions".
1239
+ */
1240
+ export interface PerformanceOptions {
1241
+ /**
1242
+ * Filter function to select assets that are checked
1243
+ */
1244
+ assetFilter?: Function;
1245
+ /**
1246
+ * Sets the format of the hints: warnings, errors or nothing at all
1247
+ */
1248
+ hints?: false | "warning" | "error";
1249
+ /**
1250
+ * Filesize limit (in bytes) when exceeded, that webpack will provide performance hints
1251
+ */
1252
+ maxAssetSize?: number;
1253
+ /**
1254
+ * Total size of an entry point (in bytes)
1255
+ */
1256
+ maxEntrypointSize?: number;
1257
+ }
1258
+ /**
1259
+ * This interface was referenced by `WebpackOptions`'s JSON-Schema
1260
+ * via the `definition` "StatsOptions".
1261
+ */
1262
+ export interface StatsOptions {
1263
+ /**
1264
+ * fallback value for stats options when an option is not defined (has precedence over local webpack defaults)
1265
+ */
1266
+ all?: boolean;
1267
+ /**
1268
+ * add assets information
1269
+ */
1270
+ assets?: boolean;
1271
+ /**
1272
+ * sort the assets by that field
1273
+ */
1274
+ assetsSort?: string;
1275
+ /**
1276
+ * add built at time information
1277
+ */
1278
+ builtAt?: boolean;
1279
+ /**
1280
+ * add also information about cached (not built) modules
1281
+ */
1282
+ cached?: boolean;
1283
+ /**
1284
+ * Show cached assets (setting this to `false` only shows emitted files)
1285
+ */
1286
+ cachedAssets?: boolean;
1287
+ /**
1288
+ * add children information
1289
+ */
1290
+ children?: boolean;
1291
+ /**
1292
+ * Display all chunk groups with the corresponding bundles
1293
+ */
1294
+ chunkGroups?: boolean;
1295
+ /**
1296
+ * add built modules information to chunk information
1297
+ */
1298
+ chunkModules?: boolean;
1299
+ /**
1300
+ * add the origins of chunks and chunk merging info
1301
+ */
1302
+ chunkOrigins?: boolean;
1303
+ /**
1304
+ * add chunk information
1305
+ */
1306
+ chunks?: boolean;
1307
+ /**
1308
+ * sort the chunks by that field
1309
+ */
1310
+ chunksSort?: string;
1311
+ /**
1312
+ * Enables/Disables colorful output
1313
+ */
1314
+ colors?:
1315
+ | boolean
1316
+ | {
1317
+ /**
1318
+ * Custom color for bold text
1319
+ */
1320
+ bold?: string;
1321
+ /**
1322
+ * Custom color for cyan text
1323
+ */
1324
+ cyan?: string;
1325
+ /**
1326
+ * Custom color for green text
1327
+ */
1328
+ green?: string;
1329
+ /**
1330
+ * Custom color for magenta text
1331
+ */
1332
+ magenta?: string;
1333
+ /**
1334
+ * Custom color for red text
1335
+ */
1336
+ red?: string;
1337
+ /**
1338
+ * Custom color for yellow text
1339
+ */
1340
+ yellow?: string;
1341
+ };
1342
+ /**
1343
+ * context directory for request shortening
1344
+ */
1345
+ context?: string;
1346
+ /**
1347
+ * add module depth in module graph
1348
+ */
1349
+ depth?: boolean;
1350
+ /**
1351
+ * Display the entry points with the corresponding bundles
1352
+ */
1353
+ entrypoints?: boolean;
1354
+ /**
1355
+ * add --env information
1356
+ */
1357
+ env?: boolean;
1358
+ /**
1359
+ * add details to errors (like resolving log)
1360
+ */
1361
+ errorDetails?: boolean;
1362
+ /**
1363
+ * add errors
1364
+ */
1365
+ errors?: boolean;
1366
+ /**
1367
+ * Please use excludeModules instead.
1368
+ */
1369
+ exclude?: FilterTypes | boolean;
1370
+ /**
1371
+ * Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions
1372
+ */
1373
+ excludeAssets?: FilterTypes;
1374
+ /**
1375
+ * Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions
1376
+ */
1377
+ excludeModules?: FilterTypes | boolean;
1378
+ /**
1379
+ * add the hash of the compilation
1380
+ */
1381
+ hash?: boolean;
1382
+ /**
1383
+ * add logging output
1384
+ */
1385
+ logging?: boolean | ("none" | "error" | "warn" | "info" | "log" | "verbose");
1386
+ /**
1387
+ * Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions
1388
+ */
1389
+ loggingDebug?: FilterTypes | boolean;
1390
+ /**
1391
+ * add stack traces to logging output
1392
+ */
1393
+ loggingTrace?: boolean;
1394
+ /**
1395
+ * Set the maximum number of modules to be shown
1396
+ */
1397
+ maxModules?: number;
1398
+ /**
1399
+ * add information about assets inside modules
1400
+ */
1401
+ moduleAssets?: boolean;
1402
+ /**
1403
+ * add dependencies and origin of warnings/errors
1404
+ */
1405
+ moduleTrace?: boolean;
1406
+ /**
1407
+ * add built modules information
1408
+ */
1409
+ modules?: boolean;
1410
+ /**
1411
+ * sort the modules by that field
1412
+ */
1413
+ modulesSort?: string;
1414
+ /**
1415
+ * add information about modules nested in other modules (like with module concatenation)
1416
+ */
1417
+ nestedModules?: boolean;
1418
+ /**
1419
+ * show reasons why optimization bailed out for modules
1420
+ */
1421
+ optimizationBailout?: boolean;
1422
+ /**
1423
+ * Add output path information
1424
+ */
1425
+ outputPath?: boolean;
1426
+ /**
1427
+ * add performance hint flags
1428
+ */
1429
+ performance?: boolean;
1430
+ /**
1431
+ * show exports provided by modules
1432
+ */
1433
+ providedExports?: boolean;
1434
+ /**
1435
+ * Add public path information
1436
+ */
1437
+ publicPath?: boolean;
1438
+ /**
1439
+ * add information about the reasons why modules are included
1440
+ */
1441
+ reasons?: boolean;
1442
+ /**
1443
+ * add the source code of modules
1444
+ */
1445
+ source?: boolean;
1446
+ /**
1447
+ * add timing information
1448
+ */
1449
+ timings?: boolean;
1450
+ /**
1451
+ * show exports used by modules
1452
+ */
1453
+ usedExports?: boolean;
1454
+ /**
1455
+ * add webpack version information
1456
+ */
1457
+ version?: boolean;
1458
+ /**
1459
+ * add warnings
1460
+ */
1461
+ warnings?: boolean;
1462
+ /**
1463
+ * Suppress warnings that match the specified filters. Filters can be Strings, RegExps or Functions
1464
+ */
1465
+ warningsFilter?: FilterTypes;
1466
+ }