mirror of https://github.com/webpack/webpack.git
				
				
				
			add renderStartup hook
This commit is contained in:
		
							parent
							
								
									b352f20d2d
								
							
						
					
					
						commit
						b29dd3d224
					
				|  | @ -7,6 +7,7 @@ | ||||||
| 
 | 
 | ||||||
| const asyncLib = require("neo-async"); | const asyncLib = require("neo-async"); | ||||||
| const EntryDependency = require("./dependencies/EntryDependency"); | const EntryDependency = require("./dependencies/EntryDependency"); | ||||||
|  | const { someInIterable } = require("./util/IterableHelpers"); | ||||||
| const { compareModulesById } = require("./util/comparators"); | const { compareModulesById } = require("./util/comparators"); | ||||||
| const { dirname, mkdirp } = require("./util/fs"); | const { dirname, mkdirp } = require("./util/fs"); | ||||||
| 
 | 
 | ||||||
|  | @ -19,19 +20,6 @@ const { dirname, mkdirp } = require("./util/fs"); | ||||||
|  * @property {boolean | string[]} exports |  * @property {boolean | string[]} exports | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| /** |  | ||||||
|  * @template T |  | ||||||
|  * @param {Iterable<T>} iterable iterable |  | ||||||
|  * @param {function(T): boolean} filter predicate |  | ||||||
|  * @returns {boolean} true, if some items match the filter predicate |  | ||||||
|  */ |  | ||||||
| const someInIterable = (iterable, filter) => { |  | ||||||
| 	for (const item of iterable) { |  | ||||||
| 		if (filter(item)) return true; |  | ||||||
| 	} |  | ||||||
| 	return false; |  | ||||||
| }; |  | ||||||
| 
 |  | ||||||
| class LibManifestPlugin { | class LibManifestPlugin { | ||||||
| 	constructor(options) { | 	constructor(options) { | ||||||
| 		this.options = options; | 		this.options = options; | ||||||
|  |  | ||||||
|  | @ -18,6 +18,7 @@ const { tryRunOrWebpackError } = require("../HookWebpackError"); | ||||||
| const HotUpdateChunk = require("../HotUpdateChunk"); | const HotUpdateChunk = require("../HotUpdateChunk"); | ||||||
| const RuntimeGlobals = require("../RuntimeGlobals"); | const RuntimeGlobals = require("../RuntimeGlobals"); | ||||||
| const Template = require("../Template"); | const Template = require("../Template"); | ||||||
|  | const { last, someInIterable } = require("../util/IterableHelpers"); | ||||||
| const StringXor = require("../util/StringXor"); | const StringXor = require("../util/StringXor"); | ||||||
| const { compareModulesByIdentifier } = require("../util/comparators"); | const { compareModulesByIdentifier } = require("../util/comparators"); | ||||||
| const createHash = require("../util/createHash"); | const createHash = require("../util/createHash"); | ||||||
|  | @ -37,19 +38,6 @@ const JavascriptParser = require("./JavascriptParser"); | ||||||
| /** @typedef {import("../RuntimeTemplate")} RuntimeTemplate */ | /** @typedef {import("../RuntimeTemplate")} RuntimeTemplate */ | ||||||
| /** @typedef {import("../util/Hash")} Hash */ | /** @typedef {import("../util/Hash")} Hash */ | ||||||
| 
 | 
 | ||||||
| /** |  | ||||||
|  * @template T |  | ||||||
|  * @param {Iterable<T>} iterable iterable |  | ||||||
|  * @param {function(T): boolean} filter predicate |  | ||||||
|  * @returns {boolean} true, if some items match the filter predicate |  | ||||||
|  */ |  | ||||||
| const someInIterable = (iterable, filter) => { |  | ||||||
| 	for (const item of iterable) { |  | ||||||
| 		if (filter(item)) return true; |  | ||||||
| 	} |  | ||||||
| 	return false; |  | ||||||
| }; |  | ||||||
| 
 |  | ||||||
| /** | /** | ||||||
|  * @param {Chunk} chunk a chunk |  * @param {Chunk} chunk a chunk | ||||||
|  * @param {ChunkGraph} chunkGraph the chunk graph |  * @param {ChunkGraph} chunkGraph the chunk graph | ||||||
|  | @ -93,6 +81,8 @@ const chunkHasJs = (chunk, chunkGraph) => { | ||||||
|  * @property {string} hash hash to be used for render call |  * @property {string} hash hash to be used for render call | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
|  | /** @typedef {RenderContext & { inlined: boolean }} StartupRenderContext */ | ||||||
|  | 
 | ||||||
| /** | /** | ||||||
|  * @typedef {Object} CompilationHooks |  * @typedef {Object} CompilationHooks | ||||||
|  * @property {SyncWaterfallHook<[Source, Module, RenderContext]>} renderModuleContent |  * @property {SyncWaterfallHook<[Source, Module, RenderContext]>} renderModuleContent | ||||||
|  | @ -101,6 +91,7 @@ const chunkHasJs = (chunk, chunkGraph) => { | ||||||
|  * @property {SyncWaterfallHook<[Source, RenderContext]>} renderChunk |  * @property {SyncWaterfallHook<[Source, RenderContext]>} renderChunk | ||||||
|  * @property {SyncWaterfallHook<[Source, RenderContext]>} renderMain |  * @property {SyncWaterfallHook<[Source, RenderContext]>} renderMain | ||||||
|  * @property {SyncWaterfallHook<[Source, RenderContext]>} render |  * @property {SyncWaterfallHook<[Source, RenderContext]>} render | ||||||
|  |  * @property {SyncWaterfallHook<[Source, Module, StartupRenderContext]>} renderStartup | ||||||
|  * @property {SyncWaterfallHook<[string, RenderBootstrapContext]>} renderRequire |  * @property {SyncWaterfallHook<[string, RenderBootstrapContext]>} renderRequire | ||||||
|  * @property {SyncHook<[Chunk, Hash, ChunkHashContext]>} chunkHash |  * @property {SyncHook<[Chunk, Hash, ChunkHashContext]>} chunkHash | ||||||
|  * @property {SyncBailHook<[Chunk, RenderContext], boolean>} useSourceMap |  * @property {SyncBailHook<[Chunk, RenderContext], boolean>} useSourceMap | ||||||
|  | @ -139,6 +130,11 @@ class JavascriptModulesPlugin { | ||||||
| 					"renderContext" | 					"renderContext" | ||||||
| 				]), | 				]), | ||||||
| 				render: new SyncWaterfallHook(["source", "renderContext"]), | 				render: new SyncWaterfallHook(["source", "renderContext"]), | ||||||
|  | 				renderStartup: new SyncWaterfallHook([ | ||||||
|  | 					"source", | ||||||
|  | 					"module", | ||||||
|  | 					"startupRenderContext" | ||||||
|  | 				]), | ||||||
| 				renderChunk: new SyncWaterfallHook(["source", "renderContext"]), | 				renderChunk: new SyncWaterfallHook(["source", "renderContext"]), | ||||||
| 				renderMain: new SyncWaterfallHook(["source", "renderContext"]), | 				renderMain: new SyncWaterfallHook(["source", "renderContext"]), | ||||||
| 				renderRequire: new SyncWaterfallHook(["code", "renderContext"]), | 				renderRequire: new SyncWaterfallHook(["code", "renderContext"]), | ||||||
|  | @ -641,6 +637,9 @@ class JavascriptModulesPlugin { | ||||||
| 					) | 					) | ||||||
| 				); | 				); | ||||||
| 			} | 			} | ||||||
|  | 			const lastInlinedModule = last(inlinedModules); | ||||||
|  | 			const startupSource = new ConcatSource(); | ||||||
|  | 			startupSource.add(`var __webpack_exports__ = {};`); | ||||||
| 			for (const m of inlinedModules) { | 			for (const m of inlinedModules) { | ||||||
| 				const renderedModule = this.renderModule( | 				const renderedModule = this.renderModule( | ||||||
| 					m, | 					m, | ||||||
|  | @ -655,29 +654,44 @@ class JavascriptModulesPlugin { | ||||||
| 						chunk.runtime | 						chunk.runtime | ||||||
| 					); | 					); | ||||||
| 					const exports = runtimeRequirements.has(RuntimeGlobals.exports); | 					const exports = runtimeRequirements.has(RuntimeGlobals.exports); | ||||||
|  | 					const webpackExports = | ||||||
|  | 						exports && m.exportsArgument === "__webpack_exports__"; | ||||||
| 					const iife = | 					const iife = | ||||||
| 						innerStrict || | 						innerStrict || | ||||||
| 						inlinedModules.size > 1 || | 						inlinedModules.size > 1 || | ||||||
| 						chunkModules || | 						chunkModules || | ||||||
| 						(exports && m.exportsArgument !== "__webpack_exports__"); | 						(exports && !webpackExports); | ||||||
| 					let footer; | 					let footer; | ||||||
| 					if (iife) { | 					if (iife) { | ||||||
| 						const arrow = runtimeTemplate.supportsArrowFunction(); | 						const arrow = runtimeTemplate.supportsArrowFunction(); | ||||||
| 						if (arrow) { | 						if (arrow) { | ||||||
| 							source.add("(() => {\n"); | 							startupSource.add("(() => {\n"); | ||||||
| 							footer = "\n})();\n\n"; | 							footer = "\n})();\n\n"; | ||||||
| 						} else { | 						} else { | ||||||
| 							source.add("!function() {\n"); | 							startupSource.add("!function() {\n"); | ||||||
| 							footer = "\n}();\n"; | 							footer = "\n}();\n"; | ||||||
| 						} | 						} | ||||||
| 						if (innerStrict) source.add('"use strict";\n'); | 						if (innerStrict) startupSource.add('"use strict";\n'); | ||||||
| 					} else { | 					} else { | ||||||
| 						footer = "\n"; | 						footer = "\n"; | ||||||
| 					} | 					} | ||||||
| 					if (exports) source.add(`var ${m.exportsArgument} = {};`); | 					if (exports) { | ||||||
| 					source.add(renderedModule); | 						if (m !== lastInlinedModule) | ||||||
| 					source.add(footer); | 							startupSource.add(`var ${m.exportsArgument} = {};\n`); | ||||||
|  | 						else if (m.exportsArgument !== "__webpack_exports__") | ||||||
|  | 							startupSource.add( | ||||||
|  | 								`var ${m.exportsArgument} = __webpack_exports__;\n` | ||||||
|  | 							); | ||||||
| 					} | 					} | ||||||
|  | 					startupSource.add(renderedModule); | ||||||
|  | 					startupSource.add(footer); | ||||||
|  | 				} | ||||||
|  | 				source.add( | ||||||
|  | 					hooks.renderStartup.call(startupSource, lastInlinedModule, { | ||||||
|  | 						...renderContext, | ||||||
|  | 						inlined: true | ||||||
|  | 					}) | ||||||
|  | 				); | ||||||
| 			} | 			} | ||||||
| 			if (bootstrap.afterStartup.length > 0) { | 			if (bootstrap.afterStartup.length > 0) { | ||||||
| 				const afterStartup = Template.asString(bootstrap.afterStartup) + "\n"; | 				const afterStartup = Template.asString(bootstrap.afterStartup) + "\n"; | ||||||
|  | @ -691,21 +705,37 @@ class JavascriptModulesPlugin { | ||||||
| 				); | 				); | ||||||
| 			} | 			} | ||||||
| 		} else { | 		} else { | ||||||
| 			const startup = | 			const lastEntryModule = last( | ||||||
| 				Template.asString([ | 				chunkGraph.getChunkEntryModulesIterable(chunk) | ||||||
| 					...bootstrap.beforeStartup, | 			); | ||||||
| 					...bootstrap.startup, | 			const toSource = useSourceMap | ||||||
| 					...bootstrap.afterStartup | 				? (content, name) => | ||||||
| 				]) + "\n"; | 						new OriginalSource(Template.asString(content), name) | ||||||
|  | 				: (content, name) => new RawSource(Template.asString(content)); | ||||||
| 			source.add( | 			source.add( | ||||||
| 				new PrefixSource( | 				new PrefixSource( | ||||||
| 					prefix, | 					prefix, | ||||||
| 					useSourceMap | 					new ConcatSource( | ||||||
| 						? new OriginalSource(startup, "webpack/startup") | 						toSource(bootstrap.beforeStartup, "webpack/before-startup"), | ||||||
| 						: new RawSource(startup) | 						"\n", | ||||||
|  | 						hooks.renderStartup.call( | ||||||
|  | 							toSource(bootstrap.startup, "webpack/startup"), | ||||||
|  | 							lastEntryModule, | ||||||
|  | 							{ | ||||||
|  | 								...renderContext, | ||||||
|  | 								inlined: false | ||||||
|  | 							} | ||||||
|  | 						), | ||||||
|  | 						"\n", | ||||||
|  | 						toSource(bootstrap.afterStartup, "webpack/after-startup"), | ||||||
|  | 						"\n" | ||||||
|  | 					) | ||||||
| 				) | 				) | ||||||
| 			); | 			); | ||||||
| 		} | 		} | ||||||
|  | 		if (runtimeRequirements.has(RuntimeGlobals.returnExportsFromRuntime)) { | ||||||
|  | 			source.add(`${prefix}return __webpack_exports__;\n`); | ||||||
|  | 		} | ||||||
| 		if (iife) { | 		if (iife) { | ||||||
| 			source.add("/******/ })()\n"); | 			source.add("/******/ })()\n"); | ||||||
| 		} | 		} | ||||||
|  | @ -768,7 +798,6 @@ class JavascriptModulesPlugin { | ||||||
| 			RuntimeGlobals.moduleFactories | 			RuntimeGlobals.moduleFactories | ||||||
| 		); | 		); | ||||||
| 		const moduleUsed = runtimeRequirements.has(RuntimeGlobals.module); | 		const moduleUsed = runtimeRequirements.has(RuntimeGlobals.module); | ||||||
| 		const exportsUsed = runtimeRequirements.has(RuntimeGlobals.exports); |  | ||||||
| 		const requireScopeUsed = runtimeRequirements.has( | 		const requireScopeUsed = runtimeRequirements.has( | ||||||
| 			RuntimeGlobals.requireScope | 			RuntimeGlobals.requireScope | ||||||
| 		); | 		); | ||||||
|  | @ -783,8 +812,7 @@ class JavascriptModulesPlugin { | ||||||
| 			requireFunction || | 			requireFunction || | ||||||
| 			interceptModuleExecution || | 			interceptModuleExecution || | ||||||
| 			returnExportsFromRuntime || | 			returnExportsFromRuntime || | ||||||
| 			moduleUsed || | 			moduleUsed; | ||||||
| 			exportsUsed; |  | ||||||
| 
 | 
 | ||||||
| 		const result = { | 		const result = { | ||||||
| 			header: [], | 			header: [], | ||||||
|  | @ -858,7 +886,6 @@ class JavascriptModulesPlugin { | ||||||
| 			buf.push(""); | 			buf.push(""); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		const maybeReturn = returnExportsFromRuntime ? "return " : ""; |  | ||||||
| 		if (!runtimeRequirements.has(RuntimeGlobals.startupNoDefault)) { | 		if (!runtimeRequirements.has(RuntimeGlobals.startupNoDefault)) { | ||||||
| 			if (chunkGraph.getNumberOfEntryModules(chunk) > 0) { | 			if (chunkGraph.getNumberOfEntryModules(chunk) > 0) { | ||||||
| 				/** @type {string[]} */ | 				/** @type {string[]} */ | ||||||
|  | @ -894,8 +921,7 @@ class JavascriptModulesPlugin { | ||||||
| 						); | 						); | ||||||
| 						result.allowInlineStartup = false; | 						result.allowInlineStartup = false; | ||||||
| 					} | 					} | ||||||
| 					const mayReturn = | 					i--; | ||||||
| 						--i === 0 && returnExportsFromRuntime ? "return " : ""; |  | ||||||
| 					const moduleId = chunkGraph.getModuleId(entryModule); | 					const moduleId = chunkGraph.getModuleId(entryModule); | ||||||
| 					const entryRuntimeRequirements = chunkGraph.getModuleRuntimeRequirements( | 					const entryRuntimeRequirements = chunkGraph.getModuleRuntimeRequirements( | ||||||
| 						entryModule, | 						entryModule, | ||||||
|  | @ -906,7 +932,11 @@ class JavascriptModulesPlugin { | ||||||
| 						moduleIdExpr = `${RuntimeGlobals.entryModuleId} = ${moduleIdExpr}`; | 						moduleIdExpr = `${RuntimeGlobals.entryModuleId} = ${moduleIdExpr}`; | ||||||
| 					} | 					} | ||||||
| 					if (useRequire) { | 					if (useRequire) { | ||||||
| 						buf2.push(`${mayReturn}__webpack_require__(${moduleIdExpr});`); | 						buf2.push( | ||||||
|  | 							`${ | ||||||
|  | 								i === 0 ? "var __webpack_exports__ = " : "" | ||||||
|  | 							}__webpack_require__(${moduleIdExpr});` | ||||||
|  | 						); | ||||||
| 						if (result.allowInlineStartup) { | 						if (result.allowInlineStartup) { | ||||||
| 							if (entryRuntimeRequirements.has(RuntimeGlobals.module)) { | 							if (entryRuntimeRequirements.has(RuntimeGlobals.module)) { | ||||||
| 								result.allowInlineStartup = false; | 								result.allowInlineStartup = false; | ||||||
|  | @ -915,12 +945,21 @@ class JavascriptModulesPlugin { | ||||||
| 								); | 								); | ||||||
| 							} | 							} | ||||||
| 						} | 						} | ||||||
| 					} else if (requireScopeUsed) { |  | ||||||
| 						buf2.push( |  | ||||||
| 							`__webpack_modules__[${moduleIdExpr}](0, 0, __webpack_require__);` |  | ||||||
| 						); |  | ||||||
| 					} else { | 					} else { | ||||||
| 						buf2.push(`__webpack_modules__[${moduleIdExpr}]();`); | 						if (i === 0) buf2.push("var __webpack_exports__ = {};"); | ||||||
|  | 						if (requireScopeUsed) { | ||||||
|  | 							buf2.push( | ||||||
|  | 								`__webpack_modules__[${moduleIdExpr}](0, ${ | ||||||
|  | 									i === 0 ? "__webpack_exports__" : "{}" | ||||||
|  | 								}, __webpack_require__);` | ||||||
|  | 							); | ||||||
|  | 						} else if (entryRuntimeRequirements.has(RuntimeGlobals.exports)) { | ||||||
|  | 							buf2.push( | ||||||
|  | 								`__webpack_modules__[${moduleIdExpr}](0, ${ | ||||||
|  | 									i === 0 ? "__webpack_exports__" : "{}" | ||||||
|  | 								});` | ||||||
|  | 							); | ||||||
|  | 						} | ||||||
| 					} | 					} | ||||||
| 				} | 				} | ||||||
| 				if ( | 				if ( | ||||||
|  | @ -934,12 +973,16 @@ class JavascriptModulesPlugin { | ||||||
| 					buf.push( | 					buf.push( | ||||||
| 						`${RuntimeGlobals.startup} = ${runtimeTemplate.basicFunction( | 						`${RuntimeGlobals.startup} = ${runtimeTemplate.basicFunction( | ||||||
| 							"", | 							"", | ||||||
| 							buf2 | 							returnExportsFromRuntime | ||||||
|  | 								? [...buf2, "return __webpack_exports__;"] | ||||||
|  | 								: buf2 | ||||||
| 						)};` | 						)};` | ||||||
| 					); | 					); | ||||||
| 					buf.push(""); | 					buf.push(""); | ||||||
| 					startup.push("// run startup"); | 					startup.push("// run startup"); | ||||||
| 					startup.push(`${maybeReturn}${RuntimeGlobals.startup}();`); | 					startup.push( | ||||||
|  | 						`var __webpack_exports__ = ${RuntimeGlobals.startup}();` | ||||||
|  | 					); | ||||||
| 				} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore)) { | 				} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore)) { | ||||||
| 					buf.push("// the startup function"); | 					buf.push("// the startup function"); | ||||||
| 					buf.push( | 					buf.push( | ||||||
|  | @ -957,7 +1000,7 @@ class JavascriptModulesPlugin { | ||||||
| 					startup.push("// startup"); | 					startup.push("// startup"); | ||||||
| 					startup.push(Template.asString(buf2)); | 					startup.push(Template.asString(buf2)); | ||||||
| 					afterStartup.push("// run runtime startup"); | 					afterStartup.push("// run runtime startup"); | ||||||
| 					afterStartup.push(`${maybeReturn}${RuntimeGlobals.startup}();`); | 					afterStartup.push(`${RuntimeGlobals.startup}();`); | ||||||
| 				} else { | 				} else { | ||||||
| 					startup.push("// startup"); | 					startup.push("// startup"); | ||||||
| 					startup.push(Template.asString(buf2)); | 					startup.push(Template.asString(buf2)); | ||||||
|  | @ -986,7 +1029,11 @@ class JavascriptModulesPlugin { | ||||||
| 				`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};` | 				`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};` | ||||||
| 			); | 			); | ||||||
| 			startup.push("// run startup"); | 			startup.push("// run startup"); | ||||||
| 			startup.push(`${maybeReturn}${RuntimeGlobals.startup}();`); | 			startup.push( | ||||||
|  | 				`${returnExportsFromRuntime ? "return " : ""}${ | ||||||
|  | 					RuntimeGlobals.startup | ||||||
|  | 				}();` | ||||||
|  | 			); | ||||||
| 		} | 		} | ||||||
| 		return result; | 		return result; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ const { LogType } = require("../logging/Logger"); | ||||||
| const AggressiveSplittingPlugin = require("../optimize/AggressiveSplittingPlugin"); | const AggressiveSplittingPlugin = require("../optimize/AggressiveSplittingPlugin"); | ||||||
| const ConcatenatedModule = require("../optimize/ConcatenatedModule"); | const ConcatenatedModule = require("../optimize/ConcatenatedModule"); | ||||||
| const SizeLimitsPlugin = require("../performance/SizeLimitsPlugin"); | const SizeLimitsPlugin = require("../performance/SizeLimitsPlugin"); | ||||||
|  | const { countIterable } = require("../util/IterableHelpers"); | ||||||
| const { | const { | ||||||
| 	compareLocations, | 	compareLocations, | ||||||
| 	compareChunksById, | 	compareChunksById, | ||||||
|  | @ -360,18 +361,6 @@ const mapObject = (obj, fn) => { | ||||||
| 	return newObj; | 	return newObj; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /** |  | ||||||
|  * @template T |  | ||||||
|  * @param {Iterable<T>} iterable an iterable |  | ||||||
|  * @returns {number} count of items |  | ||||||
|  */ |  | ||||||
| const countIterable = iterable => { |  | ||||||
| 	let i = 0; |  | ||||||
| 	// eslint-disable-next-line no-unused-vars
 |  | ||||||
| 	for (const _ of iterable) i++; |  | ||||||
| 	return i; |  | ||||||
| }; |  | ||||||
| 
 |  | ||||||
| /** | /** | ||||||
|  * @param {Compilation} compilation the compilation |  * @param {Compilation} compilation the compilation | ||||||
|  * @param {function(Compilation, string): any[]} getItems get items |  * @param {function(Compilation, string): any[]} getItems get items | ||||||
|  |  | ||||||
|  | @ -0,0 +1,46 @@ | ||||||
|  | /* | ||||||
|  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | ||||||
|  | 	Author Tobias Koppers @sokra | ||||||
|  | */ | ||||||
|  | 
 | ||||||
|  | "use strict"; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @template T | ||||||
|  |  * @param {Iterable<T>} set a set | ||||||
|  |  * @returns {T | undefined} last item | ||||||
|  |  */ | ||||||
|  | const last = set => { | ||||||
|  | 	let last; | ||||||
|  | 	for (const item of set) last = item; | ||||||
|  | 	return last; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @template T | ||||||
|  |  * @param {Iterable<T>} iterable iterable | ||||||
|  |  * @param {function(T): boolean} filter predicate | ||||||
|  |  * @returns {boolean} true, if some items match the filter predicate | ||||||
|  |  */ | ||||||
|  | const someInIterable = (iterable, filter) => { | ||||||
|  | 	for (const item of iterable) { | ||||||
|  | 		if (filter(item)) return true; | ||||||
|  | 	} | ||||||
|  | 	return false; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * @template T | ||||||
|  |  * @param {Iterable<T>} iterable an iterable | ||||||
|  |  * @returns {number} count of items | ||||||
|  |  */ | ||||||
|  | const countIterable = iterable => { | ||||||
|  | 	let i = 0; | ||||||
|  | 	// eslint-disable-next-line no-unused-vars
 | ||||||
|  | 	for (const _ of iterable) i++; | ||||||
|  | 	return i; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | exports.last = last; | ||||||
|  | exports.someInIterable = someInIterable; | ||||||
|  | exports.countIterable = countIterable; | ||||||
|  | @ -58,7 +58,7 @@ content-change: | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for aggressive-splitting-on-demand 1`] = ` | exports[`StatsTestCases should print correct stats for aggressive-splitting-on-demand 1`] = ` | ||||||
| "PublicPath: auto | "PublicPath: auto | ||||||
| asset cddebac64d3696e2c795.js 11.6 KiB [emitted] [immutable] (name: main) | asset c958e01c2af21a2ddbbc.js 11.7 KiB [emitted] [immutable] (name: main) | ||||||
| asset 1e20e43d71572fd13c1b.js 1.91 KiB [emitted] [immutable] | asset 1e20e43d71572fd13c1b.js 1.91 KiB [emitted] [immutable] | ||||||
| asset c0a3c4cd82f060e0e54a.js 1.91 KiB [emitted] [immutable] | asset c0a3c4cd82f060e0e54a.js 1.91 KiB [emitted] [immutable] | ||||||
| asset 0e1e0b1075aee0f68fe0.js 1.9 KiB [emitted] [immutable] | asset 0e1e0b1075aee0f68fe0.js 1.9 KiB [emitted] [immutable] | ||||||
|  | @ -70,12 +70,12 @@ asset e41a3d89ffdb1cb7ce16.js 1.9 KiB [emitted] [immutable] | ||||||
| asset 192fb87c431c15998731.js 1010 bytes [emitted] [immutable] | asset 192fb87c431c15998731.js 1010 bytes [emitted] [immutable] | ||||||
| asset 3a4b04cd876597b95e48.js 1010 bytes [emitted] [immutable] | asset 3a4b04cd876597b95e48.js 1010 bytes [emitted] [immutable] | ||||||
| asset 5c4979681019b2c11ce8.js 1010 bytes [emitted] [immutable] | asset 5c4979681019b2c11ce8.js 1010 bytes [emitted] [immutable] | ||||||
| Entrypoint main 11.6 KiB = cddebac64d3696e2c795.js | Entrypoint main 11.7 KiB = c958e01c2af21a2ddbbc.js | ||||||
| chunk (runtime: main) e41a3d89ffdb1cb7ce16.js 1.76 KiB [rendered] [recorded] aggressive splitted | chunk (runtime: main) e41a3d89ffdb1cb7ce16.js 1.76 KiB [rendered] [recorded] aggressive splitted | ||||||
|   > ./c ./d ./e ./index.js 3:0-30 |   > ./c ./d ./e ./index.js 3:0-30 | ||||||
|   ./c.js 899 bytes [built] [code generated] |   ./c.js 899 bytes [built] [code generated] | ||||||
|   ./d.js 899 bytes [built] [code generated] |   ./d.js 899 bytes [built] [code generated] | ||||||
| chunk (runtime: main) cddebac64d3696e2c795.js (main) 248 bytes (javascript) 6.33 KiB (runtime) [entry] [rendered] | chunk (runtime: main) c958e01c2af21a2ddbbc.js (main) 248 bytes (javascript) 6.33 KiB (runtime) [entry] [rendered] | ||||||
|   > ./index main |   > ./index main | ||||||
|   runtime modules 6.33 KiB 7 modules |   runtime modules 6.33 KiB 7 modules | ||||||
|   ./index.js 248 bytes [built] [code generated] |   ./index.js 248 bytes [built] [code generated] | ||||||
|  | @ -125,7 +125,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for asset 1`] = ` | exports[`StatsTestCases should print correct stats for asset 1`] = ` | ||||||
| "asset 89a353e9c515885abd8e.png 14.6 KiB [emitted] [immutable] [from: images/file.png] (auxiliary name: main) | "asset 89a353e9c515885abd8e.png 14.6 KiB [emitted] [immutable] [from: images/file.png] (auxiliary name: main) | ||||||
| asset bundle.js 12.2 KiB [emitted] (name: main) | asset bundle.js 12.3 KiB [emitted] (name: main) | ||||||
| asset static/file.html 12 bytes [emitted] [from: static/file.html] (auxiliary name: main) | asset static/file.html 12 bytes [emitted] [from: static/file.html] (auxiliary name: main) | ||||||
| runtime modules 1.06 KiB 2 modules | runtime modules 1.06 KiB 2 modules | ||||||
| asset modules 8.9 KiB (javascript) 14.6 KiB (asset) | asset modules 8.9 KiB (javascript) 14.6 KiB (asset) | ||||||
|  | @ -254,8 +254,8 @@ default: | ||||||
| vendors: | vendors: | ||||||
|   Entrypoint main 11.1 KiB = vendors/main.js |   Entrypoint main 11.1 KiB = vendors/main.js | ||||||
|   Entrypoint a 14.5 KiB = vendors/vendors.js 1.08 KiB vendors/a.js 13.4 KiB |   Entrypoint a 14.5 KiB = vendors/vendors.js 1.08 KiB vendors/a.js 13.4 KiB | ||||||
|   Entrypoint b 8.12 KiB = vendors/vendors.js 1.08 KiB vendors/b.js 7.05 KiB |   Entrypoint b 8.14 KiB = vendors/vendors.js 1.08 KiB vendors/b.js 7.07 KiB | ||||||
|   Entrypoint c 8.12 KiB = vendors/vendors.js 1.08 KiB vendors/c.js 7.05 KiB |   Entrypoint c 8.14 KiB = vendors/vendors.js 1.08 KiB vendors/c.js 7.07 KiB | ||||||
|   chunk (runtime: b) vendors/b.js (b) 156 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] |   chunk (runtime: b) vendors/b.js (b) 156 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     runtime modules 2.88 KiB 3 modules |     runtime modules 2.88 KiB 3 modules | ||||||
|  | @ -302,9 +302,9 @@ vendors: | ||||||
| 
 | 
 | ||||||
| multiple-vendors: | multiple-vendors: | ||||||
|   Entrypoint main 11.5 KiB = multiple-vendors/main.js |   Entrypoint main 11.5 KiB = multiple-vendors/main.js | ||||||
|   Entrypoint a 14.9 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/954.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/390.js 414 bytes multiple-vendors/a.js 13.3 KiB |   Entrypoint a 15 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/954.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/390.js 414 bytes multiple-vendors/a.js 13.3 KiB | ||||||
|   Entrypoint b 8.05 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/954.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/568.js 414 bytes multiple-vendors/b.js 6.43 KiB |   Entrypoint b 8.07 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/954.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/568.js 414 bytes multiple-vendors/b.js 6.45 KiB | ||||||
|   Entrypoint c 8.05 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/769.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/568.js 414 bytes multiple-vendors/c.js 6.43 KiB |   Entrypoint c 8.07 KiB = multiple-vendors/libs-x.js 414 bytes multiple-vendors/769.js 414 bytes multiple-vendors/767.js 414 bytes multiple-vendors/568.js 414 bytes multiple-vendors/c.js 6.45 KiB | ||||||
|   chunk (runtime: a, b, c, main) multiple-vendors/libs-x.js (libs-x) (id hint: libs) 20 bytes [initial] [rendered] split chunk (cache group: libs) (name: libs-x) |   chunk (runtime: a, b, c, main) multiple-vendors/libs-x.js (libs-x) (id hint: libs) 20 bytes [initial] [rendered] split chunk (cache group: libs) (name: libs-x) | ||||||
|     > ./a ./index.js 1:0-47 |     > ./a ./index.js 1:0-47 | ||||||
|     > ./b ./index.js 2:0-47 |     > ./b ./index.js 2:0-47 | ||||||
|  | @ -375,8 +375,8 @@ multiple-vendors: | ||||||
| all: | all: | ||||||
|   Entrypoint main 11.5 KiB = all/main.js |   Entrypoint main 11.5 KiB = all/main.js | ||||||
|   Entrypoint a 14.9 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/390.js 414 bytes all/a.js 13.3 KiB |   Entrypoint a 14.9 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/390.js 414 bytes all/a.js 13.3 KiB | ||||||
|   Entrypoint b 8.05 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/b.js 6.43 KiB |   Entrypoint b 8.07 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/b.js 6.45 KiB | ||||||
|   Entrypoint c 8.05 KiB = all/282.js 414 bytes all/769.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/c.js 6.43 KiB |   Entrypoint c 8.07 KiB = all/282.js 414 bytes all/769.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/c.js 6.45 KiB | ||||||
|   chunk (runtime: b) all/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) [entry] [rendered] |   chunk (runtime: b) all/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     runtime modules 2.9 KiB 3 modules |     runtime modules 2.9 KiB 3 modules | ||||||
|  | @ -446,11 +446,11 @@ all: | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for child-compiler-apply-entry-option 1`] = ` | exports[`StatsTestCases should print correct stats for child-compiler-apply-entry-option 1`] = ` | ||||||
| "asset child.js 54 bytes [emitted] | "asset child.js 83 bytes [emitted] | ||||||
| asset parent.js 54 bytes [emitted] (name: parent) | asset parent.js 83 bytes [emitted] (name: parent) | ||||||
| Entrypoint parent 54 bytes = parent.js | Entrypoint parent 83 bytes = parent.js | ||||||
| ./parent.js 1 bytes [built] [code generated] | ./parent.js 1 bytes [built] [code generated] | ||||||
|   assets by status 54 bytes [cached] 1 asset |   assets by status 83 bytes [cached] 1 asset | ||||||
|   Entrypoint child = child.js |   Entrypoint child = child.js | ||||||
|   ./child.js 1 bytes [built] [code generated] |   ./child.js 1 bytes [built] [code generated] | ||||||
|      |      | ||||||
|  | @ -492,7 +492,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for chunks 1`] = ` | exports[`StatsTestCases should print correct stats for chunks 1`] = ` | ||||||
| "PublicPath: auto | "PublicPath: auto | ||||||
| asset bundle.js 10.1 KiB [emitted] (name: main) | asset bundle.js 10.2 KiB [emitted] (name: main) | ||||||
| asset 460.bundle.js 320 bytes [emitted] | asset 460.bundle.js 320 bytes [emitted] | ||||||
| asset 524.bundle.js 206 bytes [emitted] | asset 524.bundle.js 206 bytes [emitted] | ||||||
| asset 996.bundle.js 138 bytes [emitted] | asset 996.bundle.js 138 bytes [emitted] | ||||||
|  | @ -597,19 +597,19 @@ webpack x.x.x compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for color-disabled 1`] = ` | exports[`StatsTestCases should print correct stats for color-disabled 1`] = ` | ||||||
| "asset main.js 54 bytes [emitted] (name: main) | "asset main.js 83 bytes [emitted] (name: main) | ||||||
| ./index.js 1 bytes [built] [code generated] | ./index.js 1 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for color-enabled 1`] = ` | exports[`StatsTestCases should print correct stats for color-enabled 1`] = ` | ||||||
| "asset <CLR=32,BOLD>main.js</CLR> 54 bytes <CLR=32,BOLD>[emitted]</CLR> (name: main) | "asset <CLR=32,BOLD>main.js</CLR> 83 bytes <CLR=32,BOLD>[emitted]</CLR> (name: main) | ||||||
| <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | ||||||
| webpack x.x.x compiled <CLR=32,BOLD>successfully</CLR> in X ms" | webpack x.x.x compiled <CLR=32,BOLD>successfully</CLR> in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for color-enabled-custom 1`] = ` | exports[`StatsTestCases should print correct stats for color-enabled-custom 1`] = ` | ||||||
| "asset <CLR=32>main.js</CLR> 54 bytes <CLR=32>[emitted]</CLR> (name: main) | "asset <CLR=32>main.js</CLR> 83 bytes <CLR=32>[emitted]</CLR> (name: main) | ||||||
| <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33>[built]</CLR> <CLR=33>[code generated]</CLR> | <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33>[built]</CLR> <CLR=33>[code generated]</CLR> | ||||||
| webpack x.x.x compiled <CLR=32>successfully</CLR> in X ms" | webpack x.x.x compiled <CLR=32>successfully</CLR> in X ms" | ||||||
| `; | `; | ||||||
|  | @ -625,9 +625,9 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for commons-chunk-min-size-0 1`] = ` | exports[`StatsTestCases should print correct stats for commons-chunk-min-size-0 1`] = ` | ||||||
| "asset entry-1.js 5.63 KiB [emitted] (name: entry-1) | "asset entry-1.js 5.65 KiB [emitted] (name: entry-1) | ||||||
| asset 429.js 274 bytes [emitted] (id hint: vendor-1) | asset 429.js 274 bytes [emitted] (id hint: vendor-1) | ||||||
| Entrypoint entry-1 5.89 KiB = 429.js 274 bytes entry-1.js 5.63 KiB | Entrypoint entry-1 5.92 KiB = 429.js 274 bytes entry-1.js 5.65 KiB | ||||||
| runtime modules 2.58 KiB 2 modules | runtime modules 2.58 KiB 2 modules | ||||||
| modules by path ./modules/*.js 132 bytes | modules by path ./modules/*.js 132 bytes | ||||||
|   ./modules/a.js 22 bytes [built] [code generated] |   ./modules/a.js 22 bytes [built] [code generated] | ||||||
|  | @ -641,9 +641,9 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for commons-chunk-min-size-Infinity 1`] = ` | exports[`StatsTestCases should print correct stats for commons-chunk-min-size-Infinity 1`] = ` | ||||||
| "asset entry-1.js 5.63 KiB [emitted] (name: entry-1) | "asset entry-1.js 5.65 KiB [emitted] (name: entry-1) | ||||||
| asset vendor-1.js 274 bytes [emitted] (name: vendor-1) (id hint: vendor-1) | asset vendor-1.js 274 bytes [emitted] (name: vendor-1) (id hint: vendor-1) | ||||||
| Entrypoint entry-1 5.89 KiB = vendor-1.js 274 bytes entry-1.js 5.63 KiB | Entrypoint entry-1 5.92 KiB = vendor-1.js 274 bytes entry-1.js 5.65 KiB | ||||||
| runtime modules 2.58 KiB 2 modules | runtime modules 2.58 KiB 2 modules | ||||||
| modules by path ./modules/*.js 132 bytes | modules by path ./modules/*.js 132 bytes | ||||||
|   ./modules/a.js 22 bytes [built] [code generated] |   ./modules/a.js 22 bytes [built] [code generated] | ||||||
|  | @ -657,9 +657,9 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for commons-plugin-issue-4980 1`] = ` | exports[`StatsTestCases should print correct stats for commons-plugin-issue-4980 1`] = ` | ||||||
| "asset app.d970b1ac507dbb9821f1-1.js 6.16 KiB [emitted] [immutable] (name: app) | "asset app.d970b1ac507dbb9821f1-1.js 6.18 KiB [emitted] [immutable] (name: app) | ||||||
| asset vendor.445bee2044cf472e1ee5-1.js 619 bytes [emitted] [immutable] (name: vendor) (id hint: vendor) | asset vendor.445bee2044cf472e1ee5-1.js 619 bytes [emitted] [immutable] (name: vendor) (id hint: vendor) | ||||||
| Entrypoint app 6.76 KiB = vendor.445bee2044cf472e1ee5-1.js 619 bytes app.d970b1ac507dbb9821f1-1.js 6.16 KiB | Entrypoint app 6.79 KiB = vendor.445bee2044cf472e1ee5-1.js 619 bytes app.d970b1ac507dbb9821f1-1.js 6.18 KiB | ||||||
| runtime modules 2.87 KiB 3 modules | runtime modules 2.87 KiB 3 modules | ||||||
| orphan modules 118 bytes [orphan] 2 modules | orphan modules 118 bytes [orphan] 2 modules | ||||||
| cacheable modules 272 bytes | cacheable modules 272 bytes | ||||||
|  | @ -667,9 +667,9 @@ cacheable modules 272 bytes | ||||||
|   ./constants.js 87 bytes [built] [code generated] |   ./constants.js 87 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset app.d07febabd57b9746c069-2.js 6.18 KiB [emitted] [immutable] (name: app) | asset app.d07febabd57b9746c069-2.js 6.2 KiB [emitted] [immutable] (name: app) | ||||||
| asset vendor.445bee2044cf472e1ee5-2.js 619 bytes [emitted] [immutable] (name: vendor) (id hint: vendor) | asset vendor.445bee2044cf472e1ee5-2.js 619 bytes [emitted] [immutable] (name: vendor) (id hint: vendor) | ||||||
| Entrypoint app 6.78 KiB = vendor.445bee2044cf472e1ee5-2.js 619 bytes app.d07febabd57b9746c069-2.js 6.18 KiB | Entrypoint app 6.8 KiB = vendor.445bee2044cf472e1ee5-2.js 619 bytes app.d07febabd57b9746c069-2.js 6.2 KiB | ||||||
| runtime modules 2.88 KiB 3 modules | runtime modules 2.88 KiB 3 modules | ||||||
| orphan modules 125 bytes [orphan] 2 modules | orphan modules 125 bytes [orphan] 2 modules | ||||||
| cacheable modules 279 bytes | cacheable modules 279 bytes | ||||||
|  | @ -699,8 +699,8 @@ exports[`StatsTestCases should print correct stats for concat-and-sideeffects 1` | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for context-independence 1`] = ` | exports[`StatsTestCases should print correct stats for context-independence 1`] = ` | ||||||
| "asset main-1a313434e214e1b90554.js 10.4 KiB [emitted] [immutable] (name: main) | "asset main-6a95d454e9e9ef883082.js 10.5 KiB [emitted] [immutable] (name: main) | ||||||
|   sourceMap main-1a313434e214e1b90554.js.map 9.31 KiB [emitted] [dev] (auxiliary name: main) |   sourceMap main-6a95d454e9e9ef883082.js.map 9.31 KiB [emitted] [dev] (auxiliary name: main) | ||||||
| asset 664-d4657a55a9eb4278f79f.js 455 bytes [emitted] [immutable] | asset 664-d4657a55a9eb4278f79f.js 455 bytes [emitted] [immutable] | ||||||
|   sourceMap 664-d4657a55a9eb4278f79f.js.map 344 bytes [emitted] [dev] |   sourceMap 664-d4657a55a9eb4278f79f.js.map 344 bytes [emitted] [dev] | ||||||
| runtime modules 6.31 KiB 8 modules | runtime modules 6.31 KiB 8 modules | ||||||
|  | @ -710,8 +710,8 @@ cacheable modules 106 bytes | ||||||
|   ./a/chunk.js + 1 modules 66 bytes [built] [code generated] |   ./a/chunk.js + 1 modules 66 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset main-1a313434e214e1b90554.js 10.4 KiB [emitted] [immutable] (name: main) | asset main-6a95d454e9e9ef883082.js 10.5 KiB [emitted] [immutable] (name: main) | ||||||
|   sourceMap main-1a313434e214e1b90554.js.map 9.31 KiB [emitted] [dev] (auxiliary name: main) |   sourceMap main-6a95d454e9e9ef883082.js.map 9.31 KiB [emitted] [dev] (auxiliary name: main) | ||||||
| asset 664-d4657a55a9eb4278f79f.js 455 bytes [emitted] [immutable] | asset 664-d4657a55a9eb4278f79f.js 455 bytes [emitted] [immutable] | ||||||
|   sourceMap 664-d4657a55a9eb4278f79f.js.map 344 bytes [emitted] [dev] |   sourceMap 664-d4657a55a9eb4278f79f.js.map 344 bytes [emitted] [dev] | ||||||
| runtime modules 6.31 KiB 8 modules | runtime modules 6.31 KiB 8 modules | ||||||
|  | @ -721,7 +721,7 @@ cacheable modules 106 bytes | ||||||
|   ./b/chunk.js + 1 modules 66 bytes [built] [code generated] |   ./b/chunk.js + 1 modules 66 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset main-0d2fcb32a6386345d7d8.js 11.3 KiB [emitted] [immutable] (name: main) | asset main-d7331ff7966123c78f47.js 11.3 KiB [emitted] [immutable] (name: main) | ||||||
| asset 664-1c825c5a8359323d098a.js 1.5 KiB [emitted] [immutable] | asset 664-1c825c5a8359323d098a.js 1.5 KiB [emitted] [immutable] | ||||||
| runtime modules 6.31 KiB 8 modules | runtime modules 6.31 KiB 8 modules | ||||||
| orphan modules 19 bytes [orphan] 1 module | orphan modules 19 bytes [orphan] 1 module | ||||||
|  | @ -730,7 +730,7 @@ cacheable modules 106 bytes | ||||||
|   ./a/chunk.js + 1 modules 66 bytes [built] [code generated] |   ./a/chunk.js + 1 modules 66 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset main-0d2fcb32a6386345d7d8.js 11.3 KiB [emitted] [immutable] (name: main) | asset main-d7331ff7966123c78f47.js 11.3 KiB [emitted] [immutable] (name: main) | ||||||
| asset 664-1c825c5a8359323d098a.js 1.5 KiB [emitted] [immutable] | asset 664-1c825c5a8359323d098a.js 1.5 KiB [emitted] [immutable] | ||||||
| runtime modules 6.31 KiB 8 modules | runtime modules 6.31 KiB 8 modules | ||||||
| orphan modules 19 bytes [orphan] 1 module | orphan modules 19 bytes [orphan] 1 module | ||||||
|  | @ -750,27 +750,27 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for define-plugin 1`] = ` | exports[`StatsTestCases should print correct stats for define-plugin 1`] = ` | ||||||
| "asset 123.js 1.3 KiB [emitted] (name: main) | "asset 123.js 1.34 KiB [emitted] (name: main) | ||||||
| ./index.js 24 bytes [built] [code generated] | ./index.js 24 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset 321.js 1.3 KiB [emitted] (name: main) | asset 321.js 1.34 KiB [emitted] (name: main) | ||||||
| ./index.js 24 bytes [built] [code generated] | ./index.js 24 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset both.js 1.3 KiB [emitted] (name: main) | asset both.js 1.35 KiB [emitted] (name: main) | ||||||
| ./index.js 24 bytes [built] [code generated] | ./index.js 24 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for details-error 1`] = ` | exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
| "0 errors 0 warnings: | "0 errors 0 warnings: | ||||||
|   asset 0.js 737 bytes [emitted] (name: main) |   asset 0.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
|   0 errors 0 warnings (webpack x.x.x) compiled successfully in X ms |   0 errors 0 warnings (webpack x.x.x) compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| 1 errors 0 warnings: | 1 errors 0 warnings: | ||||||
|   asset 1.js 737 bytes [emitted] (name: main) |   asset 1.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   ERROR in Test |   ERROR in Test | ||||||
|  | @ -779,7 +779,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   1 errors 0 warnings (webpack x.x.x) compiled with 1 error in X ms |   1 errors 0 warnings (webpack x.x.x) compiled with 1 error in X ms | ||||||
| 
 | 
 | ||||||
| 0 errors 1 warnings: | 0 errors 1 warnings: | ||||||
|   asset 10.js 737 bytes [emitted] (name: main) |   asset 10.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -790,7 +790,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   0 errors 1 warnings (webpack x.x.x) compiled with 1 warning in X ms |   0 errors 1 warnings (webpack x.x.x) compiled with 1 warning in X ms | ||||||
| 
 | 
 | ||||||
| 2 errors 0 warnings: | 2 errors 0 warnings: | ||||||
|   asset 2.js 737 bytes [emitted] (name: main) |   asset 2.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   ERROR in Test |   ERROR in Test | ||||||
|  | @ -802,7 +802,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   2 errors 0 warnings (webpack x.x.x) compiled with 2 errors in X ms |   2 errors 0 warnings (webpack x.x.x) compiled with 2 errors in X ms | ||||||
| 
 | 
 | ||||||
| 0 errors 2 warnings: | 0 errors 2 warnings: | ||||||
|   asset 20.js 737 bytes [emitted] (name: main) |   asset 20.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -815,7 +815,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   0 errors 2 warnings (webpack x.x.x) compiled with 2 warnings in X ms |   0 errors 2 warnings (webpack x.x.x) compiled with 2 warnings in X ms | ||||||
| 
 | 
 | ||||||
| 1 errors 1 warnings: | 1 errors 1 warnings: | ||||||
|   asset 11.js 737 bytes [emitted] (name: main) |   asset 11.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -829,7 +829,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   1 errors 1 warnings (webpack x.x.x) compiled with 1 error and 1 warning in X ms |   1 errors 1 warnings (webpack x.x.x) compiled with 1 error and 1 warning in X ms | ||||||
| 
 | 
 | ||||||
| 2 errors 1 warnings: | 2 errors 1 warnings: | ||||||
|   asset 12.js 737 bytes [emitted] (name: main) |   asset 12.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -846,7 +846,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   2 errors 1 warnings (webpack x.x.x) compiled with 2 errors and 1 warning in X ms |   2 errors 1 warnings (webpack x.x.x) compiled with 2 errors and 1 warning in X ms | ||||||
| 
 | 
 | ||||||
| 3 errors 1 warnings: | 3 errors 1 warnings: | ||||||
|   asset 13.js 737 bytes [emitted] (name: main) |   asset 13.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -866,7 +866,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   3 errors 1 warnings (webpack x.x.x) compiled with 3 errors and 1 warning in X ms |   3 errors 1 warnings (webpack x.x.x) compiled with 3 errors and 1 warning in X ms | ||||||
| 
 | 
 | ||||||
| 3 errors 0 warnings: | 3 errors 0 warnings: | ||||||
|   asset 3.js 737 bytes [emitted] (name: main) |   asset 3.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   ERROR in Test |   ERROR in Test | ||||||
|  | @ -881,7 +881,7 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
|   3 errors 0 warnings (webpack x.x.x) compiled with 3 errors in X ms |   3 errors 0 warnings (webpack x.x.x) compiled with 3 errors in X ms | ||||||
| 
 | 
 | ||||||
| 0 errors 3 warnings: | 0 errors 3 warnings: | ||||||
|   asset 30.js 737 bytes [emitted] (name: main) |   asset 30.js 766 bytes [emitted] (name: main) | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|   WARNING in Test |   WARNING in Test | ||||||
|  | @ -897,13 +897,13 @@ exports[`StatsTestCases should print correct stats for details-error 1`] = ` | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624 1`] = ` | exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624 1`] = ` | ||||||
| "asset bundle.js 83 bytes [emitted] (name: main) | "asset bundle.js 112 bytes [emitted] (name: main) | ||||||
| ./entry.js 29 bytes [built] [code generated] | ./entry.js 29 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624-error 1`] = ` | exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624-error 1`] = ` | ||||||
| "assets by status 83 bytes [cached] 1 asset | "assets by status 112 bytes [cached] 1 asset | ||||||
| ./entry.js 29 bytes [built] [code generated] | ./entry.js 29 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
| ERROR in Dll manifest ./blank-manifest.json | ERROR in Dll manifest ./blank-manifest.json | ||||||
|  | @ -914,8 +914,8 @@ webpack x.x.x compiled with 1 error in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for entry-filename 1`] = ` | exports[`StatsTestCases should print correct stats for entry-filename 1`] = ` | ||||||
| "PublicPath: auto | "PublicPath: auto | ||||||
| asset a.js 1.3 KiB [emitted] (name: a) | asset a.js 1.35 KiB [emitted] (name: a) | ||||||
| asset c.js 1.3 KiB [emitted] (name: b) | asset c.js 1.35 KiB [emitted] (name: b) | ||||||
| chunk (runtime: b) c.js (b) 22 bytes [entry] [rendered] | chunk (runtime: b) c.js (b) 22 bytes [entry] [rendered] | ||||||
|   > ./b.js b |   > ./b.js b | ||||||
|   ./b.js 22 bytes [built] [code generated] |   ./b.js 22 bytes [built] [code generated] | ||||||
|  | @ -933,7 +933,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for exclude-with-loader 1`] = ` | exports[`StatsTestCases should print correct stats for exclude-with-loader 1`] = ` | ||||||
| "hidden assets 34 bytes 1 asset | "hidden assets 34 bytes 1 asset | ||||||
| asset bundle.js 5.1 KiB [emitted] (name: main) | asset bundle.js 5.13 KiB [emitted] (name: main) | ||||||
| runtime modules 1.72 KiB 5 modules | runtime modules 1.72 KiB 5 modules | ||||||
| hidden modules 123 bytes 2 modules | hidden modules 123 bytes 2 modules | ||||||
| cacheable modules 119 bytes | cacheable modules 119 bytes | ||||||
|  | @ -943,7 +943,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for external 1`] = ` | exports[`StatsTestCases should print correct stats for external 1`] = ` | ||||||
| "asset main.js 1.2 KiB [emitted] (name: main) | "asset main.js 1.23 KiB [emitted] (name: main) | ||||||
| ./index.js 17 bytes [built] [code generated] | ./index.js 17 bytes [built] [code generated] | ||||||
| external \\"test\\" 42 bytes [built] [code generated] | external \\"test\\" 42 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
|  | @ -1043,7 +1043,7 @@ chunk (runtime: main) trees.js (trees) 215 bytes [rendered] | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for ignore-warnings 1`] = ` | exports[`StatsTestCases should print correct stats for ignore-warnings 1`] = ` | ||||||
| "asset main.js 967 bytes [emitted] (name: main) | "asset main.js 996 bytes [emitted] (name: main) | ||||||
| orphan modules 617 bytes [orphan] 9 modules | orphan modules 617 bytes [orphan] 9 modules | ||||||
| ./index.js + 9 modules 790 bytes [built] [code generated] | ./index.js + 9 modules 790 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
|  | @ -1059,12 +1059,12 @@ webpack x.x.x compiled with 2 warnings in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for immutable 1`] = ` | exports[`StatsTestCases should print correct stats for immutable 1`] = ` | ||||||
| "asset 54c6ed5d07e3e50cd5f1.js 13 KiB [emitted] [immutable] (name: main) | "asset 6266448ef803f0d0bee7.js 13.1 KiB [emitted] [immutable] (name: main) | ||||||
| asset e85b93346c5afc5a4ef8.js 809 bytes [emitted] [immutable]" | asset e85b93346c5afc5a4ef8.js 809 bytes [emitted] [immutable]" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for import-context-filter 1`] = ` | exports[`StatsTestCases should print correct stats for import-context-filter 1`] = ` | ||||||
| "asset entry.js 11.8 KiB [emitted] (name: entry) | "asset entry.js 11.9 KiB [emitted] (name: entry) | ||||||
| asset 398.js 482 bytes [emitted] | asset 398.js 482 bytes [emitted] | ||||||
| asset 544.js 482 bytes [emitted] | asset 544.js 482 bytes [emitted] | ||||||
| asset 718.js 482 bytes [emitted] | asset 718.js 482 bytes [emitted] | ||||||
|  | @ -1116,19 +1116,19 @@ webpack x.x.x compiled with 3 warnings" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for issue-7577 1`] = ` | exports[`StatsTestCases should print correct stats for issue-7577 1`] = ` | ||||||
| "asset a-runtime~main-efec2af5ebf00e3cec41.js 5.18 KiB [emitted] [immutable] (name: runtime~main) | "asset a-runtime~main-efec2af5ebf00e3cec41.js 5.2 KiB [emitted] [immutable] (name: runtime~main) | ||||||
| asset a-all-a_js-24b3a36b0bcd8b148576.js 140 bytes [emitted] [immutable] (id hint: all) | asset a-all-a_js-24b3a36b0bcd8b148576.js 140 bytes [emitted] [immutable] (id hint: all) | ||||||
| asset a-main-b1eee3373fffb0185d2b.js 114 bytes [emitted] [immutable] (name: main) | asset a-main-b1eee3373fffb0185d2b.js 114 bytes [emitted] [immutable] (name: main) | ||||||
| Entrypoint main 5.43 KiB = a-runtime~main-efec2af5ebf00e3cec41.js 5.18 KiB a-all-a_js-24b3a36b0bcd8b148576.js 140 bytes a-main-b1eee3373fffb0185d2b.js 114 bytes | Entrypoint main 5.45 KiB = a-runtime~main-efec2af5ebf00e3cec41.js 5.2 KiB a-all-a_js-24b3a36b0bcd8b148576.js 140 bytes a-main-b1eee3373fffb0185d2b.js 114 bytes | ||||||
| runtime modules 2.58 KiB 2 modules | runtime modules 2.58 KiB 2 modules | ||||||
| ./a.js 18 bytes [built] [code generated] | ./a.js 18 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms | webpack x.x.x compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| asset b-runtime~main-56d994b70775e3833b4c.js 6.12 KiB [emitted] [immutable] (name: runtime~main) | asset b-runtime~main-56d994b70775e3833b4c.js 6.14 KiB [emitted] [immutable] (name: runtime~main) | ||||||
| asset b-all-b_js-8a88ef1b2a10719b18de.js 475 bytes [emitted] [immutable] (id hint: all) | asset b-all-b_js-8a88ef1b2a10719b18de.js 475 bytes [emitted] [immutable] (id hint: all) | ||||||
| asset b-vendors-node_modules_vendor_js-87b185096f3c2c34e4cc.js 185 bytes [emitted] [immutable] (id hint: vendors) | asset b-vendors-node_modules_vendor_js-87b185096f3c2c34e4cc.js 185 bytes [emitted] [immutable] (id hint: vendors) | ||||||
| asset b-main-0780253982d2b99627d2.js 147 bytes [emitted] [immutable] (name: main) | asset b-main-0780253982d2b99627d2.js 147 bytes [emitted] [immutable] (name: main) | ||||||
| Entrypoint main 6.9 KiB = b-runtime~main-56d994b70775e3833b4c.js 6.12 KiB b-vendors-node_modules_vendor_js-87b185096f3c2c34e4cc.js 185 bytes b-all-b_js-8a88ef1b2a10719b18de.js 475 bytes b-main-0780253982d2b99627d2.js 147 bytes | Entrypoint main 6.93 KiB = b-runtime~main-56d994b70775e3833b4c.js 6.14 KiB b-vendors-node_modules_vendor_js-87b185096f3c2c34e4cc.js 185 bytes b-all-b_js-8a88ef1b2a10719b18de.js 475 bytes b-main-0780253982d2b99627d2.js 147 bytes | ||||||
| runtime modules 3.14 KiB 4 modules | runtime modules 3.14 KiB 4 modules | ||||||
| cacheable modules 40 bytes | cacheable modules 40 bytes | ||||||
|   ./b.js 17 bytes [built] [code generated] |   ./b.js 17 bytes [built] [code generated] | ||||||
|  | @ -1152,7 +1152,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin 1`] = ` | exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin 1`] = ` | ||||||
| "1 chunks: | "1 chunks: | ||||||
|   asset bundle1.js 4.66 KiB [emitted] (name: main) |   asset bundle1.js 4.69 KiB [emitted] (name: main) | ||||||
|   chunk (runtime: main) bundle1.js (main) 219 bytes (javascript) 1.76 KiB (runtime) <{179}> >{179}< [entry] [rendered] |   chunk (runtime: main) bundle1.js (main) 219 bytes (javascript) 1.76 KiB (runtime) <{179}> >{179}< [entry] [rendered] | ||||||
|     runtime modules 1.76 KiB 4 modules |     runtime modules 1.76 KiB 4 modules | ||||||
|     cacheable modules 219 bytes |     cacheable modules 219 bytes | ||||||
|  | @ -1216,7 +1216,7 @@ exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for logging 1`] = ` | exports[`StatsTestCases should print correct stats for logging 1`] = ` | ||||||
| "<i> <CLR=32,BOLD>[LogTestPlugin] Info</CLR> | "<i> <CLR=32,BOLD>[LogTestPlugin] Info</CLR> | ||||||
| asset <CLR=32,BOLD>main.js</CLR> 54 bytes <CLR=32,BOLD>[emitted]</CLR> (name: main) | asset <CLR=32,BOLD>main.js</CLR> 83 bytes <CLR=32,BOLD>[emitted]</CLR> (name: main) | ||||||
| <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | <CLR=BOLD>./index.js</CLR> 1 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | ||||||
| 
 | 
 | ||||||
| <CLR=BOLD>LOG from LogTestPlugin</CLR> | <CLR=BOLD>LOG from LogTestPlugin</CLR> | ||||||
|  | @ -1280,26 +1280,26 @@ webpack x.x.x compiled <CLR=32,BOLD>successfully</CLR> in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for max-modules 1`] = ` | exports[`StatsTestCases should print correct stats for max-modules 1`] = ` | ||||||
| "asset main.js 5.29 KiB [emitted] (name: main) | "asset main.js 5.32 KiB [emitted] (name: main) | ||||||
| 31 modules | 31 modules | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for max-modules-default 1`] = ` | exports[`StatsTestCases should print correct stats for max-modules-default 1`] = ` | ||||||
| "asset main.js 5.29 KiB [emitted] (name: main) | "asset main.js 5.32 KiB [emitted] (name: main) | ||||||
| 31 modules | 31 modules | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for module-assets 1`] = ` | exports[`StatsTestCases should print correct stats for module-assets 1`] = ` | ||||||
| "assets by path *.js 11.7 KiB | "assets by path *.js 11.8 KiB | ||||||
|   asset main.js 10.4 KiB [emitted] (name: main) |   asset main.js 10.5 KiB [emitted] (name: main) | ||||||
|   asset a.js 746 bytes [emitted] (name: a) |   asset a.js 746 bytes [emitted] (name: a) | ||||||
|   asset b.js 563 bytes [emitted] (name: b) |   asset b.js 563 bytes [emitted] (name: b) | ||||||
| assets by path *.png 42 KiB | assets by path *.png 42 KiB | ||||||
|   asset 1.png 21 KiB [emitted] [from: node_modules/a/1.png] (auxiliary name: a) |   asset 1.png 21 KiB [emitted] [from: node_modules/a/1.png] (auxiliary name: a) | ||||||
|   asset 2.png 21 KiB [emitted] [from: node_modules/a/2.png] (auxiliary name: a, b) |   asset 2.png 21 KiB [emitted] [from: node_modules/a/2.png] (auxiliary name: a, b) | ||||||
| Entrypoint main 10.4 KiB = main.js | Entrypoint main 10.5 KiB = main.js | ||||||
| Chunk Group a 746 bytes (42 KiB) = a.js 746 bytes (1.png 21 KiB 2.png 21 KiB) | Chunk Group a 746 bytes (42 KiB) = a.js 746 bytes (1.png 21 KiB 2.png 21 KiB) | ||||||
| Chunk Group b 563 bytes (21 KiB) = b.js 563 bytes (2.png 21 KiB) | Chunk Group b 563 bytes (21 KiB) = b.js 563 bytes (2.png 21 KiB) | ||||||
| chunk (runtime: main) b.js (b) 67 bytes [rendered] | chunk (runtime: main) b.js (b) 67 bytes [rendered] | ||||||
|  | @ -1408,7 +1408,7 @@ webpack x.x.x compiled successfully" | ||||||
| exports[`StatsTestCases should print correct stats for module-federation-custom-exposed-module-name 1`] = ` | exports[`StatsTestCases should print correct stats for module-federation-custom-exposed-module-name 1`] = ` | ||||||
| "asset container_bundle.js 12.1 KiB [emitted] (name: container) | "asset container_bundle.js 12.1 KiB [emitted] (name: container) | ||||||
| asset custom-entry_bundle.js 414 bytes [emitted] (name: custom-entry) | asset custom-entry_bundle.js 414 bytes [emitted] (name: custom-entry) | ||||||
| asset main_bundle.js 54 bytes [emitted] (name: main) | asset main_bundle.js 83 bytes [emitted] (name: main) | ||||||
| runtime modules 6.6 KiB 9 modules | runtime modules 6.6 KiB 9 modules | ||||||
| built modules 82 bytes [built] | built modules 82 bytes [built] | ||||||
|   ./index.js 1 bytes [built] [code generated] |   ./index.js 1 bytes [built] [code generated] | ||||||
|  | @ -1446,7 +1446,7 @@ webpack compiled with 2 errors" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for module-reasons 1`] = ` | exports[`StatsTestCases should print correct stats for module-reasons 1`] = ` | ||||||
| "asset main.js 1.32 KiB [emitted] (name: main) | "asset main.js 1.35 KiB [emitted] (name: main) | ||||||
| orphan modules 75 bytes [orphan] 2 modules | orphan modules 75 bytes [orphan] 2 modules | ||||||
| cacheable modules 110 bytes | cacheable modules 110 bytes | ||||||
|   ./index.js + 2 modules 102 bytes [built] [code generated] |   ./index.js + 2 modules 102 bytes [built] [code generated] | ||||||
|  | @ -1458,7 +1458,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for module-trace-disabled-in-error 1`] = ` | exports[`StatsTestCases should print correct stats for module-trace-disabled-in-error 1`] = ` | ||||||
| "assets by status 1.83 KiB [cached] 1 asset | "assets by status 1.86 KiB [cached] 1 asset | ||||||
| ./index.js 19 bytes [built] [code generated] | ./index.js 19 bytes [built] [code generated] | ||||||
| ./inner.js 53 bytes [built] [code generated] | ./inner.js 53 bytes [built] [code generated] | ||||||
| ./not-existing.js 26 bytes [built] [code generated] | ./not-existing.js 26 bytes [built] [code generated] | ||||||
|  | @ -1480,7 +1480,7 @@ webpack x.x.x compiled with 2 errors in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for module-trace-enabled-in-error 1`] = ` | exports[`StatsTestCases should print correct stats for module-trace-enabled-in-error 1`] = ` | ||||||
| "assets by status 1.83 KiB [cached] 1 asset | "assets by status 1.86 KiB [cached] 1 asset | ||||||
| ./index.js 19 bytes [built] [code generated] | ./index.js 19 bytes [built] [code generated] | ||||||
| ./inner.js 53 bytes [built] [code generated] | ./inner.js 53 bytes [built] [code generated] | ||||||
| ./not-existing.js 26 bytes [built] [code generated] | ./not-existing.js 26 bytes [built] [code generated] | ||||||
|  | @ -1562,9 +1562,9 @@ webpack x.x.x compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for named-chunks-plugin 1`] = ` | exports[`StatsTestCases should print correct stats for named-chunks-plugin 1`] = ` | ||||||
| "asset entry.js 5.49 KiB [emitted] (name: entry) | "asset entry.js 5.51 KiB [emitted] (name: entry) | ||||||
| asset vendor.js 237 bytes [emitted] (name: vendor) (id hint: vendor) | asset vendor.js 237 bytes [emitted] (name: vendor) (id hint: vendor) | ||||||
| Entrypoint entry 5.72 KiB = vendor.js 237 bytes entry.js 5.49 KiB | Entrypoint entry 5.75 KiB = vendor.js 237 bytes entry.js 5.51 KiB | ||||||
| runtime modules 2.59 KiB 2 modules | runtime modules 2.59 KiB 2 modules | ||||||
| cacheable modules 138 bytes | cacheable modules 138 bytes | ||||||
|   ./entry.js 72 bytes [built] [code generated] |   ./entry.js 72 bytes [built] [code generated] | ||||||
|  | @ -1575,7 +1575,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for named-chunks-plugin-async 1`] = ` | exports[`StatsTestCases should print correct stats for named-chunks-plugin-async 1`] = ` | ||||||
| "asset entry.js 12.4 KiB [emitted] (name: entry) | "asset entry.js 12.5 KiB [emitted] (name: entry) | ||||||
| asset modules_a_js.js 313 bytes [emitted] | asset modules_a_js.js 313 bytes [emitted] | ||||||
| asset modules_b_js.js 149 bytes [emitted] | asset modules_b_js.js 149 bytes [emitted] | ||||||
| runtime modules 7.69 KiB 10 modules | runtime modules 7.69 KiB 10 modules | ||||||
|  | @ -1587,7 +1587,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for no-emit-on-errors-plugin-with-child-error 1`] = ` | exports[`StatsTestCases should print correct stats for no-emit-on-errors-plugin-with-child-error 1`] = ` | ||||||
| "assets by status 108 bytes [cached] 2 assets | "assets by status 166 bytes [cached] 2 assets | ||||||
| ./index.js 1 bytes [built] [code generated] | ./index.js 1 bytes [built] [code generated] | ||||||
| 
 | 
 | ||||||
| WARNING in configuration | WARNING in configuration | ||||||
|  | @ -1600,7 +1600,7 @@ webpack x.x.x compiled with 1 error and 1 warning in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for optimize-chunks 1`] = ` | exports[`StatsTestCases should print correct stats for optimize-chunks 1`] = ` | ||||||
| "asset main.js 10.9 KiB {179} [emitted] (name: main) | "asset main.js 11 KiB {179} [emitted] (name: main) | ||||||
| asset cir2 from cir1.js 374 bytes {288}, {289} [emitted] (name: cir2 from cir1) | asset cir2 from cir1.js 374 bytes {288}, {289} [emitted] (name: cir2 from cir1) | ||||||
| asset cir1.js 330 bytes {592} [emitted] (name: cir1) | asset cir1.js 330 bytes {592} [emitted] (name: cir1) | ||||||
| asset cir2.js 330 bytes {289} [emitted] (name: cir2) | asset cir2.js 330 bytes {289} [emitted] (name: cir2) | ||||||
|  | @ -1646,7 +1646,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for output-module 1`] = ` | exports[`StatsTestCases should print correct stats for output-module 1`] = ` | ||||||
| "asset main.js 10 KiB [emitted] [javascript module] (name: main) | "asset main.js 10.1 KiB [emitted] [javascript module] (name: main) | ||||||
| asset 52.js 417 bytes [emitted] [javascript module] | asset 52.js 417 bytes [emitted] [javascript module] | ||||||
| runtime modules 6.09 KiB 8 modules | runtime modules 6.09 KiB 8 modules | ||||||
| orphan modules 38 bytes [orphan] 1 module | orphan modules 38 bytes [orphan] 1 module | ||||||
|  | @ -1657,7 +1657,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for parse-error 1`] = ` | exports[`StatsTestCases should print correct stats for parse-error 1`] = ` | ||||||
| "assets by status 1.53 KiB [cached] 1 asset | "assets by status 1.56 KiB [cached] 1 asset | ||||||
| orphan modules 15 bytes [orphan] 1 module | orphan modules 15 bytes [orphan] 1 module | ||||||
| ./index.js + 1 modules 30 bytes [built] [code generated] | ./index.js + 1 modules 30 bytes [built] [code generated] | ||||||
| ./b.js 55 bytes [built] [code generated] [1 error] | ./b.js 55 bytes [built] [code generated] [1 error] | ||||||
|  | @ -1799,9 +1799,9 @@ webpack x.x.x compiled with <CLR=31,BOLD>2 errors</CLR> in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for performance-no-async-chunks-shown 1`] = ` | exports[`StatsTestCases should print correct stats for performance-no-async-chunks-shown 1`] = ` | ||||||
| "asset <CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>294 KiB</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> (name: main) | "asset <CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>294 KiB</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> (name: main) | ||||||
| asset <CLR=32,BOLD>sec.js</CLR> 1.36 KiB <CLR=32,BOLD>[emitted]</CLR> (name: sec) | asset <CLR=32,BOLD>sec.js</CLR> 1.38 KiB <CLR=32,BOLD>[emitted]</CLR> (name: sec) | ||||||
| Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> 294 KiB = <CLR=32,BOLD>main.js</CLR> | Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> 294 KiB = <CLR=32,BOLD>main.js</CLR> | ||||||
| Entrypoint <CLR=BOLD>sec</CLR> 1.36 KiB = <CLR=32,BOLD>sec.js</CLR> | Entrypoint <CLR=BOLD>sec</CLR> 1.38 KiB = <CLR=32,BOLD>sec.js</CLR> | ||||||
| <CLR=BOLD>./index.js</CLR> 32 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | <CLR=BOLD>./index.js</CLR> 32 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | ||||||
| <CLR=BOLD>./index2.js</CLR> 48 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | <CLR=BOLD>./index2.js</CLR> 48 bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | ||||||
| <CLR=BOLD>./a.js</CLR> 293 KiB <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | <CLR=BOLD>./a.js</CLR> 293 KiB <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> | ||||||
|  | @ -1936,11 +1936,11 @@ exports[`StatsTestCases should print correct stats for preset-detailed 1`] = ` | ||||||
|       [LogTestPlugin] Log |       [LogTestPlugin] Log | ||||||
|     [LogTestPlugin] End |     [LogTestPlugin] End | ||||||
| PublicPath: auto | PublicPath: auto | ||||||
| asset main.js 10.1 KiB {179} [emitted] (name: main) | asset main.js 10.2 KiB {179} [emitted] (name: main) | ||||||
| asset 460.js 320 bytes {460} [emitted] | asset 460.js 320 bytes {460} [emitted] | ||||||
| asset 524.js 206 bytes {524} [emitted] | asset 524.js 206 bytes {524} [emitted] | ||||||
| asset 996.js 138 bytes {996} [emitted] | asset 996.js 138 bytes {996} [emitted] | ||||||
| Entrypoint main 10.1 KiB = main.js | Entrypoint main 10.2 KiB = main.js | ||||||
| chunk {179} (runtime: main) main.js (main) 73 bytes (javascript) 6.02 KiB (runtime) >{460}< >{996}< [entry] [rendered] | chunk {179} (runtime: main) main.js (main) 73 bytes (javascript) 6.02 KiB (runtime) >{460}< >{996}< [entry] [rendered] | ||||||
|   > ./index main |   > ./index main | ||||||
| chunk {460} (runtime: main) 460.js 54 bytes <{179}> >{524}< [rendered] | chunk {460} (runtime: main) 460.js 54 bytes <{179}> >{524}< [rendered] | ||||||
|  | @ -2039,7 +2039,7 @@ LOG from webpack.FileSystemInfo | ||||||
|     Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations |     Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations | ||||||
|     Managed items info in cache: 0 items |     Managed items info in cache: 0 items | ||||||
| 
 | 
 | ||||||
| 1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (79e982cf44e2ebf3e44b)" | 1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (2c5453a3b0af3e897ecf)" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for preset-errors-only 1`] = `""`; | exports[`StatsTestCases should print correct stats for preset-errors-only 1`] = `""`; | ||||||
|  | @ -2093,7 +2093,7 @@ exports[`StatsTestCases should print correct stats for preset-mixed-array 1`] = | ||||||
|   minimal (webpack x.x.x) compiled successfully in X ms |   minimal (webpack x.x.x) compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| verbose: | verbose: | ||||||
|   Entrypoint main 62 bytes = verbose.js |   Entrypoint main 91 bytes = verbose.js | ||||||
|   ./index.js 8 bytes [built] [code generated] |   ./index.js 8 bytes [built] [code generated] | ||||||
|   verbose (webpack x.x.x) compiled successfully" |   verbose (webpack x.x.x) compiled successfully" | ||||||
| `; | `; | ||||||
|  | @ -2113,7 +2113,7 @@ exports[`StatsTestCases should print correct stats for preset-normal 1`] = ` | ||||||
| "<e> [LogTestPlugin] Error | "<e> [LogTestPlugin] Error | ||||||
| <w> [LogTestPlugin] Warning | <w> [LogTestPlugin] Warning | ||||||
| <i> [LogTestPlugin] Info | <i> [LogTestPlugin] Info | ||||||
| asset main.js 10.1 KiB [emitted] (name: main) | asset main.js 10.2 KiB [emitted] (name: main) | ||||||
| asset 460.js 320 bytes [emitted] | asset 460.js 320 bytes [emitted] | ||||||
| asset 524.js 206 bytes [emitted] | asset 524.js 206 bytes [emitted] | ||||||
| asset 996.js 138 bytes [emitted] | asset 996.js 138 bytes [emitted] | ||||||
|  | @ -2211,11 +2211,11 @@ exports[`StatsTestCases should print correct stats for preset-verbose 1`] = ` | ||||||
|       [LogTestPlugin] Log |       [LogTestPlugin] Log | ||||||
|     [LogTestPlugin] End |     [LogTestPlugin] End | ||||||
| PublicPath: auto | PublicPath: auto | ||||||
| asset main.js 10.1 KiB {179} [emitted] (name: main) | asset main.js 10.2 KiB {179} [emitted] (name: main) | ||||||
| asset 460.js 320 bytes {460} [emitted] | asset 460.js 320 bytes {460} [emitted] | ||||||
| asset 524.js 206 bytes {524} [emitted] | asset 524.js 206 bytes {524} [emitted] | ||||||
| asset 996.js 138 bytes {996} [emitted] | asset 996.js 138 bytes {996} [emitted] | ||||||
| Entrypoint main 10.1 KiB = main.js | Entrypoint main 10.2 KiB = main.js | ||||||
| chunk {179} (runtime: main) main.js (main) 73 bytes (javascript) 6.02 KiB (runtime) >{460}< >{996}< [entry] [rendered] | chunk {179} (runtime: main) main.js (main) 73 bytes (javascript) 6.02 KiB (runtime) >{460}< >{996}< [entry] [rendered] | ||||||
|   > ./index main |   > ./index main | ||||||
|   runtime modules 6.02 KiB |   runtime modules 6.02 KiB | ||||||
|  | @ -2407,7 +2407,7 @@ LOG from webpack.FileSystemInfo | ||||||
|     Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations |     Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations | ||||||
|     Managed items info in cache: 0 items |     Managed items info in cache: 0 items | ||||||
| 
 | 
 | ||||||
| 1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (79e982cf44e2ebf3e44b)" | 1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (2c5453a3b0af3e897ecf)" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for real-content-hash 1`] = ` | exports[`StatsTestCases should print correct stats for real-content-hash 1`] = ` | ||||||
|  | @ -2597,7 +2597,7 @@ exclude3: | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for resolve-plugin-context 1`] = ` | exports[`StatsTestCases should print correct stats for resolve-plugin-context 1`] = ` | ||||||
| "asset bundle.js 1.5 KiB [emitted] (name: main) | "asset bundle.js 1.53 KiB [emitted] (name: main) | ||||||
| modules by path ./node_modules/def/ 17 bytes | modules by path ./node_modules/def/ 17 bytes | ||||||
|   ./node_modules/def/index.js 16 bytes [built] [code generated] |   ./node_modules/def/index.js 16 bytes [built] [code generated] | ||||||
|   ./node_modules/def/node_modules/xyz/index.js 1 bytes [built] [code generated] |   ./node_modules/def/node_modules/xyz/index.js 1 bytes [built] [code generated] | ||||||
|  | @ -2608,7 +2608,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for reverse-sort-modules 1`] = ` | exports[`StatsTestCases should print correct stats for reverse-sort-modules 1`] = ` | ||||||
| "asset main.js 5.29 KiB [emitted] (name: main) | "asset main.js 5.32 KiB [emitted] (name: main) | ||||||
| ./index.js 181 bytes [built] [code generated] | ./index.js 181 bytes [built] [code generated] | ||||||
| ./c.js?9 33 bytes [built] [code generated] | ./c.js?9 33 bytes [built] [code generated] | ||||||
| ./c.js?8 33 bytes [built] [code generated] | ./c.js?8 33 bytes [built] [code generated] | ||||||
|  | @ -2644,17 +2644,17 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for runtime-chunk 1`] = ` | exports[`StatsTestCases should print correct stats for runtime-chunk 1`] = ` | ||||||
| "Entrypoint e1 6.56 KiB = runtime~e1.js 5.73 KiB e1.js 854 bytes | "Entrypoint e1 6.58 KiB = runtime~e1.js 5.75 KiB e1.js 854 bytes | ||||||
| Entrypoint e2 6.56 KiB = runtime~e2.js 5.73 KiB e2.js 854 bytes | Entrypoint e2 6.58 KiB = runtime~e2.js 5.75 KiB e2.js 854 bytes | ||||||
| webpack x.x.x compiled successfully" | webpack x.x.x compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for runtime-chunk-integration 1`] = ` | exports[`StatsTestCases should print correct stats for runtime-chunk-integration 1`] = ` | ||||||
| "base: | "base: | ||||||
|   asset without-runtime.js 12.3 KiB [emitted] (name: runtime) |   asset without-runtime.js 12.4 KiB [emitted] (name: runtime) | ||||||
|   asset without-505.js 1.22 KiB [emitted] |   asset without-505.js 1.22 KiB [emitted] | ||||||
|   asset without-main1.js 596 bytes [emitted] (name: main1) |   asset without-main1.js 596 bytes [emitted] (name: main1) | ||||||
|   Entrypoint main1 12.9 KiB = without-runtime.js 12.3 KiB without-main1.js 596 bytes |   Entrypoint main1 13 KiB = without-runtime.js 12.4 KiB without-main1.js 596 bytes | ||||||
|   runtime modules 7.65 KiB 9 modules |   runtime modules 7.65 KiB 9 modules | ||||||
|   cacheable modules 126 bytes |   cacheable modules 126 bytes | ||||||
|     ./main1.js 66 bytes [built] [code generated] |     ./main1.js 66 bytes [built] [code generated] | ||||||
|  | @ -2664,14 +2664,14 @@ exports[`StatsTestCases should print correct stats for runtime-chunk-integration | ||||||
|   base (webpack x.x.x) compiled successfully |   base (webpack x.x.x) compiled successfully | ||||||
| 
 | 
 | ||||||
| static custom name: | static custom name: | ||||||
|   asset with-manifest.js 12.3 KiB [emitted] (name: manifest) |   asset with-manifest.js 12.4 KiB [emitted] (name: manifest) | ||||||
|   asset with-505.js 1.22 KiB [emitted] |   asset with-505.js 1.22 KiB [emitted] | ||||||
|   asset with-main1.js 596 bytes [emitted] (name: main1) |   asset with-main1.js 596 bytes [emitted] (name: main1) | ||||||
|   asset with-main2.js 215 bytes [emitted] (name: main2) |   asset with-main2.js 215 bytes [emitted] (name: main2) | ||||||
|   asset with-main3.js 215 bytes [emitted] (name: main3) |   asset with-main3.js 215 bytes [emitted] (name: main3) | ||||||
|   Entrypoint main1 12.9 KiB = with-manifest.js 12.3 KiB with-main1.js 596 bytes |   Entrypoint main1 13 KiB = with-manifest.js 12.4 KiB with-main1.js 596 bytes | ||||||
|   Entrypoint main2 12.6 KiB = with-manifest.js 12.3 KiB with-main2.js 215 bytes |   Entrypoint main2 12.6 KiB = with-manifest.js 12.4 KiB with-main2.js 215 bytes | ||||||
|   Entrypoint main3 12.6 KiB = with-manifest.js 12.3 KiB with-main3.js 215 bytes |   Entrypoint main3 12.6 KiB = with-manifest.js 12.4 KiB with-main3.js 215 bytes | ||||||
|   runtime modules 7.65 KiB 9 modules |   runtime modules 7.65 KiB 9 modules | ||||||
|   cacheable modules 166 bytes |   cacheable modules 166 bytes | ||||||
|     ./main1.js 66 bytes [built] [code generated] |     ./main1.js 66 bytes [built] [code generated] | ||||||
|  | @ -2683,15 +2683,15 @@ static custom name: | ||||||
|   static custom name (webpack x.x.x) compiled successfully |   static custom name (webpack x.x.x) compiled successfully | ||||||
| 
 | 
 | ||||||
| dynamic custom name: | dynamic custom name: | ||||||
|   asset func-b.js 12.3 KiB [emitted] (name: b) |   asset func-b.js 12.4 KiB [emitted] (name: b) | ||||||
|   asset func-a.js 5.17 KiB [emitted] (name: a) |   asset func-a.js 5.19 KiB [emitted] (name: a) | ||||||
|   asset func-505.js 1.22 KiB [emitted] |   asset func-505.js 1.22 KiB [emitted] | ||||||
|   asset func-main1.js 596 bytes [emitted] (name: main1) |   asset func-main1.js 596 bytes [emitted] (name: main1) | ||||||
|   asset func-main2.js 215 bytes [emitted] (name: main2) |   asset func-main2.js 215 bytes [emitted] (name: main2) | ||||||
|   asset func-main3.js 215 bytes [emitted] (name: main3) |   asset func-main3.js 215 bytes [emitted] (name: main3) | ||||||
|   Entrypoint main1 12.9 KiB = func-b.js 12.3 KiB func-main1.js 596 bytes |   Entrypoint main1 13 KiB = func-b.js 12.4 KiB func-main1.js 596 bytes | ||||||
|   Entrypoint main2 12.6 KiB = func-b.js 12.3 KiB func-main2.js 215 bytes |   Entrypoint main2 12.6 KiB = func-b.js 12.4 KiB func-main2.js 215 bytes | ||||||
|   Entrypoint main3 5.38 KiB = func-a.js 5.17 KiB func-main3.js 215 bytes |   Entrypoint main3 5.4 KiB = func-a.js 5.19 KiB func-main3.js 215 bytes | ||||||
|   runtime modules 10.2 KiB 11 modules |   runtime modules 10.2 KiB 11 modules | ||||||
|   cacheable modules 166 bytes |   cacheable modules 166 bytes | ||||||
|     ./main1.js 66 bytes [built] [code generated] |     ./main1.js 66 bytes [built] [code generated] | ||||||
|  | @ -2704,14 +2704,14 @@ dynamic custom name: | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for runtime-chunk-issue-7382 1`] = ` | exports[`StatsTestCases should print correct stats for runtime-chunk-issue-7382 1`] = ` | ||||||
| "Entrypoint e1 7.37 KiB = runtime.js 5.72 KiB all.js 1020 bytes e1.js 666 bytes | "Entrypoint e1 7.39 KiB = runtime.js 5.75 KiB all.js 1020 bytes e1.js 666 bytes | ||||||
| Entrypoint e2 7.37 KiB = runtime.js 5.72 KiB all.js 1020 bytes e2.js 666 bytes | Entrypoint e2 7.39 KiB = runtime.js 5.75 KiB all.js 1020 bytes e2.js 666 bytes | ||||||
| webpack x.x.x compiled successfully" | webpack x.x.x compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for runtime-chunk-single 1`] = ` | exports[`StatsTestCases should print correct stats for runtime-chunk-single 1`] = ` | ||||||
| "Entrypoint e1 6.56 KiB = runtime.js 5.72 KiB e1.js 851 bytes | "Entrypoint e1 6.58 KiB = runtime.js 5.75 KiB e1.js 851 bytes | ||||||
| Entrypoint e2 6.56 KiB = runtime.js 5.72 KiB e2.js 851 bytes | Entrypoint e2 6.58 KiB = runtime.js 5.75 KiB e2.js 851 bytes | ||||||
| webpack x.x.x compiled successfully" | webpack x.x.x compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
|  | @ -2724,7 +2724,7 @@ exports[`StatsTestCases should print correct stats for runtime-specific-used-exp | ||||||
|   asset production-dw_js-_a6171.js 1.17 KiB [emitted] |   asset production-dw_js-_a6171.js 1.17 KiB [emitted] | ||||||
|   asset production-dy_js.js 1.15 KiB [emitted] |   asset production-dy_js.js 1.15 KiB [emitted] | ||||||
|   asset production-dz_js.js 1.15 KiB [emitted] |   asset production-dz_js.js 1.15 KiB [emitted] | ||||||
|   asset production-c.js 63 bytes [emitted] (name: c) |   asset production-c.js 92 bytes [emitted] (name: c) | ||||||
|   chunk (runtime: a) production-a.js (a) 605 bytes (javascript) 6.59 KiB (runtime) [entry] [rendered] |   chunk (runtime: a) production-a.js (a) 605 bytes (javascript) 6.59 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 6.59 KiB 9 modules |     runtime modules 6.59 KiB 9 modules | ||||||
|     cacheable modules 605 bytes |     cacheable modules 605 bytes | ||||||
|  | @ -2805,7 +2805,7 @@ development: | ||||||
|   asset development-dx_js.js 2.13 KiB [emitted] |   asset development-dx_js.js 2.13 KiB [emitted] | ||||||
|   asset development-dy_js.js 2.13 KiB [emitted] |   asset development-dy_js.js 2.13 KiB [emitted] | ||||||
|   asset development-dz_js.js 2.13 KiB [emitted] |   asset development-dz_js.js 2.13 KiB [emitted] | ||||||
|   asset development-c.js 731 bytes [emitted] (name: c) |   asset development-c.js 760 bytes [emitted] (name: c) | ||||||
|   chunk (runtime: a) development-a.js (a) 605 bytes (javascript) 6.6 KiB (runtime) [entry] [rendered] |   chunk (runtime: a) development-a.js (a) 605 bytes (javascript) 6.6 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 6.6 KiB 9 modules |     runtime modules 6.6 KiB 9 modules | ||||||
|     cacheable modules 605 bytes |     cacheable modules 605 bytes | ||||||
|  | @ -2890,7 +2890,7 @@ global: | ||||||
|   asset global-dx_js.js 1.17 KiB [emitted] |   asset global-dx_js.js 1.17 KiB [emitted] | ||||||
|   asset global-dy_js.js 1.17 KiB [emitted] |   asset global-dy_js.js 1.17 KiB [emitted] | ||||||
|   asset global-dz_js.js 1.17 KiB [emitted] |   asset global-dz_js.js 1.17 KiB [emitted] | ||||||
|   asset global-c.js 63 bytes [emitted] (name: c) |   asset global-c.js 92 bytes [emitted] (name: c) | ||||||
|   chunk (runtime: a) global-a.js (a) 605 bytes (javascript) 6.59 KiB (runtime) [entry] [rendered] |   chunk (runtime: a) global-a.js (a) 605 bytes (javascript) 6.59 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 6.59 KiB 9 modules |     runtime modules 6.59 KiB 9 modules | ||||||
|     cacheable modules 605 bytes |     cacheable modules 605 bytes | ||||||
|  | @ -2979,7 +2979,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for scope-hoisting-multi 1`] = ` | exports[`StatsTestCases should print correct stats for scope-hoisting-multi 1`] = ` | ||||||
| "Entrypoint first 14.3 KiB = a-vendor.js 419 bytes a-first.js 13.9 KiB | "Entrypoint first 14.3 KiB = a-vendor.js 419 bytes a-first.js 13.9 KiB | ||||||
| Entrypoint second 13.8 KiB = a-vendor.js 419 bytes a-second.js 13.4 KiB | Entrypoint second 13.9 KiB = a-vendor.js 419 bytes a-second.js 13.5 KiB | ||||||
| runtime modules 15.4 KiB 18 modules | runtime modules 15.4 KiB 18 modules | ||||||
| orphan modules 37 bytes [orphan] 1 module | orphan modules 37 bytes [orphan] 1 module | ||||||
| cacheable modules 807 bytes | cacheable modules 807 bytes | ||||||
|  | @ -3126,7 +3126,7 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for side-effects-simple-unused 1`] = ` | exports[`StatsTestCases should print correct stats for side-effects-simple-unused 1`] = ` | ||||||
| "asset main.js 325 bytes [emitted] (name: main) | "asset main.js 354 bytes [emitted] (name: main) | ||||||
| ./index.js + 2 modules 158 bytes [built] [code generated] | ./index.js + 2 modules 158 bytes [built] [code generated] | ||||||
|   [no exports used] |   [no exports used] | ||||||
|   entry ./index main |   entry ./index main | ||||||
|  | @ -3174,14 +3174,14 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for simple 1`] = ` | exports[`StatsTestCases should print correct stats for simple 1`] = ` | ||||||
| "asset bundle.js 737 bytes [emitted] (name: main) | "asset bundle.js 766 bytes [emitted] (name: main) | ||||||
| ./index.js 1 bytes [built] [code generated] | ./index.js 1 bytes [built] [code generated] | ||||||
| webpack x.x.x compiled successfully in X ms" | webpack x.x.x compiled successfully in X ms" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for simple-more-info 1`] = ` | exports[`StatsTestCases should print correct stats for simple-more-info 1`] = ` | ||||||
| "PublicPath: auto | "PublicPath: auto | ||||||
| asset bundle.js 54 bytes [emitted] (name: main) | asset bundle.js 83 bytes [emitted] (name: main) | ||||||
| ./index.js 1 bytes [built] [code generated] | ./index.js 1 bytes [built] [code generated] | ||||||
|   entry ./index main |   entry ./index main | ||||||
|   X ms (resolving: X ms, restoring: X ms, integration: X ms, building: X ms, storing: X ms) |   X ms (resolving: X ms, restoring: X ms, integration: X ms, building: X ms, storing: X ms) | ||||||
|  | @ -3191,9 +3191,9 @@ webpack x.x.x compiled successfully in X ms" | ||||||
| exports[`StatsTestCases should print correct stats for split-chunks 1`] = ` | exports[`StatsTestCases should print correct stats for split-chunks 1`] = ` | ||||||
| "default: | "default: | ||||||
|   Entrypoint main 11.5 KiB = default/main.js |   Entrypoint main 11.5 KiB = default/main.js | ||||||
|   Entrypoint a 12.4 KiB = default/a.js |   Entrypoint a 12.5 KiB = default/a.js | ||||||
|   Entrypoint b 3.76 KiB = default/b.js |   Entrypoint b 3.79 KiB = default/b.js | ||||||
|   Entrypoint c 3.76 KiB = default/c.js |   Entrypoint c 3.79 KiB = default/c.js | ||||||
|   chunk (runtime: b) default/b.js (b) 196 bytes (javascript) 396 bytes (runtime) [entry] [rendered] |   chunk (runtime: b) default/b.js (b) 196 bytes (javascript) 396 bytes (runtime) [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     dependent modules 80 bytes [dependent] 4 modules |     dependent modules 80 bytes [dependent] 4 modules | ||||||
|  | @ -3251,9 +3251,9 @@ exports[`StatsTestCases should print correct stats for split-chunks 1`] = ` | ||||||
| 
 | 
 | ||||||
| all-chunks: | all-chunks: | ||||||
|   Entrypoint main 11.5 KiB = all-chunks/main.js |   Entrypoint main 11.5 KiB = all-chunks/main.js | ||||||
|   Entrypoint a 14.9 KiB = all-chunks/282.js 414 bytes all-chunks/954.js 414 bytes all-chunks/767.js 414 bytes all-chunks/390.js 414 bytes all-chunks/a.js 13.3 KiB |   Entrypoint a 15 KiB = all-chunks/282.js 414 bytes all-chunks/954.js 414 bytes all-chunks/767.js 414 bytes all-chunks/390.js 414 bytes all-chunks/a.js 13.3 KiB | ||||||
|   Entrypoint b 8.05 KiB = all-chunks/282.js 414 bytes all-chunks/954.js 414 bytes all-chunks/767.js 414 bytes all-chunks/568.js 414 bytes all-chunks/b.js 6.43 KiB |   Entrypoint b 8.07 KiB = all-chunks/282.js 414 bytes all-chunks/954.js 414 bytes all-chunks/767.js 414 bytes all-chunks/568.js 414 bytes all-chunks/b.js 6.45 KiB | ||||||
|   Entrypoint c 8.05 KiB = all-chunks/282.js 414 bytes all-chunks/769.js 414 bytes all-chunks/767.js 414 bytes all-chunks/568.js 414 bytes all-chunks/c.js 6.43 KiB |   Entrypoint c 8.07 KiB = all-chunks/282.js 414 bytes all-chunks/769.js 414 bytes all-chunks/767.js 414 bytes all-chunks/568.js 414 bytes all-chunks/c.js 6.45 KiB | ||||||
|   chunk (runtime: b) all-chunks/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) ={282}= ={568}= ={767}= ={954}= [entry] [rendered] |   chunk (runtime: b) all-chunks/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) ={282}= ={568}= ={767}= ={954}= [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     runtime modules 2.9 KiB 3 modules |     runtime modules 2.9 KiB 3 modules | ||||||
|  | @ -3323,9 +3323,9 @@ all-chunks: | ||||||
| 
 | 
 | ||||||
| manual: | manual: | ||||||
|   Entrypoint main 11.3 KiB = manual/main.js |   Entrypoint main 11.3 KiB = manual/main.js | ||||||
|   Entrypoint a 14.5 KiB = manual/vendors.js 1.08 KiB manual/a.js 13.5 KiB |   Entrypoint a 14.6 KiB = manual/vendors.js 1.08 KiB manual/a.js 13.5 KiB | ||||||
|   Entrypoint b 8.21 KiB = manual/vendors.js 1.08 KiB manual/b.js 7.13 KiB |   Entrypoint b 8.23 KiB = manual/vendors.js 1.08 KiB manual/b.js 7.15 KiB | ||||||
|   Entrypoint c 8.21 KiB = manual/vendors.js 1.08 KiB manual/c.js 7.13 KiB |   Entrypoint c 8.23 KiB = manual/vendors.js 1.08 KiB manual/c.js 7.15 KiB | ||||||
|   chunk (runtime: b) manual/b.js (b) 156 bytes (javascript) 2.92 KiB (runtime) ={216}= [entry] [rendered] |   chunk (runtime: b) manual/b.js (b) 156 bytes (javascript) 2.92 KiB (runtime) ={216}= [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     > x b |     > x b | ||||||
|  | @ -3393,9 +3393,9 @@ manual: | ||||||
| 
 | 
 | ||||||
| name-too-long: | name-too-long: | ||||||
|   Entrypoint main 11.5 KiB = name-too-long/main.js |   Entrypoint main 11.5 KiB = name-too-long/main.js | ||||||
|   Entrypoint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14.9 KiB = name-too-long/282.js 414 bytes name-too-long/954.js 414 bytes name-too-long/767.js 414 bytes name-too-long/390.js 414 bytes name-too-long/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js 13.3 KiB |   Entrypoint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 15 KiB = name-too-long/282.js 414 bytes name-too-long/954.js 414 bytes name-too-long/767.js 414 bytes name-too-long/390.js 414 bytes name-too-long/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js 13.3 KiB | ||||||
|   Entrypoint bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 8.05 KiB = name-too-long/282.js 414 bytes name-too-long/954.js 414 bytes name-too-long/767.js 414 bytes name-too-long/568.js 414 bytes name-too-long/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js 6.43 KiB |   Entrypoint bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 8.07 KiB = name-too-long/282.js 414 bytes name-too-long/954.js 414 bytes name-too-long/767.js 414 bytes name-too-long/568.js 414 bytes name-too-long/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js 6.45 KiB | ||||||
|   Entrypoint cccccccccccccccccccccccccccccc 8.05 KiB = name-too-long/282.js 414 bytes name-too-long/769.js 414 bytes name-too-long/767.js 414 bytes name-too-long/568.js 414 bytes name-too-long/cccccccccccccccccccccccccccccc.js 6.43 KiB |   Entrypoint cccccccccccccccccccccccccccccc 8.07 KiB = name-too-long/282.js 414 bytes name-too-long/769.js 414 bytes name-too-long/767.js 414 bytes name-too-long/568.js 414 bytes name-too-long/cccccccccccccccccccccccccccccc.js 6.45 KiB | ||||||
|   chunk (runtime: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, main) name-too-long/async-g.js (async-g) 45 bytes <{282}> <{390}> <{751}> <{767}> <{794}> <{954}> ={568}= [rendered] |   chunk (runtime: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, main) name-too-long/async-g.js (async-g) 45 bytes <{282}> <{390}> <{751}> <{767}> <{794}> <{954}> ={568}= [rendered] | ||||||
|     > ./g ./a.js 6:0-47 |     > ./g ./a.js 6:0-47 | ||||||
|     ./g.js 45 bytes [built] [code generated] |     ./g.js 45 bytes [built] [code generated] | ||||||
|  | @ -3466,8 +3466,8 @@ name-too-long: | ||||||
| custom-chunks-filter: | custom-chunks-filter: | ||||||
|   Entrypoint main 11.5 KiB = custom-chunks-filter/main.js |   Entrypoint main 11.5 KiB = custom-chunks-filter/main.js | ||||||
|   Entrypoint a 12.5 KiB = custom-chunks-filter/a.js |   Entrypoint a 12.5 KiB = custom-chunks-filter/a.js | ||||||
|   Entrypoint b 8.05 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/954.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/b.js 6.43 KiB |   Entrypoint b 8.07 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/954.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/b.js 6.45 KiB | ||||||
|   Entrypoint c 8.05 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/769.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/c.js 6.43 KiB |   Entrypoint c 8.07 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/769.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/c.js 6.45 KiB | ||||||
|   chunk (runtime: b) custom-chunks-filter/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) ={282}= ={568}= ={767}= ={954}= [entry] [rendered] |   chunk (runtime: b) custom-chunks-filter/b.js (b) 116 bytes (javascript) 2.9 KiB (runtime) ={282}= ={568}= ={767}= ={954}= [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     runtime modules 2.9 KiB 3 modules |     runtime modules 2.9 KiB 3 modules | ||||||
|  | @ -3532,8 +3532,8 @@ custom-chunks-filter: | ||||||
| custom-chunks-filter-in-cache-groups: | custom-chunks-filter-in-cache-groups: | ||||||
|   Entrypoint main 11.3 KiB = custom-chunks-filter-in-cache-groups/main.js |   Entrypoint main 11.3 KiB = custom-chunks-filter-in-cache-groups/main.js | ||||||
|   Entrypoint a 14.4 KiB = custom-chunks-filter-in-cache-groups/176.js 892 bytes custom-chunks-filter-in-cache-groups/a.js 13.5 KiB |   Entrypoint a 14.4 KiB = custom-chunks-filter-in-cache-groups/176.js 892 bytes custom-chunks-filter-in-cache-groups/a.js 13.5 KiB | ||||||
|   Entrypoint b 8.21 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.08 KiB custom-chunks-filter-in-cache-groups/b.js 7.13 KiB |   Entrypoint b 8.23 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.08 KiB custom-chunks-filter-in-cache-groups/b.js 7.15 KiB | ||||||
|   Entrypoint c 8.21 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.08 KiB custom-chunks-filter-in-cache-groups/c.js 7.13 KiB |   Entrypoint c 8.23 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.08 KiB custom-chunks-filter-in-cache-groups/c.js 7.15 KiB | ||||||
|   chunk (runtime: b) custom-chunks-filter-in-cache-groups/b.js (b) 156 bytes (javascript) 2.92 KiB (runtime) ={216}= [entry] [rendered] |   chunk (runtime: b) custom-chunks-filter-in-cache-groups/b.js (b) 156 bytes (javascript) 2.92 KiB (runtime) ={216}= [entry] [rendered] | ||||||
|     > ./b b |     > ./b b | ||||||
|     > x b |     > x b | ||||||
|  | @ -3751,7 +3751,7 @@ default (webpack x.x.x) compiled successfully" | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for split-chunks-issue-7401 1`] = ` | exports[`StatsTestCases should print correct stats for split-chunks-issue-7401 1`] = ` | ||||||
| "Entrypoint a 6.34 KiB = 282.js 414 bytes a.js 5.94 KiB | "Entrypoint a 6.37 KiB = 282.js 414 bytes a.js 5.96 KiB | ||||||
| Entrypoint b 10.9 KiB = b.js | Entrypoint b 10.9 KiB = b.js | ||||||
| Chunk Group c 794 bytes = 282.js 414 bytes c.js 380 bytes | Chunk Group c 794 bytes = 282.js 414 bytes c.js 380 bytes | ||||||
| chunk (runtime: b) b.js (b) 43 bytes (javascript) 6.61 KiB (runtime) >{282}< >{459}< [entry] [rendered] | chunk (runtime: b) b.js (b) 43 bytes (javascript) 6.61 KiB (runtime) >{282}< >{459}< [entry] [rendered] | ||||||
|  | @ -3803,7 +3803,7 @@ webpack x.x.x compiled successfully" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for split-chunks-max-size 1`] = ` | exports[`StatsTestCases should print correct stats for split-chunks-max-size 1`] = ` | ||||||
| "production: | "production: | ||||||
|   Entrypoint main 31.7 KiB = 13 assets |   Entrypoint main 31.8 KiB = 13 assets | ||||||
|   chunk (runtime: main) prod-main-6bb16544.js (main-6bb16544) 1.57 KiB ={59}= ={198}= ={204}= ={318}= ={358}= ={400}= ={410}= ={490}= ={520}= ={662}= ={663}= ={869}= [initial] [rendered] |   chunk (runtime: main) prod-main-6bb16544.js (main-6bb16544) 1.57 KiB ={59}= ={198}= ={204}= ={318}= ={358}= ={400}= ={410}= ={490}= ={520}= ={662}= ={663}= ={869}= [initial] [rendered] | ||||||
|     > ./ main |     > ./ main | ||||||
|     ./in-some-directory/very-big.js?1 1.57 KiB [built] [code generated] |     ./in-some-directory/very-big.js?1 1.57 KiB [built] [code generated] | ||||||
|  | @ -4008,7 +4008,7 @@ switched: | ||||||
|   switched (webpack x.x.x) compiled with 2 warnings |   switched (webpack x.x.x) compiled with 2 warnings | ||||||
| 
 | 
 | ||||||
| zero-min: | zero-min: | ||||||
|   Entrypoint main 31.7 KiB = 13 assets |   Entrypoint main 31.8 KiB = 13 assets | ||||||
|   chunk (runtime: main) zero-min-main-6bb16544.js (main-6bb16544) 1.57 KiB ={59}= ={198}= ={204}= ={318}= ={358}= ={400}= ={410}= ={490}= ={520}= ={662}= ={663}= ={869}= [initial] [rendered] |   chunk (runtime: main) zero-min-main-6bb16544.js (main-6bb16544) 1.57 KiB ={59}= ={198}= ={204}= ={318}= ={358}= ={400}= ={410}= ={490}= ={520}= ={662}= ={663}= ={869}= [initial] [rendered] | ||||||
|     > ./ main |     > ./ main | ||||||
|     ./in-some-directory/very-big.js?1 1.57 KiB [built] [code generated] |     ./in-some-directory/very-big.js?1 1.57 KiB [built] [code generated] | ||||||
|  | @ -4217,13 +4217,13 @@ webpack x.x.x compiled successfully" | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for split-chunks-runtime-specific 1`] = ` | exports[`StatsTestCases should print correct stats for split-chunks-runtime-specific 1`] = ` | ||||||
| "used-exports: | "used-exports: | ||||||
|   asset used-exports-c.js 5.96 KiB [emitted] (name: c) |   asset used-exports-c.js 5.98 KiB [emitted] (name: c) | ||||||
|   asset used-exports-b.js 5.96 KiB [emitted] (name: b) |   asset used-exports-b.js 5.98 KiB [emitted] (name: b) | ||||||
|   asset used-exports-332.js 424 bytes [emitted] |   asset used-exports-332.js 424 bytes [emitted] | ||||||
|   asset used-exports-a.js 227 bytes [emitted] (name: a) |   asset used-exports-a.js 256 bytes [emitted] (name: a) | ||||||
|   Entrypoint a 227 bytes = used-exports-a.js |   Entrypoint a 256 bytes = used-exports-a.js | ||||||
|   Entrypoint b 6.37 KiB = used-exports-332.js 424 bytes used-exports-b.js 5.96 KiB |   Entrypoint b 6.39 KiB = used-exports-332.js 424 bytes used-exports-b.js 5.98 KiB | ||||||
|   Entrypoint c 6.37 KiB = used-exports-332.js 424 bytes used-exports-c.js 5.96 KiB |   Entrypoint c 6.4 KiB = used-exports-332.js 424 bytes used-exports-c.js 5.98 KiB | ||||||
|   chunk (runtime: b) used-exports-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] |   chunk (runtime: b) used-exports-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 2.88 KiB 3 modules |     runtime modules 2.88 KiB 3 modules | ||||||
|     ./b.js 54 bytes [built] [code generated] |     ./b.js 54 bytes [built] [code generated] | ||||||
|  | @ -4237,13 +4237,13 @@ exports[`StatsTestCases should print correct stats for split-chunks-runtime-spec | ||||||
|   used-exports (webpack x.x.x) compiled successfully in X ms |   used-exports (webpack x.x.x) compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| no-used-exports: | no-used-exports: | ||||||
|   asset no-used-exports-c.js 5.96 KiB [emitted] (name: c) |   asset no-used-exports-c.js 5.98 KiB [emitted] (name: c) | ||||||
|   asset no-used-exports-a.js 5.96 KiB [emitted] (name: a) |   asset no-used-exports-a.js 5.98 KiB [emitted] (name: a) | ||||||
|   asset no-used-exports-b.js 5.96 KiB [emitted] (name: b) |   asset no-used-exports-b.js 5.98 KiB [emitted] (name: b) | ||||||
|   asset no-used-exports-332.js 447 bytes [emitted] |   asset no-used-exports-332.js 447 bytes [emitted] | ||||||
|   Entrypoint a 6.39 KiB = no-used-exports-332.js 447 bytes no-used-exports-a.js 5.96 KiB |   Entrypoint a 6.41 KiB = no-used-exports-332.js 447 bytes no-used-exports-a.js 5.98 KiB | ||||||
|   Entrypoint b 6.39 KiB = no-used-exports-332.js 447 bytes no-used-exports-b.js 5.96 KiB |   Entrypoint b 6.41 KiB = no-used-exports-332.js 447 bytes no-used-exports-b.js 5.98 KiB | ||||||
|   Entrypoint c 6.4 KiB = no-used-exports-332.js 447 bytes no-used-exports-c.js 5.96 KiB |   Entrypoint c 6.42 KiB = no-used-exports-332.js 447 bytes no-used-exports-c.js 5.98 KiB | ||||||
|   chunk (runtime: b) no-used-exports-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] |   chunk (runtime: b) no-used-exports-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 2.88 KiB 3 modules |     runtime modules 2.88 KiB 3 modules | ||||||
|     ./b.js 54 bytes [built] [code generated] |     ./b.js 54 bytes [built] [code generated] | ||||||
|  | @ -4258,13 +4258,13 @@ no-used-exports: | ||||||
|   no-used-exports (webpack x.x.x) compiled successfully in X ms |   no-used-exports (webpack x.x.x) compiled successfully in X ms | ||||||
| 
 | 
 | ||||||
| global: | global: | ||||||
|   asset global-c.js 5.96 KiB [emitted] (name: c) |   asset global-c.js 5.98 KiB [emitted] (name: c) | ||||||
|   asset global-a.js 5.96 KiB [emitted] (name: a) |   asset global-a.js 5.98 KiB [emitted] (name: a) | ||||||
|   asset global-b.js 5.96 KiB [emitted] (name: b) |   asset global-b.js 5.98 KiB [emitted] (name: b) | ||||||
|   asset global-332.js 447 bytes [emitted] |   asset global-332.js 447 bytes [emitted] | ||||||
|   Entrypoint a 6.39 KiB = global-332.js 447 bytes global-a.js 5.96 KiB |   Entrypoint a 6.41 KiB = global-332.js 447 bytes global-a.js 5.98 KiB | ||||||
|   Entrypoint b 6.39 KiB = global-332.js 447 bytes global-b.js 5.96 KiB |   Entrypoint b 6.41 KiB = global-332.js 447 bytes global-b.js 5.98 KiB | ||||||
|   Entrypoint c 6.4 KiB = global-332.js 447 bytes global-c.js 5.96 KiB |   Entrypoint c 6.42 KiB = global-332.js 447 bytes global-c.js 5.98 KiB | ||||||
|   chunk (runtime: b) global-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] |   chunk (runtime: b) global-b.js (b) 54 bytes (javascript) 2.88 KiB (runtime) [entry] [rendered] | ||||||
|     runtime modules 2.88 KiB 3 modules |     runtime modules 2.88 KiB 3 modules | ||||||
|     ./b.js 54 bytes [built] [code generated] |     ./b.js 54 bytes [built] [code generated] | ||||||
|  | @ -4280,7 +4280,7 @@ global: | ||||||
| `; | `; | ||||||
| 
 | 
 | ||||||
| exports[`StatsTestCases should print correct stats for tree-shaking 1`] = ` | exports[`StatsTestCases should print correct stats for tree-shaking 1`] = ` | ||||||
| "asset bundle.js 6.75 KiB [emitted] (name: main) | "asset bundle.js 6.78 KiB [emitted] (name: main) | ||||||
| runtime modules 663 bytes 3 modules | runtime modules 663 bytes 3 modules | ||||||
| orphan modules 14 bytes [orphan] 1 module | orphan modules 14 bytes [orphan] 1 module | ||||||
| cacheable modules 782 bytes | cacheable modules 782 bytes | ||||||
|  |  | ||||||
|  | @ -1646,6 +1646,7 @@ declare interface CompilationHooksJavascriptModulesPlugin { | ||||||
| 	renderChunk: SyncWaterfallHook<[Source, RenderContextObject]>; | 	renderChunk: SyncWaterfallHook<[Source, RenderContextObject]>; | ||||||
| 	renderMain: SyncWaterfallHook<[Source, RenderContextObject]>; | 	renderMain: SyncWaterfallHook<[Source, RenderContextObject]>; | ||||||
| 	render: SyncWaterfallHook<[Source, RenderContextObject]>; | 	render: SyncWaterfallHook<[Source, RenderContextObject]>; | ||||||
|  | 	renderStartup: SyncWaterfallHook<[Source, Module, StartupRenderContext]>; | ||||||
| 	renderRequire: SyncWaterfallHook<[string, RenderBootstrapContext]>; | 	renderRequire: SyncWaterfallHook<[string, RenderBootstrapContext]>; | ||||||
| 	chunkHash: SyncHook<[Chunk, Hash, ChunkHashContext]>; | 	chunkHash: SyncHook<[Chunk, Hash, ChunkHashContext]>; | ||||||
| 	useSourceMap: SyncBailHook<[Chunk, RenderContextObject], boolean>; | 	useSourceMap: SyncBailHook<[Chunk, RenderContextObject], boolean>; | ||||||
|  | @ -9860,6 +9861,7 @@ declare abstract class StackedMap<K, V> { | ||||||
| 	readonly size: number; | 	readonly size: number; | ||||||
| 	createChild(): StackedMap<K, V>; | 	createChild(): StackedMap<K, V>; | ||||||
| } | } | ||||||
|  | type StartupRenderContext = RenderContextObject & { inlined: boolean }; | ||||||
| type Statement = | type Statement = | ||||||
| 	| FunctionDeclaration | 	| FunctionDeclaration | ||||||
| 	| VariableDeclaration | 	| VariableDeclaration | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue