webpack 5.100.2 → 5.101.1

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 (309) hide show
  1. package/README.md +12 -10
  2. package/bin/webpack.js +7 -7
  3. package/lib/APIPlugin.js +12 -14
  4. package/lib/AutomaticPrefetchPlugin.js +2 -2
  5. package/lib/BannerPlugin.js +4 -4
  6. package/lib/Cache.js +1 -1
  7. package/lib/CacheFacade.js +7 -7
  8. package/lib/CaseSensitiveModulesWarning.js +2 -2
  9. package/lib/Chunk.js +3 -3
  10. package/lib/ChunkGraph.js +63 -18
  11. package/lib/ChunkGroup.js +4 -4
  12. package/lib/CleanPlugin.js +19 -53
  13. package/lib/CodeGenerationResults.js +3 -3
  14. package/lib/CompatibilityPlugin.js +6 -6
  15. package/lib/Compilation.js +168 -116
  16. package/lib/Compiler.js +37 -37
  17. package/lib/ConcatenationScope.js +39 -1
  18. package/lib/ConstPlugin.js +11 -11
  19. package/lib/ContextExclusionPlugin.js +3 -3
  20. package/lib/ContextModule.js +12 -11
  21. package/lib/ContextModuleFactory.js +11 -11
  22. package/lib/ContextReplacementPlugin.js +5 -5
  23. package/lib/DefinePlugin.js +24 -22
  24. package/lib/DelegatedModuleFactoryPlugin.js +1 -1
  25. package/lib/Dependency.js +2 -1
  26. package/lib/DllEntryPlugin.js +1 -1
  27. package/lib/DllReferencePlugin.js +1 -1
  28. package/lib/DynamicEntryPlugin.js +3 -3
  29. package/lib/EntryPlugin.js +1 -1
  30. package/lib/EnvironmentPlugin.js +1 -1
  31. package/lib/ErrorHelpers.js +2 -2
  32. package/lib/EvalDevToolModulePlugin.js +2 -2
  33. package/lib/EvalSourceMapDevToolPlugin.js +5 -5
  34. package/lib/ExportsInfo.js +9 -9
  35. package/lib/ExportsInfoApiPlugin.js +2 -2
  36. package/lib/ExternalModule.js +163 -48
  37. package/lib/ExternalModuleFactoryPlugin.js +2 -2
  38. package/lib/ExternalsPlugin.js +45 -0
  39. package/lib/FileSystemInfo.js +64 -61
  40. package/lib/FlagAllModulesAsUsedPlugin.js +2 -2
  41. package/lib/FlagDependencyExportsPlugin.js +7 -7
  42. package/lib/FlagDependencyUsagePlugin.js +4 -4
  43. package/lib/FlagEntryExportAsUsedPlugin.js +1 -1
  44. package/lib/HotModuleReplacementPlugin.js +27 -27
  45. package/lib/IgnorePlugin.js +3 -3
  46. package/lib/IgnoreWarningsPlugin.js +4 -4
  47. package/lib/InitFragment.js +6 -0
  48. package/lib/InvalidDependenciesModuleWarning.js +1 -1
  49. package/lib/JavascriptMetaInfoPlugin.js +1 -1
  50. package/lib/LibManifestPlugin.js +2 -2
  51. package/lib/LoaderOptionsPlugin.js +1 -1
  52. package/lib/LoaderTargetPlugin.js +2 -2
  53. package/lib/MainTemplate.js +1 -1
  54. package/lib/Module.js +3 -2
  55. package/lib/ModuleFilenameHelpers.js +3 -3
  56. package/lib/ModuleGraph.js +23 -38
  57. package/lib/ModuleInfoHeaderPlugin.js +3 -3
  58. package/lib/ModuleParseError.js +5 -3
  59. package/lib/ModuleTemplate.js +3 -2
  60. package/lib/MultiCompiler.js +29 -24
  61. package/lib/MultiStats.js +18 -13
  62. package/lib/MultiWatching.js +1 -1
  63. package/lib/NoEmitOnErrorsPlugin.js +2 -2
  64. package/lib/NodeStuffPlugin.js +27 -15
  65. package/lib/NormalModule.js +23 -23
  66. package/lib/NormalModuleFactory.js +23 -21
  67. package/lib/NormalModuleReplacementPlugin.js +3 -3
  68. package/lib/PrefetchPlugin.js +1 -1
  69. package/lib/ProgressPlugin.js +11 -11
  70. package/lib/ProvidePlugin.js +2 -2
  71. package/lib/RecordIdsPlugin.js +3 -3
  72. package/lib/ResolverFactory.js +3 -3
  73. package/lib/RuntimeGlobals.js +20 -0
  74. package/lib/RuntimePlugin.js +16 -16
  75. package/lib/RuntimeTemplate.js +35 -26
  76. package/lib/SizeFormatHelpers.js +1 -1
  77. package/lib/SourceMapDevToolModuleOptionsPlugin.js +4 -4
  78. package/lib/SourceMapDevToolPlugin.js +9 -9
  79. package/lib/Stats.js +2 -2
  80. package/lib/Template.js +1 -1
  81. package/lib/TemplatedPathPlugin.js +2 -2
  82. package/lib/UseStrictPlugin.js +1 -1
  83. package/lib/WarnCaseSensitiveModulesPlugin.js +1 -1
  84. package/lib/WarnDeprecatedOptionPlugin.js +1 -1
  85. package/lib/WarnNoModeSetPlugin.js +1 -1
  86. package/lib/WatchIgnorePlugin.js +2 -2
  87. package/lib/Watching.js +12 -14
  88. package/lib/WebpackIsIncludedPlugin.js +2 -2
  89. package/lib/WebpackOptionsApply.js +3 -3
  90. package/lib/asset/AssetGenerator.js +1 -1
  91. package/lib/asset/AssetModulesPlugin.js +6 -6
  92. package/lib/async-modules/AsyncModuleHelpers.js +1 -1
  93. package/lib/async-modules/AwaitDependenciesInitFragment.js +36 -24
  94. package/lib/async-modules/InferAsyncModulesPlugin.js +3 -3
  95. package/lib/buildChunkGraph.js +5 -5
  96. package/lib/cache/AddBuildDependenciesPlugin.js +1 -1
  97. package/lib/cache/IdleFileCachePlugin.js +5 -5
  98. package/lib/cache/PackFileCacheStrategy.js +20 -20
  99. package/lib/cache/ResolverCachePlugin.js +4 -4
  100. package/lib/cli.js +196 -14
  101. package/lib/config/browserslistTargetHandler.js +6 -6
  102. package/lib/config/defaults.js +23 -14
  103. package/lib/config/normalization.js +41 -38
  104. package/lib/config/target.js +4 -4
  105. package/lib/container/ContainerEntryModule.js +3 -3
  106. package/lib/container/ContainerPlugin.js +3 -3
  107. package/lib/container/ContainerReferencePlugin.js +3 -3
  108. package/lib/container/FallbackModule.js +1 -1
  109. package/lib/container/HoistContainerReferencesPlugin.js +7 -7
  110. package/lib/container/options.js +4 -4
  111. package/lib/css/CssGenerator.js +5 -3
  112. package/lib/css/CssLoadingRuntimeModule.js +1 -1
  113. package/lib/css/CssModulesPlugin.js +25 -22
  114. package/lib/css/CssParser.js +5 -5
  115. package/lib/css/walkCssTokens.js +9 -9
  116. package/lib/debug/ProfilingPlugin.js +5 -5
  117. package/lib/dependencies/AMDDefineDependencyParserPlugin.js +4 -4
  118. package/lib/dependencies/AMDPlugin.js +3 -3
  119. package/lib/dependencies/AMDRequireArrayDependency.js +1 -1
  120. package/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +3 -3
  121. package/lib/dependencies/CommonJsExportRequireDependency.js +2 -2
  122. package/lib/dependencies/CommonJsExportsParserPlugin.js +12 -10
  123. package/lib/dependencies/CommonJsImportsParserPlugin.js +21 -19
  124. package/lib/dependencies/CommonJsPlugin.js +2 -2
  125. package/lib/dependencies/ContextDependency.js +1 -1
  126. package/lib/dependencies/ContextDependencyHelpers.js +3 -3
  127. package/lib/dependencies/CssIcssExportDependency.js +2 -2
  128. package/lib/dependencies/CssLocalIdentifierDependency.js +2 -2
  129. package/lib/dependencies/CssUrlDependency.js +4 -4
  130. package/lib/dependencies/DynamicExports.js +5 -5
  131. package/lib/dependencies/HarmonyAcceptDependency.js +91 -5
  132. package/lib/dependencies/HarmonyDetectionParserPlugin.js +2 -2
  133. package/lib/dependencies/HarmonyExportDependencyParserPlugin.js +17 -13
  134. package/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +7 -8
  135. package/lib/dependencies/HarmonyExportInitFragment.js +1 -1
  136. package/lib/dependencies/HarmonyExports.js +1 -1
  137. package/lib/dependencies/HarmonyImportDependency.js +28 -9
  138. package/lib/dependencies/HarmonyImportDependencyParserPlugin.js +56 -48
  139. package/lib/dependencies/HarmonyImportSideEffectDependency.js +4 -5
  140. package/lib/dependencies/HarmonyImportSpecifierDependency.js +3 -4
  141. package/lib/dependencies/HarmonyModulesPlugin.js +2 -8
  142. package/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +1 -1
  143. package/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +4 -4
  144. package/lib/dependencies/ImportMetaPlugin.js +7 -7
  145. package/lib/dependencies/ImportParserPlugin.js +4 -4
  146. package/lib/dependencies/JsonExportsDependency.js +7 -2
  147. package/lib/dependencies/LoaderPlugin.js +4 -4
  148. package/lib/dependencies/ModuleDependency.js +2 -1
  149. package/lib/dependencies/ProvidedDependency.js +2 -2
  150. package/lib/dependencies/PureExpressionDependency.js +1 -1
  151. package/lib/dependencies/RequireContextDependencyParserPlugin.js +1 -1
  152. package/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +1 -1
  153. package/lib/dependencies/RequireIncludeDependencyParserPlugin.js +3 -3
  154. package/lib/dependencies/SystemPlugin.js +3 -3
  155. package/lib/dependencies/WorkerPlugin.js +5 -5
  156. package/lib/dependencies/getFunctionExpression.js +1 -1
  157. package/lib/esm/ExportWebpackRequireRuntimeModule.js +8 -1
  158. package/lib/esm/ModuleChunkFormatPlugin.js +35 -69
  159. package/lib/esm/ModuleChunkLoadingPlugin.js +3 -6
  160. package/lib/esm/ModuleChunkLoadingRuntimeModule.js +15 -11
  161. package/lib/formatLocation.js +2 -2
  162. package/lib/hmr/HotModuleReplacement.runtime.js +39 -27
  163. package/lib/hmr/JavascriptHotModuleReplacement.runtime.js +43 -32
  164. package/lib/hmr/JavascriptHotModuleReplacementHelper.js +1 -1
  165. package/lib/hmr/LazyCompilationPlugin.js +6 -6
  166. package/lib/hmr/lazyCompilationBackend.js +6 -6
  167. package/lib/ids/ChunkModuleIdRangePlugin.js +4 -4
  168. package/lib/ids/DeterministicChunkIdsPlugin.js +5 -4
  169. package/lib/ids/DeterministicModuleIdsPlugin.js +2 -2
  170. package/lib/ids/HashedModuleIdsPlugin.js +1 -1
  171. package/lib/ids/IdHelpers.js +9 -9
  172. package/lib/ids/NamedChunkIdsPlugin.js +5 -5
  173. package/lib/ids/NamedModuleIdsPlugin.js +2 -2
  174. package/lib/ids/NaturalChunkIdsPlugin.js +2 -2
  175. package/lib/ids/NaturalModuleIdsPlugin.js +1 -1
  176. package/lib/ids/OccurrenceChunkIdsPlugin.js +2 -2
  177. package/lib/ids/OccurrenceModuleIdsPlugin.js +4 -4
  178. package/lib/ids/SyncModuleIdsPlugin.js +4 -4
  179. package/lib/index.js +18 -6
  180. package/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +1 -1
  181. package/lib/javascript/BasicEvaluatedExpression.js +3 -3
  182. package/lib/javascript/ChunkFormatHelpers.js +70 -0
  183. package/lib/javascript/CommonJsChunkFormatPlugin.js +10 -21
  184. package/lib/javascript/EnableChunkLoadingPlugin.js +1 -1
  185. package/lib/javascript/JavascriptGenerator.js +1 -1
  186. package/lib/javascript/JavascriptModulesPlugin.js +108 -54
  187. package/lib/javascript/JavascriptParser.js +80 -78
  188. package/lib/javascript/JavascriptParserHelpers.js +3 -3
  189. package/lib/javascript/StartupHelpers.js +2 -2
  190. package/lib/json/JsonGenerator.js +2 -2
  191. package/lib/json/JsonModulesPlugin.js +2 -2
  192. package/lib/library/AbstractLibraryPlugin.js +30 -3
  193. package/lib/library/AmdLibraryPlugin.js +3 -3
  194. package/lib/library/AssignLibraryPlugin.js +2 -2
  195. package/lib/library/EnableLibraryPlugin.js +2 -2
  196. package/lib/library/ModuleLibraryPlugin.js +49 -31
  197. package/lib/library/SystemLibraryPlugin.js +6 -4
  198. package/lib/library/UmdLibraryPlugin.js +14 -14
  199. package/lib/logging/createConsoleLogger.js +4 -4
  200. package/lib/logging/runtime.js +3 -3
  201. package/lib/logging/truncateArgs.js +4 -4
  202. package/lib/node/CommonJsChunkLoadingPlugin.js +2 -2
  203. package/lib/node/NodeEnvironmentPlugin.js +1 -1
  204. package/lib/node/ReadFileChunkLoadingRuntimeModule.js +16 -14
  205. package/lib/node/ReadFileCompileAsyncWasmPlugin.js +7 -7
  206. package/lib/node/ReadFileCompileWasmPlugin.js +7 -7
  207. package/lib/node/RequireChunkLoadingRuntimeModule.js +13 -6
  208. package/lib/node/nodeConsole.js +2 -2
  209. package/lib/optimize/AggressiveMergingPlugin.js +2 -2
  210. package/lib/optimize/AggressiveSplittingPlugin.js +10 -10
  211. package/lib/optimize/ConcatenatedModule.js +186 -77
  212. package/lib/optimize/EnsureChunkConditionsPlugin.js +2 -2
  213. package/lib/optimize/FlagIncludedChunksPlugin.js +2 -2
  214. package/lib/optimize/InnerGraph.js +5 -5
  215. package/lib/optimize/InnerGraphPlugin.js +14 -12
  216. package/lib/optimize/LimitChunkCountPlugin.js +5 -5
  217. package/lib/optimize/MangleExportsPlugin.js +5 -5
  218. package/lib/optimize/MergeDuplicateChunksPlugin.js +2 -2
  219. package/lib/optimize/MinChunkSizePlugin.js +3 -3
  220. package/lib/optimize/ModuleConcatenationPlugin.js +45 -38
  221. package/lib/optimize/RealContentHashPlugin.js +23 -23
  222. package/lib/optimize/RemoveEmptyChunksPlugin.js +2 -2
  223. package/lib/optimize/RemoveParentModulesPlugin.js +3 -3
  224. package/lib/optimize/RuntimeChunkPlugin.js +2 -2
  225. package/lib/optimize/SideEffectsFlagPlugin.js +5 -5
  226. package/lib/optimize/SplitChunksPlugin.js +20 -20
  227. package/lib/performance/AssetsOverSizeLimitWarning.js +1 -1
  228. package/lib/performance/EntrypointsOverSizeLimitWarning.js +2 -2
  229. package/lib/performance/SizeLimitsPlugin.js +4 -4
  230. package/lib/prefetch/ChunkPrefetchPreloadPlugin.js +1 -1
  231. package/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +3 -3
  232. package/lib/rules/BasicMatcherRulePlugin.js +1 -1
  233. package/lib/rules/RuleSetCompiler.js +10 -10
  234. package/lib/rules/UseEffectRulePlugin.js +2 -2
  235. package/lib/runtime/GetChunkFilenameRuntimeModule.js +19 -15
  236. package/lib/runtime/GetMainFilenameRuntimeModule.js +1 -1
  237. package/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +1 -1
  238. package/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +1 -1
  239. package/lib/runtime/StartupChunkDependenciesPlugin.js +2 -2
  240. package/lib/runtime/StartupChunkDependenciesRuntimeModule.js +3 -3
  241. package/lib/schemes/DataUriPlugin.js +3 -3
  242. package/lib/schemes/FileUriPlugin.js +1 -1
  243. package/lib/schemes/HttpUriPlugin.js +40 -36
  244. package/lib/schemes/VirtualUrlPlugin.js +1 -1
  245. package/lib/serialization/BinaryMiddleware.js +11 -11
  246. package/lib/serialization/FileMiddleware.js +18 -17
  247. package/lib/serialization/ObjectMiddleware.js +8 -8
  248. package/lib/serialization/Serializer.js +2 -2
  249. package/lib/serialization/SerializerMiddleware.js +2 -2
  250. package/lib/sharing/ConsumeSharedPlugin.js +4 -4
  251. package/lib/sharing/ProvideSharedPlugin.js +4 -4
  252. package/lib/sharing/SharePlugin.js +1 -1
  253. package/lib/sharing/resolveMatchedConfigs.js +1 -1
  254. package/lib/stats/DefaultStatsFactoryPlugin.js +85 -80
  255. package/lib/stats/DefaultStatsPresetPlugin.js +15 -15
  256. package/lib/stats/DefaultStatsPrinterPlugin.js +87 -87
  257. package/lib/stats/StatsFactory.js +7 -7
  258. package/lib/stats/StatsPrinter.js +9 -9
  259. package/lib/url/URLParserPlugin.js +5 -5
  260. package/lib/util/AsyncQueue.js +4 -4
  261. package/lib/util/IterableHelpers.js +2 -2
  262. package/lib/util/LazyBucketSortedSet.js +3 -3
  263. package/lib/util/SetHelpers.js +2 -2
  264. package/lib/util/StackedCacheMap.js +1 -1
  265. package/lib/util/StackedMap.js +1 -1
  266. package/lib/util/TupleSet.js +1 -1
  267. package/lib/util/WeakTupleMap.js +1 -1
  268. package/lib/util/cleverMerge.js +8 -8
  269. package/lib/util/comparators.js +10 -10
  270. package/lib/util/compileBooleanMatcher.js +20 -20
  271. package/lib/util/concatenate.js +3 -3
  272. package/lib/util/conventions.js +4 -4
  273. package/lib/util/create-schema-validation.js +1 -1
  274. package/lib/util/createHash.js +1 -1
  275. package/lib/util/deprecation.js +4 -4
  276. package/lib/util/deterministicGrouping.js +7 -7
  277. package/lib/util/findGraphRoots.js +1 -1
  278. package/lib/util/fs.js +4 -4
  279. package/lib/util/identifier.js +14 -14
  280. package/lib/util/magicComment.js +5 -1
  281. package/lib/util/memoize.js +1 -1
  282. package/lib/util/processAsyncTree.js +2 -2
  283. package/lib/util/propertyName.js +1 -1
  284. package/lib/util/removeBOM.js +1 -1
  285. package/lib/util/runtime.js +6 -6
  286. package/lib/util/semver.js +16 -16
  287. package/lib/util/serialization.js +5 -5
  288. package/lib/util/smartGrouping.js +1 -1
  289. package/lib/validateSchema.js +2 -2
  290. package/lib/wasm/EnableWasmLoadingPlugin.js +1 -1
  291. package/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +1 -1
  292. package/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +1 -1
  293. package/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js +4 -4
  294. package/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +13 -9
  295. package/lib/wasm-sync/WasmFinalizeExportsPlugin.js +2 -2
  296. package/lib/wasm-sync/WebAssemblyGenerator.js +16 -17
  297. package/lib/wasm-sync/WebAssemblyInInitialChunkError.js +4 -2
  298. package/lib/wasm-sync/WebAssemblyParser.js +2 -2
  299. package/lib/web/FetchCompileAsyncWasmPlugin.js +4 -4
  300. package/lib/web/FetchCompileWasmPlugin.js +4 -4
  301. package/lib/web/JsonpChunkLoadingPlugin.js +2 -2
  302. package/lib/web/JsonpChunkLoadingRuntimeModule.js +1 -1
  303. package/lib/webpack.js +17 -12
  304. package/lib/webworker/ImportScriptsChunkLoadingPlugin.js +2 -2
  305. package/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +1 -1
  306. package/package.json +16 -16
  307. package/schemas/WebpackOptions.check.js +1 -1
  308. package/schemas/WebpackOptions.json +4 -0
  309. package/types.d.ts +275 -64
@@ -1874,6 +1874,10 @@
1874
1874
  }
1875
1875
  ]
1876
1876
  },
1877
+ "deferImport": {
1878
+ "description": "Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.",
1879
+ "type": "boolean"
1880
+ },
1877
1881
  "dynamicImportFetchPriority": {
1878
1882
  "description": "Specifies global fetchPriority for dynamic import.",
1879
1883
  "enum": ["low", "high", "auto", false]
package/types.d.ts CHANGED
@@ -160,6 +160,12 @@ declare class AbstractLibraryPlugin<T> {
160
160
  renderContext: StartupRenderContext,
161
161
  libraryContext: LibraryContext<T>
162
162
  ): Source;
163
+ renderModuleContent(
164
+ source: Source,
165
+ module: Module,
166
+ renderContext: ModuleRenderContext,
167
+ libraryContext: Omit<LibraryContext<T>, "options">
168
+ ): Source;
163
169
  chunkHash(
164
170
  chunk: Chunk,
165
171
  hash: Hash,
@@ -1180,6 +1186,7 @@ declare interface CallbackWebpack<T> {
1180
1186
  (err: null | Error, stats?: T): void;
1181
1187
  }
1182
1188
  type Cell<T> = undefined | T;
1189
+ type ChildrenStatsOptions = undefined | string | boolean | StatsOptions;
1183
1190
  declare class Chunk {
1184
1191
  constructor(name?: null | string, backCompat?: boolean);
1185
1192
  id: null | string | number;
@@ -1366,6 +1373,7 @@ declare class ChunkGraph {
1366
1373
  getNumberOfRuntimeModules(chunk: Chunk): number;
1367
1374
  getChunkEntryModulesIterable(chunk: Chunk): Iterable<Module>;
1368
1375
  getChunkEntryDependentChunksIterable(chunk: Chunk): Iterable<Chunk>;
1376
+ getChunkEntryDependOnChunksIterable(chunk: Chunk): Iterable<Chunk>;
1369
1377
  hasChunkEntryDependentChunks(chunk: Chunk): boolean;
1370
1378
  getChunkRuntimeModulesIterable(chunk: Chunk): Iterable<RuntimeModule>;
1371
1379
  getChunkRuntimeModulesInOrder(chunk: Chunk): RuntimeModule[];
@@ -1951,6 +1959,55 @@ type CodeValuePrimitive =
1951
1959
  | boolean
1952
1960
  | Function
1953
1961
  | RegExp;
1962
+ declare interface Colors {
1963
+ reset: (value?: any) => string;
1964
+ bold: (value?: any) => string;
1965
+ dim: (value?: any) => string;
1966
+ italic: (value?: any) => string;
1967
+ underline: (value?: any) => string;
1968
+ inverse: (value?: any) => string;
1969
+ hidden: (value?: any) => string;
1970
+ strikethrough: (value?: any) => string;
1971
+ black: (value?: any) => string;
1972
+ red: (value?: any) => string;
1973
+ green: (value?: any) => string;
1974
+ yellow: (value?: any) => string;
1975
+ blue: (value?: any) => string;
1976
+ magenta: (value?: any) => string;
1977
+ cyan: (value?: any) => string;
1978
+ white: (value?: any) => string;
1979
+ gray: (value?: any) => string;
1980
+ bgBlack: (value?: any) => string;
1981
+ bgRed: (value?: any) => string;
1982
+ bgGreen: (value?: any) => string;
1983
+ bgYellow: (value?: any) => string;
1984
+ bgBlue: (value?: any) => string;
1985
+ bgMagenta: (value?: any) => string;
1986
+ bgCyan: (value?: any) => string;
1987
+ bgWhite: (value?: any) => string;
1988
+ blackBright: (value?: any) => string;
1989
+ redBright: (value?: any) => string;
1990
+ greenBright: (value?: any) => string;
1991
+ yellowBright: (value?: any) => string;
1992
+ blueBright: (value?: any) => string;
1993
+ magentaBright: (value?: any) => string;
1994
+ cyanBright: (value?: any) => string;
1995
+ whiteBright: (value?: any) => string;
1996
+ bgBlackBright: (value?: any) => string;
1997
+ bgRedBright: (value?: any) => string;
1998
+ bgGreenBright: (value?: any) => string;
1999
+ bgYellowBright: (value?: any) => string;
2000
+ bgBlueBright: (value?: any) => string;
2001
+ bgMagentaBright: (value?: any) => string;
2002
+ bgCyanBright: (value?: any) => string;
2003
+ bgWhiteBright: (value?: any) => string;
2004
+ }
2005
+ declare interface ColorsOptions {
2006
+ /**
2007
+ * force use colors
2008
+ */
2009
+ useColor?: boolean;
2010
+ }
1954
2011
  declare interface Comparator<T> {
1955
2012
  (a: T, b: T): 0 | 1 | -1;
1956
2013
  }
@@ -2499,15 +2556,11 @@ declare interface CompilationHooksCssModulesPlugin {
2499
2556
  chunkHash: SyncHook<[Chunk, Hash, ChunkHashContext]>;
2500
2557
  }
2501
2558
  declare interface CompilationHooksJavascriptModulesPlugin {
2502
- renderModuleContent: SyncWaterfallHook<
2503
- [Source, Module, ChunkRenderContextJavascriptModulesPlugin]
2504
- >;
2559
+ renderModuleContent: SyncWaterfallHook<[Source, Module, ModuleRenderContext]>;
2505
2560
  renderModuleContainer: SyncWaterfallHook<
2506
- [Source, Module, ChunkRenderContextJavascriptModulesPlugin]
2507
- >;
2508
- renderModulePackage: SyncWaterfallHook<
2509
- [Source, Module, ChunkRenderContextJavascriptModulesPlugin]
2561
+ [Source, Module, ModuleRenderContext]
2510
2562
  >;
2563
+ renderModulePackage: SyncWaterfallHook<[Source, Module, ModuleRenderContext]>;
2511
2564
  renderChunk: SyncWaterfallHook<
2512
2565
  [Source, RenderContextJavascriptModulesPlugin]
2513
2566
  >;
@@ -2519,7 +2572,7 @@ declare interface CompilationHooksJavascriptModulesPlugin {
2519
2572
  renderStartup: SyncWaterfallHook<[Source, Module, StartupRenderContext]>;
2520
2573
  renderRequire: SyncWaterfallHook<[string, RenderBootstrapContext]>;
2521
2574
  inlineInRuntimeBailout: SyncBailHook<
2522
- [Module, RenderBootstrapContext],
2575
+ [Module, Partial<RenderBootstrapContext>],
2523
2576
  string | void
2524
2577
  >;
2525
2578
  embedInRuntimeBailout: SyncBailHook<
@@ -2701,6 +2754,7 @@ declare interface ConcatenatedModuleInfo {
2701
2754
  rawExportMap?: Map<string, string>;
2702
2755
  namespaceExportSymbol?: string;
2703
2756
  namespaceObjectName?: string;
2757
+ concatenationScope?: ConcatenationScope;
2704
2758
 
2705
2759
  /**
2706
2760
  * "default-with-named" namespace
@@ -2746,12 +2800,17 @@ declare interface ConcatenationBailoutReasonContext {
2746
2800
  declare class ConcatenationScope {
2747
2801
  constructor(
2748
2802
  modulesMap: ModuleInfo[] | Map<Module, ModuleInfo>,
2749
- currentModule: ConcatenatedModuleInfo
2803
+ currentModule: ConcatenatedModuleInfo,
2804
+ usedNames: Set<string>
2750
2805
  );
2806
+ usedNames: Set<string>;
2751
2807
  isModuleInScope(module: Module): boolean;
2752
2808
  registerExport(exportName: string, symbol: string): void;
2753
2809
  registerRawExport(exportName: string, expression: string): void;
2810
+ getRawExport(exportName: string): undefined | string;
2811
+ setRawExportMap(exportName: string, expression: string): void;
2754
2812
  registerNamespaceExport(symbol: string): void;
2813
+ registerUsedName(symbol: string): boolean;
2755
2814
  createModuleReference(
2756
2815
  module: Module,
2757
2816
  __1: Partial<ModuleReferenceOptions>
@@ -5180,6 +5239,7 @@ declare class ExternalModule extends Module {
5180
5239
  unsafeCacheData: UnsafeCacheData,
5181
5240
  normalModuleFactory: NormalModuleFactory
5182
5241
  ): void;
5242
+ static ModuleExternalInitFragment: typeof ModuleExternalInitFragment;
5183
5243
  }
5184
5244
  declare interface ExternalModuleInfo {
5185
5245
  type: "external";
@@ -5606,9 +5666,9 @@ declare abstract class FileSystemInfo {
5606
5666
  ): void;
5607
5667
  createSnapshot(
5608
5668
  startTime: undefined | null | number,
5609
- files: null | Iterable<string>,
5610
- directories: null | Iterable<string>,
5611
- missing: null | Iterable<string>,
5669
+ files: undefined | null | Iterable<string>,
5670
+ directories: undefined | null | Iterable<string>,
5671
+ missing: undefined | null | Iterable<string>,
5612
5672
  options: undefined | null | SnapshotOptionsFileSystemInfo,
5613
5673
  callback: (err: null | WebpackError, snapshot: null | Snapshot) => void
5614
5674
  ): void;
@@ -5910,10 +5970,12 @@ declare class HarmonyImportDependency extends ModuleDependency {
5910
5970
  constructor(
5911
5971
  request: string,
5912
5972
  sourceOrder: number,
5913
- attributes?: ImportAttributes
5973
+ attributes?: ImportAttributes,
5974
+ defer?: boolean
5914
5975
  );
5915
5976
  sourceOrder: number;
5916
5977
  getImportVar(moduleGraph: ModuleGraph): string;
5978
+ getModuleExports(__0: DependencyTemplateContext): string;
5917
5979
  getImportStatement(
5918
5980
  update: boolean,
5919
5981
  __1: DependencyTemplateContext
@@ -6226,6 +6288,7 @@ type ImportSource =
6226
6288
  | SimpleLiteral
6227
6289
  | RegExpLiteral
6228
6290
  | BigIntLiteral;
6291
+ type Imported = true | [string, string][];
6229
6292
 
6230
6293
  /**
6231
6294
  * Options for infrastructure level logging.
@@ -6288,6 +6351,8 @@ declare class InitFragment<GenerateContext> {
6288
6351
  serialize(context: ObjectSerializerContext): void;
6289
6352
  deserialize(context: ObjectDeserializerContext): void;
6290
6353
  merge: any;
6354
+ getImported: any;
6355
+ setImported: any;
6291
6356
  static addToSource<Context, T>(
6292
6357
  source: Source,
6293
6358
  initFragments: InitFragment<T>[],
@@ -6399,9 +6464,8 @@ declare class JavascriptModulesPlugin {
6399
6464
  apply(compiler: Compiler): void;
6400
6465
  renderModule(
6401
6466
  module: Module,
6402
- renderContext: ChunkRenderContextJavascriptModulesPlugin,
6403
- hooks: CompilationHooksJavascriptModulesPlugin,
6404
- factory: boolean
6467
+ renderContext: ModuleRenderContext,
6468
+ hooks: CompilationHooksJavascriptModulesPlugin
6405
6469
  ): null | Source;
6406
6470
  renderChunk(
6407
6471
  renderContext: RenderContextJavascriptModulesPlugin,
@@ -7818,6 +7882,11 @@ declare interface JavascriptParserOptions {
7818
7882
  */
7819
7883
  createRequire?: string | boolean;
7820
7884
 
7885
+ /**
7886
+ * Enable experimental tc39 proposal https://github.com/tc39/proposal-defer-import-eval. This allows to defer execution of a module until it's first use.
7887
+ */
7888
+ deferImport?: boolean;
7889
+
7821
7890
  /**
7822
7891
  * Specifies global fetchPriority for dynamic import.
7823
7892
  */
@@ -8009,7 +8078,7 @@ declare interface JsonGeneratorOptions {
8009
8078
  */
8010
8079
  JSONParse?: boolean;
8011
8080
  }
8012
- type JsonObjectFs = { [index: string]: JsonValueFs } & {
8081
+ declare interface JsonObjectFs {
8013
8082
  [index: string]:
8014
8083
  | undefined
8015
8084
  | null
@@ -8018,8 +8087,8 @@ type JsonObjectFs = { [index: string]: JsonValueFs } & {
8018
8087
  | boolean
8019
8088
  | JsonObjectFs
8020
8089
  | JsonValueFs[];
8021
- };
8022
- type JsonObjectTypes = { [index: string]: JsonValueTypes } & {
8090
+ }
8091
+ declare interface JsonObjectTypes {
8023
8092
  [index: string]:
8024
8093
  | undefined
8025
8094
  | null
@@ -8028,7 +8097,7 @@ type JsonObjectTypes = { [index: string]: JsonValueTypes } & {
8028
8097
  | boolean
8029
8098
  | JsonObjectTypes
8030
8099
  | JsonValueTypes[];
8031
- };
8100
+ }
8032
8101
 
8033
8102
  /**
8034
8103
  * Parser options for JSON modules.
@@ -8288,9 +8357,10 @@ declare interface KnownBuildMeta {
8288
8357
  strictHarmonyModule?: boolean;
8289
8358
  async?: boolean;
8290
8359
  sideEffectFree?: boolean;
8291
- exportsFinalName?: Record<string, string>;
8292
8360
  isCSSModule?: boolean;
8293
8361
  jsIncompatibleExports?: Record<string, string>;
8362
+ exportsFinalName?: Record<string, string>;
8363
+ factoryExportsBinding?: string;
8294
8364
  }
8295
8365
  declare interface KnownCreateStatsOptionsContext {
8296
8366
  forToString?: boolean;
@@ -8445,7 +8515,7 @@ declare interface KnownStatsChunkOrigin {
8445
8515
  moduleId?: string | number;
8446
8516
  }
8447
8517
  declare interface KnownStatsCompilation {
8448
- env?: Record<string, any>;
8518
+ env?: any;
8449
8519
  name?: string;
8450
8520
  hash?: string;
8451
8521
  version?: string;
@@ -9759,7 +9829,30 @@ declare class ModuleDependency extends Dependency {
9759
9829
  static EXPORTS_OBJECT_REFERENCED: string[][];
9760
9830
  static TRANSITIVE: typeof TRANSITIVE;
9761
9831
  }
9762
- declare abstract class ModuleFactory {
9832
+ declare class ModuleExternalInitFragment extends InitFragment<GenerateContext> {
9833
+ constructor(
9834
+ request: string,
9835
+ imported: Imported,
9836
+ ident?: string,
9837
+ dependencyMeta?: ImportDependencyMeta,
9838
+ hashFunction?: string | typeof Hash
9839
+ );
9840
+ getNamespaceIdentifier(): string;
9841
+ static addToSource<Context, T>(
9842
+ source: Source,
9843
+ initFragments: InitFragment<T>[],
9844
+ context: Context
9845
+ ): Source;
9846
+ static STAGE_CONSTANTS: number;
9847
+ static STAGE_ASYNC_BOUNDARY: number;
9848
+ static STAGE_HARMONY_EXPORTS: number;
9849
+ static STAGE_HARMONY_IMPORTS: number;
9850
+ static STAGE_PROVIDES: number;
9851
+ static STAGE_ASYNC_DEPENDENCIES: number;
9852
+ static STAGE_ASYNC_HARMONY_IMPORTS: number;
9853
+ }
9854
+ declare class ModuleFactory {
9855
+ constructor();
9763
9856
  create(
9764
9857
  data: ModuleFactoryCreateData,
9765
9858
  callback: (err?: null | Error, result?: ModuleFactoryResult) => void
@@ -10266,6 +10359,57 @@ declare interface ModuleReferenceOptions {
10266
10359
  */
10267
10360
  asiSafe?: boolean;
10268
10361
  }
10362
+ declare interface ModuleRenderContext {
10363
+ /**
10364
+ * the chunk
10365
+ */
10366
+ chunk: Chunk;
10367
+
10368
+ /**
10369
+ * the dependency templates
10370
+ */
10371
+ dependencyTemplates: DependencyTemplates;
10372
+
10373
+ /**
10374
+ * the runtime template
10375
+ */
10376
+ runtimeTemplate: RuntimeTemplate;
10377
+
10378
+ /**
10379
+ * the module graph
10380
+ */
10381
+ moduleGraph: ModuleGraph;
10382
+
10383
+ /**
10384
+ * the chunk graph
10385
+ */
10386
+ chunkGraph: ChunkGraph;
10387
+
10388
+ /**
10389
+ * results of code generation
10390
+ */
10391
+ codeGenerationResults: CodeGenerationResults;
10392
+
10393
+ /**
10394
+ * init fragments for the chunk
10395
+ */
10396
+ chunkInitFragments: InitFragment<ChunkRenderContextJavascriptModulesPlugin>[];
10397
+
10398
+ /**
10399
+ * rendering in strict context
10400
+ */
10401
+ strictMode?: boolean;
10402
+
10403
+ /**
10404
+ * true: renders as factory method, false: pure module content
10405
+ */
10406
+ factory: boolean;
10407
+
10408
+ /**
10409
+ * the inlined entry module is wrapped in an IIFE, existing only when `factory` is set to false
10410
+ */
10411
+ inlinedInIIFE?: boolean;
10412
+ }
10269
10413
  declare interface ModuleResult {
10270
10414
  client: string;
10271
10415
  data: string;
@@ -10313,7 +10457,7 @@ declare abstract class ModuleTemplate {
10313
10457
  fn: (
10314
10458
  source: Source,
10315
10459
  module: Module,
10316
- chunkRenderContext: ChunkRenderContextJavascriptModulesPlugin,
10460
+ moduleRenderContext: ModuleRenderContext,
10317
10461
  dependencyTemplates: DependencyTemplates
10318
10462
  ) => Source
10319
10463
  ) => void;
@@ -10326,7 +10470,7 @@ declare abstract class ModuleTemplate {
10326
10470
  fn: (
10327
10471
  source: Source,
10328
10472
  module: Module,
10329
- chunkRenderContext: ChunkRenderContextJavascriptModulesPlugin,
10473
+ moduleRenderContext: ModuleRenderContext,
10330
10474
  dependencyTemplates: DependencyTemplates
10331
10475
  ) => Source
10332
10476
  ) => void;
@@ -10417,14 +10561,18 @@ declare interface MultiCompilerOptions {
10417
10561
  */
10418
10562
  parallelism?: number;
10419
10563
  }
10564
+ type MultiConfiguration = ReadonlyArray<Configuration> & MultiCompilerOptions;
10420
10565
  declare abstract class MultiStats {
10421
10566
  stats: Stats[];
10422
10567
  get hash(): string;
10423
10568
  hasErrors(): boolean;
10424
10569
  hasWarnings(): boolean;
10425
- toJson(options?: string | boolean | StatsOptions): StatsCompilation;
10426
- toString(options?: string | boolean | StatsOptions): string;
10570
+ toJson(options?: string | boolean | MultiStatsOptions): StatsCompilation;
10571
+ toString(options?: string | boolean | MultiStatsOptions): string;
10427
10572
  }
10573
+ type MultiStatsOptions = Omit<StatsOptions, "children"> & {
10574
+ children?: string | boolean | StatsOptions | ChildrenStatsOptions[];
10575
+ };
10428
10576
  declare abstract class MultiWatching {
10429
10577
  watchings: Watching[];
10430
10578
  compiler: MultiCompiler;
@@ -10877,43 +11025,43 @@ declare class NormalModuleReplacementPlugin {
10877
11025
  type NormalizedStatsOptions = KnownNormalizedStatsOptions &
10878
11026
  Omit<
10879
11027
  StatsOptions,
10880
- | "context"
10881
- | "chunkGroups"
10882
- | "requestShortener"
10883
- | "chunksSort"
10884
- | "modulesSort"
10885
- | "chunkModulesSort"
10886
- | "nestedModulesSort"
10887
11028
  | "assetsSort"
10888
- | "ids"
10889
- | "cachedAssets"
10890
- | "groupAssetsByEmitStatus"
10891
- | "groupAssetsByPath"
10892
- | "groupAssetsByExtension"
10893
11029
  | "assetsSpace"
10894
- | "excludeAssets"
10895
- | "excludeModules"
10896
- | "warningsFilter"
11030
+ | "cachedAssets"
10897
11031
  | "cachedModules"
10898
- | "orphanModules"
11032
+ | "chunkGroupAuxiliary"
11033
+ | "chunkGroupChildren"
11034
+ | "chunkGroupMaxAssets"
11035
+ | "chunkGroups"
11036
+ | "chunkModulesSpace"
11037
+ | "chunksSort"
11038
+ | "context"
10899
11039
  | "dependentModules"
10900
- | "runtimeModules"
11040
+ | "entrypoints"
11041
+ | "excludeAssets"
11042
+ | "excludeModules"
11043
+ | "groupAssetsByEmitStatus"
11044
+ | "groupAssetsByExtension"
11045
+ | "groupAssetsByPath"
11046
+ | "groupModulesByAttributes"
10901
11047
  | "groupModulesByCacheStatus"
11048
+ | "groupModulesByExtension"
10902
11049
  | "groupModulesByLayer"
10903
- | "groupModulesByAttributes"
10904
11050
  | "groupModulesByPath"
10905
- | "groupModulesByExtension"
10906
11051
  | "groupModulesByType"
10907
- | "entrypoints"
10908
- | "chunkGroupAuxiliary"
10909
- | "chunkGroupChildren"
10910
- | "chunkGroupMaxAssets"
10911
- | "modulesSpace"
10912
- | "chunkModulesSpace"
10913
- | "nestedModulesSpace"
11052
+ | "ids"
10914
11053
  | "logging"
10915
11054
  | "loggingDebug"
10916
11055
  | "loggingTrace"
11056
+ | "modulesSort"
11057
+ | "modulesSpace"
11058
+ | "nestedModulesSpace"
11059
+ | "orphanModules"
11060
+ | "runtimeModules"
11061
+ | "warningsFilter"
11062
+ | "requestShortener"
11063
+ | "chunkModulesSort"
11064
+ | "nestedModulesSort"
10917
11065
  | "_env"
10918
11066
  > &
10919
11067
  Record<string, any>;
@@ -12574,7 +12722,7 @@ declare class ProgressPlugin {
12574
12722
  showModules?: boolean;
12575
12723
  showDependencies?: boolean;
12576
12724
  showActiveModules?: boolean;
12577
- percentBy?: null | "entries" | "modules" | "dependencies";
12725
+ percentBy?: null | "modules" | "entries" | "dependencies";
12578
12726
  apply(compiler: Compiler | MultiCompiler): void;
12579
12727
  static getReporter(
12580
12728
  compiler: Compiler
@@ -12639,7 +12787,7 @@ declare interface ProgressPluginOptions {
12639
12787
  /**
12640
12788
  * Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.
12641
12789
  */
12642
- percentBy?: null | "entries" | "modules" | "dependencies";
12790
+ percentBy?: null | "modules" | "entries" | "dependencies";
12643
12791
 
12644
12792
  /**
12645
12793
  * Collect profile data for progress steps. Default: false.
@@ -14912,6 +15060,7 @@ declare abstract class RuntimeTemplate {
14912
15060
  supportsEcmaScriptModuleSyntax(): undefined | boolean;
14913
15061
  supportTemplateLiteral(): undefined | boolean;
14914
15062
  supportNodePrefixForCoreModules(): undefined | boolean;
15063
+ renderNodePrefixForCoreModule(mod: string): string;
14915
15064
  returningFunction(returnValue: string, args?: string): string;
14916
15065
  basicFunction(args: string, body: string | string[]): string;
14917
15066
  concatenation(...args: (string | { expr: string })[]): string;
@@ -15882,9 +16031,52 @@ declare abstract class StackedMap<K, V> {
15882
16031
  get size(): number;
15883
16032
  createChild(): StackedMap<K, V>;
15884
16033
  }
15885
- type StartupRenderContext = RenderContextJavascriptModulesPlugin & {
16034
+ declare interface StartupRenderContext {
16035
+ /**
16036
+ * the chunk
16037
+ */
16038
+ chunk: Chunk;
16039
+
16040
+ /**
16041
+ * the dependency templates
16042
+ */
16043
+ dependencyTemplates: DependencyTemplates;
16044
+
16045
+ /**
16046
+ * the runtime template
16047
+ */
16048
+ runtimeTemplate: RuntimeTemplate;
16049
+
16050
+ /**
16051
+ * the module graph
16052
+ */
16053
+ moduleGraph: ModuleGraph;
16054
+
16055
+ /**
16056
+ * the chunk graph
16057
+ */
16058
+ chunkGraph: ChunkGraph;
16059
+
16060
+ /**
16061
+ * results of code generation
16062
+ */
16063
+ codeGenerationResults: CodeGenerationResults;
16064
+
16065
+ /**
16066
+ * rendering in strict context
16067
+ */
16068
+ strictMode?: boolean;
16069
+
16070
+ /**
16071
+ * inlined
16072
+ */
15886
16073
  inlined: boolean;
15887
- };
16074
+
16075
+ /**
16076
+ * the inlined entry module is wrapped in an IIFE
16077
+ */
16078
+ inlinedInIIFE?: boolean;
16079
+ }
15888
16080
  declare interface StatFs {
15889
16081
  (
15890
16082
  path: PathLikeFs,
@@ -17389,21 +17581,24 @@ declare interface WriteStreamOptions {
17389
17581
  declare function exports(
17390
17582
  options: Configuration,
17391
17583
  callback?: CallbackWebpack<Stats>
17392
- ): Compiler;
17584
+ ): null | Compiler;
17393
17585
  declare function exports(
17394
- options: ReadonlyArray<Configuration> & MultiCompilerOptions,
17586
+ options: MultiConfiguration,
17395
17587
  callback?: CallbackWebpack<MultiStats>
17396
- ): MultiCompiler;
17588
+ ): null | MultiCompiler;
17397
17589
  declare namespace exports {
17398
17590
  export const webpack: {
17399
- (options: Configuration, callback?: CallbackWebpack<Stats>): Compiler;
17400
17591
  (
17401
- options: ReadonlyArray<Configuration> & MultiCompilerOptions,
17592
+ options: Configuration,
17593
+ callback?: CallbackWebpack<Stats>
17594
+ ): null | Compiler;
17595
+ (
17596
+ options: MultiConfiguration,
17402
17597
  callback?: CallbackWebpack<MultiStats>
17403
- ): MultiCompiler;
17598
+ ): null | MultiCompiler;
17404
17599
  };
17405
17600
  export const validate: (
17406
- configuration: Configuration | Configuration[]
17601
+ configuration: Configuration | MultiConfiguration
17407
17602
  ) => void;
17408
17603
  export const validateSchema: (
17409
17604
  schema: Parameters<typeof validateFunction>[0],
@@ -17412,6 +17607,7 @@ declare namespace exports {
17412
17607
  ) => void;
17413
17608
  export const version: string;
17414
17609
  export namespace cli {
17610
+ export let createColors: (__0?: ColorsOptions) => Colors;
17415
17611
  export let getArguments: (
17416
17612
  schema?:
17417
17613
  | (JSONSchema4 & {
@@ -17448,6 +17644,7 @@ declare namespace exports {
17448
17644
  };
17449
17645
  })
17450
17646
  ) => Flags;
17647
+ export let isColorSupported: () => boolean;
17451
17648
  export let processArguments: (
17452
17649
  args: Flags,
17453
17650
  config: ObjectConfiguration,
@@ -17525,6 +17722,10 @@ declare namespace exports {
17525
17722
  export let ensureChunkHandlers: "__webpack_require__.f";
17526
17723
  export let ensureChunkIncludeEntries: "__webpack_require__.f (include entries)";
17527
17724
  export let entryModuleId: "__webpack_require__.s";
17725
+ export let esmId: "__webpack_esm_id__";
17726
+ export let esmIds: "__webpack_esm_ids__";
17727
+ export let esmModules: "__webpack_esm_modules__";
17728
+ export let esmRuntime: "__webpack_esm_runtime__";
17528
17729
  export let exports: "__webpack_exports__";
17529
17730
  export let externalInstallChunk: "__webpack_require__.C";
17530
17731
  export let getChunkCssFilename: "__webpack_require__.k";
@@ -18044,6 +18245,7 @@ declare namespace exports {
18044
18245
  LoaderOptionsPlugin,
18045
18246
  LoaderTargetPlugin,
18046
18247
  Module,
18248
+ ModuleFactory,
18047
18249
  ModuleGraph,
18048
18250
  ModuleGraphConnection,
18049
18251
  NoEmitOnErrorsPlugin,
@@ -18100,14 +18302,21 @@ declare namespace exports {
18100
18302
  AssetEmittedInfo,
18101
18303
  Entrypoint,
18102
18304
  MultiCompilerOptions,
18305
+ MultiConfiguration,
18103
18306
  MultiStats,
18307
+ MultiStatsOptions,
18104
18308
  ResolveData,
18105
18309
  ParserState,
18106
18310
  ResolvePluginInstance,
18107
18311
  Resolver,
18312
+ RenderManifestEntry,
18313
+ RenderManifestOptions,
18314
+ TemplatePath,
18108
18315
  Watching,
18109
18316
  Argument,
18110
18317
  Problem,
18318
+ Colors,
18319
+ ColorsOptions,
18111
18320
  StatsAsset,
18112
18321
  StatsChunk,
18113
18322
  StatsChunkGroup,
@@ -18122,6 +18331,8 @@ declare namespace exports {
18122
18331
  StatsModuleTraceDependency,
18123
18332
  StatsModuleTraceItem,
18124
18333
  StatsProfile,
18334
+ ObjectSerializerContext,
18335
+ ObjectDeserializerContext,
18125
18336
  InputFileSystem,
18126
18337
  OutputFileSystem,
18127
18338
  LoaderModule,