Merge tag 'v4.19.0' into next

4.19.0

* Separate context for renderBoostrap and hooks
* Remove ModuleTemplate from MainTemplate.bootstrap hook
This commit is contained in:
Tobias Koppers 2018-09-15 13:10:58 +02:00
commit 97ed999aad
11 changed files with 169 additions and 153 deletions

View File

@ -221,7 +221,7 @@ or are automatically applied via regex from your webpack configuration.
|<a href="https://github.com/webpack/style-loader">`<style>`</a>|![style-npm]|![style-size]|Add exports of a module as style to DOM|
|<a href="https://github.com/webpack/css-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/css-3.svg"></a>|![css-npm]|![css-size]|Loads CSS file with resolved imports and returns CSS code|
|<a href="https://github.com/webpack/less-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/less-63.svg"></a>|![less-npm]|![less-size]|Loads and compiles a LESS file|
|<a href="https://github.com/jtangelder/sass-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/sass-1.svg"></a>|![sass-npm]|![sass-size]|Loads and compiles a SASS/SCSS file|
|<a href="https://github.com/jtangelder/sass-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/sass-1.svg"></a>|![sass-npm]|![sass-size]|Loads and compiles a Sass/SCSS file|
|<a href="https://github.com/shama/stylus-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/stylus.svg"></a>|![stylus-npm]|![stylus-size]|Loads and compiles a Stylus file|
|<a href="https://github.com/postcss/postcss-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/postcss.svg"></a>|![postcss-npm]|![postcss-size]|Loads and transforms a CSS/SSS file using [PostCSS](http://postcss.org)|

View File

@ -11,9 +11,9 @@ const { SyncWaterfallHook, SyncHook } = require("tapable");
/** @typedef {import("./Chunk")} Chunk */
/** @typedef {import("./Module")} Module} */
/** @typedef {import("./util/createHash").Hash} Hash} */
/** @typedef {import("./DependencyTemplates")} DependencyTemplates} */
/** @typedef {import("webpack-sources").Source} Source} */
/** @typedef {import("./ModuleTemplate").RenderContext} RenderContext} */
/** @typedef {import("./MainTemplate").UpdateHashForChunkContext} UpdateHashForChunkContext} */
/** @typedef {import("./Template").RenderManifestOptions} RenderManifestOptions} */
/** @typedef {import("./Template").RenderManifestEntry} RenderManifestEntry} */
@ -66,12 +66,14 @@ module.exports = class ChunkTemplate {
}
/**
* TODO webpack 5: remove moduleTemplate and dependencyTemplates
* Updates hash with chunk-specific information from this template
* @param {Hash} hash the hash to update
* @param {Chunk} chunk the chunk
* @param {UpdateHashForChunkContext} context options object
* @returns {void}
*/
updateHashForChunk(hash, chunk) {
updateHashForChunk(hash, chunk, context) {
this.updateHash(hash);
this.hooks.hashForChunk.call(hash, chunk);
}

View File

@ -1910,7 +1910,11 @@ class Compilation {
const template = chunk.hasRuntime()
? this.mainTemplate
: this.chunkTemplate;
template.updateHashForChunk(chunkHash, chunk);
template.updateHashForChunk(chunkHash, chunk, {
chunkGraph,
moduleGraph: this.moduleGraph,
runtimeTemplate: this.runtimeTemplate
});
this.hooks.chunkHash.call(chunk, chunkHash);
chunk.hash = chunkHash.digest(hashDigest);
hash.update(chunk.hash);

View File

@ -406,7 +406,7 @@ class HotModuleReplacementPlugin {
mainTemplate.hooks.bootstrap.tap(
"HotModuleReplacementPlugin",
(source, moduleTemplate, { chunk, hash }) => {
(source, { chunk, hash }) => {
const hotSource = hotBootstrap.call(source, chunk, hash);
return Template.asString([
hotSource,

View File

@ -192,6 +192,8 @@ class JavascriptModulesPlugin {
compilation.hooks.contentHash.tap("JavascriptModulesPlugin", chunk => {
const {
chunkGraph,
moduleGraph,
runtimeTemplate,
outputOptions: {
hashSalt,
hashDigest,
@ -206,7 +208,11 @@ class JavascriptModulesPlugin {
: compilation.chunkTemplate;
hash.update(`${chunk.id} `);
hash.update(chunk.ids ? chunk.ids.join(",") : "");
template.updateHashForChunk(hash, chunk);
template.updateHashForChunk(hash, chunk, {
chunkGraph,
moduleGraph,
runtimeTemplate
});
for (const m of chunkGraph.getOrderedChunkModulesIterable(
chunk,
compareModulesById(chunkGraph)

View File

@ -38,6 +38,22 @@ const Template = require("./Template");
* @property {string} hash hash to be used for render call
*/
/**
* @typedef {Object} RenderBootstrapContext
* @property {Chunk} chunk the chunk
* @property {RuntimeTemplate} runtimeTemplate the runtime template
* @property {ModuleGraph} moduleGraph the module graph
* @property {ChunkGraph} chunkGraph the chunk graph
* @property {string} hash hash to be used for render call
*/
/**
* @typedef {Object} UpdateHashForChunkContext
* @property {RuntimeTemplate} runtimeTemplate the runtime template
* @property {ModuleGraph} moduleGraph the module graph
* @property {ChunkGraph} chunkGraph the chunk graph
*/
// require function shortcuts:
// __webpack_require__.s = the module id of the entry point
// __webpack_require__.c = the module cache
@ -72,32 +88,28 @@ module.exports = class MainTemplate {
"moduleTemplate",
"renderContext"
]),
/** @type {SyncWaterfallHook<string, string, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, string, RenderBootstrapContext>} */
moduleObj: new SyncWaterfallHook([
"source",
"moduleIdExpression",
"renderContext"
]),
/** @type {SyncWaterfallHook<string, string, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, string, RenderBootstrapContext>} */
requireEnsure: new SyncWaterfallHook([
"source",
"chunkIdExpression",
"renderContext"
]),
/** @type {SyncWaterfallHook<string, ModuleTemplate, MainRenderContext>} */
bootstrap: new SyncWaterfallHook([
"source",
"moduleTemplate",
"renderContext"
]),
/** @type {SyncWaterfallHook<string, RenderBootstrapContext>} */
bootstrap: new SyncWaterfallHook(["source", "renderContext"]),
localVars: new SyncWaterfallHook(["source", "chunk", "hash"]),
/** @type {SyncWaterfallHook<string, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, RenderBootstrapContext>} */
require: new SyncWaterfallHook(["source", "renderContext"]),
/** @type {SyncWaterfallHook<string, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, RenderBootstrapContext>} */
requireExtensions: new SyncWaterfallHook(["source", "renderContext"]),
/** @type {SyncWaterfallHook<string, Chunk, string>} */
beforeStartup: new SyncWaterfallHook(["source", "chunk", "hash"]),
/** @type {SyncWaterfallHook<string, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, RenderBootstrapContext>} */
startup: new SyncWaterfallHook(["source", "renderContext"]),
/** @type {SyncWaterfallHook<Source, ModuleTemplate, MainRenderContext>} */
render: new SyncWaterfallHook([
@ -112,7 +124,7 @@ module.exports = class MainTemplate {
"hash",
"moduleIdExpression"
]),
/** @type {SyncWaterfallHook<string, {moduleId: string, module: string}, MainRenderContext>} */
/** @type {SyncWaterfallHook<string, {moduleId: string, module: string}, RenderBootstrapContext>} */
addModule: new SyncWaterfallHook([
"source",
"expressions",
@ -368,14 +380,13 @@ module.exports = class MainTemplate {
}
/**
* @param {ModuleTemplate} moduleTemplate ModuleTemplate instance for render
* @param {MainRenderContext} renderContext options object
* @returns {ConcatSource} the newly generated source from rendering
* @param {RenderBootstrapContext} renderContext options object
* @returns {string[]} the generated source of the bootstrap code
*/
render(moduleTemplate, renderContext) {
const { hash, chunk, chunkGraph } = renderContext;
renderBootstrap(renderContext) {
const { hash, chunk } = renderContext;
const buf = [];
buf.push(this.hooks.bootstrap.call("", moduleTemplate, renderContext));
buf.push(this.hooks.bootstrap.call("", renderContext));
buf.push(this.hooks.localVars.call("", chunk, hash));
buf.push("");
buf.push("// The require function");
@ -389,6 +400,17 @@ module.exports = class MainTemplate {
buf.push("");
buf.push(Template.asString(this.hooks.beforeStartup.call("", chunk, hash)));
buf.push(Template.asString(this.hooks.startup.call("", renderContext)));
return buf;
}
/**
* @param {ModuleTemplate} moduleTemplate ModuleTemplate instance for render
* @param {MainRenderContext} renderContext options object
* @returns {ConcatSource} the newly generated source from rendering
*/
render(moduleTemplate, renderContext) {
const { hash, chunk, chunkGraph } = renderContext;
const buf = this.renderBootstrap(renderContext);
let source = this.hooks.render.call(
new OriginalSource(
Template.prefix(buf, " \t") + "\n",
@ -429,7 +451,7 @@ module.exports = class MainTemplate {
*
* @param {string} varModuleId module id
* @param {string} varModule Module instance
* @param {MainRenderContext} renderContext the render context
* @param {RenderBootstrapContext} renderContext the render context
* @returns {TODO} renderAddModule call
*/
renderAddModule(varModuleId, varModule, renderContext) {
@ -481,7 +503,6 @@ module.exports = class MainTemplate {
updateHash(hash) {
hash.update("maintemplate");
hash.update("3");
hash.update(this.outputOptions.publicPath + "");
this.hooks.hash.call(hash);
}
@ -489,11 +510,21 @@ module.exports = class MainTemplate {
* Updates hash with chunk-specific information from this template
* @param {Hash} hash the hash to update
* @param {Chunk} chunk the chunk
* @param {UpdateHashForChunkContext} context options object
* @returns {void}
*/
updateHashForChunk(hash, chunk) {
updateHashForChunk(hash, chunk, context) {
this.updateHash(hash);
this.hooks.hashForChunk.call(hash, chunk);
for (const line of this.renderBootstrap({
hash: "0000",
chunk,
chunkGraph: context.chunkGraph,
moduleGraph: context.moduleGraph,
runtimeTemplate: context.runtimeTemplate
})) {
hash.update(line);
}
}
useChunkHash(chunk) {

View File

@ -326,9 +326,7 @@ module.exports = class NodeMainTemplatePlugin {
});
mainTemplate.hooks.hash.tap("NodeMainTemplatePlugin", hash => {
hash.update("node");
hash.update("3");
hash.update(mainTemplate.outputOptions.filename + "");
hash.update(mainTemplate.outputOptions.chunkFilename + "");
hash.update("4");
});
}
};

View File

@ -369,24 +369,8 @@ class WasmMainTemplatePlugin {
);
mainTemplate.hooks.hash.tap("WasmMainTemplatePlugin", hash => {
hash.update("WasmMainTemplatePlugin");
hash.update("1");
hash.update(`${mainTemplate.outputOptions.webassemblyModuleFilename}`);
hash.update(`${this.mangleImports}`);
hash.update("2");
});
mainTemplate.hooks.hashForChunk.tap(
"WasmMainTemplatePlugin",
(hash, chunk) => {
const chunkGraph = this.compilation.chunkGraph;
const chunkModuleMaps = chunkGraph.getChunkModuleMaps(chunk, m =>
m.type.startsWith("webassembly")
);
hash.update(JSON.stringify(chunkModuleMaps.id));
const wasmModules = getAllWasmModules(moduleGraph, chunkGraph, chunk);
for (const module of wasmModules) {
hash.update(chunkGraph.getModuleHash(module));
}
}
);
}
}

View File

@ -375,7 +375,7 @@ class JsonpMainTemplatePlugin {
);
mainTemplate.hooks.bootstrap.tap(
"JsonpMainTemplatePlugin",
(source, moduleTemplate, renderContext) => {
(source, renderContext) => {
const { chunk, hash } = renderContext;
if (needChunkLoadingCode(chunk)) {
const withDefer = needEntryDeferringCode(chunk);
@ -603,11 +603,7 @@ ${globalObject}[${JSON.stringify(hotUpdateFunction)}] = ${runtimeSource}`;
});
mainTemplate.hooks.hash.tap("JsonpMainTemplatePlugin", hash => {
hash.update("jsonp");
hash.update("5");
hash.update(`${mainTemplate.outputOptions.globalObject}`);
hash.update(`${mainTemplate.outputOptions.chunkFilename}`);
hash.update(`${mainTemplate.outputOptions.jsonpFunction}`);
hash.update(`${mainTemplate.outputOptions.hotUpdateFunction}`);
hash.update("6");
});
}
}

View File

@ -117,7 +117,7 @@ class WebWorkerMainTemplatePlugin {
);
mainTemplate.hooks.bootstrap.tap(
"WebWorkerMainTemplatePlugin",
(source, moduleTemplate, renderContext) => {
(source, renderContext) => {
const { chunk } = renderContext;
if (needChunkOnDemandLoadingCode(chunk)) {
const chunkCallbackName =
@ -191,12 +191,7 @@ class WebWorkerMainTemplatePlugin {
});
mainTemplate.hooks.hash.tap("WebWorkerMainTemplatePlugin", hash => {
hash.update("webworker");
hash.update("3");
hash.update(`${mainTemplate.outputOptions.publicPath}`);
hash.update(`${mainTemplate.outputOptions.filename}`);
hash.update(`${mainTemplate.outputOptions.chunkFilename}`);
hash.update(`${mainTemplate.outputOptions.chunkCallbackName}`);
hash.update(`${mainTemplate.outputOptions.globalObject}`);
hash.update("4");
});
}
}

View File

@ -1,17 +1,17 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StatsTestCases should print correct stats for aggressive-splitting-entry 1`] = `
"Hash: 5071403fab92cdd591e25071403fab92cdd591e2
"Hash: b0db5245ce4f808b7ce8b0db5245ce4f808b7ce8
Child fitting:
Hash: 5071403fab92cdd591e2
Hash: b0db5245ce4f808b7ce8
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
5d5aae6ca1af5d6e6ea4.js 1.94 KiB 3 [emitted]
7029d2a129d88406bdea.js 1.94 KiB 1 [emitted]
971ab7b8450aa86d5fb9.js 11.1 KiB 2 [emitted]
d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
ebed0abd0a2953a40be0.js 11.1 KiB 2 [emitted]
Entrypoint main = 5d5aae6ca1af5d6e6ea4.js 7029d2a129d88406bdea.js ebed0abd0a2953a40be0.js
Entrypoint main = 5d5aae6ca1af5d6e6ea4.js 7029d2a129d88406bdea.js 971ab7b8450aa86d5fb9.js
chunk {0} d4b551c6319035df2898.js 916 bytes <{1}> <{2}> <{3}>
> ./g [4] ./index.js 7:0-13
[7] ./g.js 916 bytes {0} [built]
@ -19,7 +19,7 @@ Child fitting:
> ./index main
[1] ./c.js 899 bytes {1} [built]
[2] ./d.js 899 bytes {1} [built]
chunk {2} ebed0abd0a2953a40be0.js 1.87 KiB ={1}= ={3}= >{0}< [entry] [rendered]
chunk {2} 971ab7b8450aa86d5fb9.js 1.87 KiB ={1}= ={3}= >{0}< [entry] [rendered]
> ./index main
[3] ./e.js 899 bytes {2} [built]
[4] ./index.js 111 bytes {2} [built]
@ -29,15 +29,15 @@ Child fitting:
[0] ./b.js 899 bytes {3} [built]
[5] ./a.js 899 bytes {3} [built]
Child content-change:
Hash: 5071403fab92cdd591e2
Hash: b0db5245ce4f808b7ce8
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
5d5aae6ca1af5d6e6ea4.js 1.94 KiB 3 [emitted]
7029d2a129d88406bdea.js 1.94 KiB 1 [emitted]
971ab7b8450aa86d5fb9.js 11.1 KiB 2 [emitted]
d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
ebed0abd0a2953a40be0.js 11.1 KiB 2 [emitted]
Entrypoint main = 5d5aae6ca1af5d6e6ea4.js 7029d2a129d88406bdea.js ebed0abd0a2953a40be0.js
Entrypoint main = 5d5aae6ca1af5d6e6ea4.js 7029d2a129d88406bdea.js 971ab7b8450aa86d5fb9.js
chunk {0} d4b551c6319035df2898.js 916 bytes <{1}> <{2}> <{3}>
> ./g [4] ./index.js 7:0-13
[7] ./g.js 916 bytes {0} [built]
@ -45,7 +45,7 @@ Child content-change:
> ./index main
[1] ./c.js 899 bytes {1} [built]
[2] ./d.js 899 bytes {1} [built]
chunk {2} ebed0abd0a2953a40be0.js 1.87 KiB ={1}= ={3}= >{0}< [entry] [rendered]
chunk {2} 971ab7b8450aa86d5fb9.js 1.87 KiB ={1}= ={3}= >{0}< [entry] [rendered]
> ./index main
[3] ./e.js 899 bytes {2} [built]
[4] ./index.js 111 bytes {2} [built]
@ -57,15 +57,15 @@ Child content-change:
`;
exports[`StatsTestCases should print correct stats for aggressive-splitting-on-demand 1`] = `
"Hash: ac44043dd369f76c1a58
"Hash: cb1b9897db67194e18d2
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
01a8254701931adbf278.js 1.01 KiB 9 [emitted]
01a8f6900f403d5703b2.js 1.94 KiB 3, 4 [emitted]
138d0972019f89a65bcf.js 1.94 KiB 1 [emitted]
22cae813c6150b7254dd.js 9.7 KiB 10 [emitted] main
2736cf9d79233cd0a9b6.js 1.93 KiB 0 [emitted]
39c759b5ad724be84491.js 9.7 KiB 10 [emitted] main
58f368c01f66002b0eb3.js 1.94 KiB 6, 7 [emitted]
6a8e74d82c35e3f013d2.js 1 KiB 7 [emitted]
7f83e5c2f4e52435dd2c.js 1.96 KiB 2 [emitted]
@ -73,7 +73,7 @@ ba9fedb7aa0c69201639.js 1.94 KiB 11 [emitted]
c99c160aba2d9a94e5d1.js 1.94 KiB 5 [emitted]
ee043b525cd899e33ec0.js 1.94 KiB 8 [emitted]
f0ef1f91cb22147f3f2c.js 1 KiB 4 [emitted]
Entrypoint main = 39c759b5ad724be84491.js
Entrypoint main = 22cae813c6150b7254dd.js
chunk {0} 2736cf9d79233cd0a9b6.js 1.76 KiB <{10}> ={2}= ={3}= ={4}= ={5}= ={7}= [recorded] aggressive splitted
> ./b ./d ./e ./f ./g [11] ./index.js 5:0-44
> ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72
@ -115,7 +115,7 @@ chunk {8} ee043b525cd899e33ec0.js 1.76 KiB <{10}> ={4}= [recorded] aggressive
chunk {9} 01a8254701931adbf278.js 899 bytes <{10}>
> ./a [11] ./index.js 1:0-16
[10] ./a.js 899 bytes {9} [built]
chunk {10} 39c759b5ad724be84491.js (main) 248 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< >{8}< >{9}< >{11}< [entry] [rendered]
chunk {10} 22cae813c6150b7254dd.js (main) 248 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< >{8}< >{9}< >{11}< [entry] [rendered]
> ./index main
[11] ./index.js 248 bytes {10} [built]
chunk {11} ba9fedb7aa0c69201639.js 1.76 KiB <{10}> ={2}= ={6}= [rendered] [recorded] aggressive splitted
@ -467,7 +467,7 @@ Child all:
`;
exports[`StatsTestCases should print correct stats for chunk-module-id-range 1`] = `
"Hash: 990f7c8116eb5c738714
"Hash: f9bc99296a5830cfa2dc
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -492,7 +492,7 @@ chunk {1} main1.js (main1) 136 bytes [entry] [rendered]
`;
exports[`StatsTestCases should print correct stats for chunks 1`] = `
"Hash: 9557124dd322802a4580
"Hash: 7e9169c0d292752d420d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -530,7 +530,7 @@ chunk {3} 3.bundle.js 44 bytes <{2}> [rendered]
`;
exports[`StatsTestCases should print correct stats for chunks-development 1`] = `
"Hash: b4fe1675f45da688fe4c
"Hash: 45b6636dfd64ed682f3c
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -581,7 +581,7 @@ chunk {3} 3.bundle.js (c) 98 bytes <{1}> <{2}> >{1}< >{2}< [rendered]
`;
exports[`StatsTestCases should print correct stats for color-disabled 1`] = `
"Hash: 703cfa0463cb3c00055c
"Hash: ce708fa2ffe5495ae4aa
Time: Xms
Built at: Thu Jan 01 1970 <CLR=BOLD>00:00:00</CLR> GMT
Asset Size Chunks Chunk Names
@ -591,7 +591,7 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for color-enabled 1`] = `
"Hash: <CLR=BOLD>703cfa0463cb3c00055c</CLR>
"Hash: <CLR=BOLD>ce708fa2ffe5495ae4aa</CLR>
Time: <CLR=BOLD>X</CLR>ms
Built at: Thu Jan 01 1970 <CLR=BOLD>00:00:00</CLR> GMT
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=39,BOLD><CLR=22><CLR=BOLD>Chunk Names</CLR>
@ -601,7 +601,7 @@ Entrypoint <CLR=BOLD>main</CLR> = <CLR=32,BOLD>main.js</CLR>
`;
exports[`StatsTestCases should print correct stats for color-enabled-custom 1`] = `
"Hash: <CLR=BOLD>703cfa0463cb3c00055c</CLR>
"Hash: <CLR=BOLD>ce708fa2ffe5495ae4aa</CLR>
Time: <CLR=BOLD>X</CLR>ms
Built at: Thu Jan 01 1970 <CLR=BOLD>00:00:00</CLR> GMT
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=39,BOLD><CLR=22><CLR=BOLD>Chunk Names</CLR>
@ -611,7 +611,7 @@ Entrypoint <CLR=BOLD>main</CLR> = <CLR=32>main.js</CLR>
`;
exports[`StatsTestCases should print correct stats for commons-chunk-min-size-0 1`] = `
"Hash: 35dc5b4d12d551e4af91
"Hash: 59f2dff45dde52261e7b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -628,7 +628,7 @@ Entrypoint entry-1 = vendor-1~entry-1.js entry-1.js
`;
exports[`StatsTestCases should print correct stats for commons-chunk-min-size-Infinity 1`] = `
"Hash: 5dd30065e34a02ecc6a8
"Hash: 26df0a89882e1be92d41
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -645,9 +645,9 @@ Entrypoint entry-1 = vendor-1.js entry-1.js
`;
exports[`StatsTestCases should print correct stats for commons-plugin-issue-4980 1`] = `
"Hash: 760797eeb36384012b98d0eaa0f14a0c0841d8c3
"Hash: 6c4a9fc97a9493ea89e0596f1dadc3e618bde6c6
Child
Hash: 760797eeb36384012b98
Hash: 6c4a9fc97a9493ea89e0
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -660,7 +660,7 @@ Child
| ./submodule-b.js 59 bytes [built]
| ./entry-1.js 67 bytes [built]
Child
Hash: d0eaa0f14a0c0841d8c3
Hash: 596f1dadc3e618bde6c6
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -692,9 +692,9 @@ exports[`StatsTestCases should print correct stats for concat-and-sideeffects 1`
`;
exports[`StatsTestCases should print correct stats for define-plugin 1`] = `
"Hash: d137985c3dc6e1d36484ae900f5ab7a1699250503bca3a1a2ed59b322b45
"Hash: fd778314cb15a143f15b0345e3914a9783f4818519b3d74f68a26d73f53e
Child
Hash: d137985c3dc6e1d36484
Hash: fd778314cb15a143f15b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -702,7 +702,7 @@ Child
Entrypoint main = main.js
[0] ./index.js 24 bytes {0} [built]
Child
Hash: ae900f5ab7a169925050
Hash: 0345e3914a9783f48185
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -710,7 +710,7 @@ Child
Entrypoint main = main.js
[0] ./index.js 24 bytes {0} [built]
Child
Hash: 3bca3a1a2ed59b322b45
Hash: 19b3d74f68a26d73f53e
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -720,7 +720,7 @@ Child
`;
exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624 1`] = `
"Hash: b103d43f856eb3a1c997
"Hash: a7b80b9bc5b1f3e450db
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -730,7 +730,7 @@ Entrypoint main = bundle.js
`;
exports[`StatsTestCases should print correct stats for dll-reference-plugin-issue-7624-error 1`] = `
"Hash: 4a2b1eec4a4806b9dc12
"Hash: cec8c3c0d542c8fb2820
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -743,7 +743,7 @@ Unexpected end of JSON input while parsing near ''"
`;
exports[`StatsTestCases should print correct stats for exclude-with-loader 1`] = `
"Hash: 83fac664b3322d053bd8
"Hash: 678de6ada6423fea43da
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -756,7 +756,7 @@ Entrypoint main = bundle.js
`;
exports[`StatsTestCases should print correct stats for external 1`] = `
"Hash: dbb8d2da46449d2bfe85
"Hash: 857fd27370e02ebe2ec7
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -767,9 +767,9 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for filter-warnings 1`] = `
"Hash: 88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d88aed3fe1afcb496898d
"Hash: 70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d70b5eb88941464457a7d
Child undefined:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -798,49 +798,49 @@ Child undefined:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child UglifyJs:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child /UglifyJs/:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child warnings => true:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child [UglifyJs]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child [/UglifyJs/]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child [warnings => true]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
bundle.js 2.84 KiB 0 [emitted] main
Entrypoint main = bundle.js
Child should not filter:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -869,7 +869,7 @@ Child should not filter:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child /should not filter/:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -898,7 +898,7 @@ Child /should not filter/:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child warnings => false:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -927,7 +927,7 @@ Child warnings => false:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child [should not filter]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -956,7 +956,7 @@ Child [should not filter]:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child [/should not filter/]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -985,7 +985,7 @@ Child [/should not filter/]:
WARNING in UglifyJs Plugin: Dropping unused function someRemoteUnUsedFunction5 [./a.js:7,0] in bundle.js
Child [warnings => false]:
Hash: 88aed3fe1afcb496898d
Hash: 70b5eb88941464457a7d
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1071,7 +1071,7 @@ chunk {5} b.js (b) 179 bytes <{2}> >{4}< [rendered]
`;
exports[`StatsTestCases should print correct stats for import-context-filter 1`] = `
"Hash: 00093e0065918fc6beca
"Hash: c702ae26ba81472b32e2
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1088,7 +1088,7 @@ Entrypoint entry = entry.js
`;
exports[`StatsTestCases should print correct stats for import-weak 1`] = `
"Hash: 020bd304e43a2b2f22bb
"Hash: 743d85ad4b2a75a8a1fe
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1123,31 +1123,31 @@ Compilation error while processing magic comment(-s): /* webpackPrefetch: nope *
`;
exports[`StatsTestCases should print correct stats for issue-7577 1`] = `
"Hash: 85309305fa40259fb1ebf352e4f1f8962bb07b321ca1927373f1238ea2a0
"Hash: 90d3547ee72efa6dbcc0911d2dc5fcfb39a569f93d24722516f5a8ae39fd
Child
Hash: 85309305fa40259fb1eb
Hash: 90d3547ee72efa6dbcc0
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
a-all~main-0034bb84916bcade4cc7.js 154 bytes all~main [emitted] all~main
a-main-9407860001b0bf9acb00.js 108 bytes main [emitted] main
a-runtime~main-aa303e56a90b4559481f.js 6.05 KiB runtime~main [emitted] runtime~main
Entrypoint main = a-runtime~main-aa303e56a90b4559481f.js a-all~main-0034bb84916bcade4cc7.js a-main-9407860001b0bf9acb00.js
a-runtime~main-7b4918090cfe19b7778a.js 6.05 KiB runtime~main [emitted] runtime~main
Entrypoint main = a-runtime~main-7b4918090cfe19b7778a.js a-all~main-0034bb84916bcade4cc7.js a-main-9407860001b0bf9acb00.js
[0] ./a.js 18 bytes {all~main} [built]
Child
Hash: f352e4f1f8962bb07b32
Hash: 911d2dc5fcfb39a569f9
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
b-all~main-8fc824ada14cfa87179b.js 459 bytes all~main [emitted] all~main
b-main-9b8bde6297868240e02c.js 123 bytes main [emitted] main
b-runtime~main-937400e6bee421a9af47.js 6.05 KiB runtime~main [emitted] runtime~main
b-runtime~main-7b4918090cfe19b7778a.js 6.05 KiB runtime~main [emitted] runtime~main
b-vendors~main-13c0fc262f08dee65613.js 172 bytes vendors~main [emitted] vendors~main
Entrypoint main = b-runtime~main-937400e6bee421a9af47.js b-vendors~main-13c0fc262f08dee65613.js b-all~main-8fc824ada14cfa87179b.js b-main-9b8bde6297868240e02c.js
Entrypoint main = b-runtime~main-7b4918090cfe19b7778a.js b-vendors~main-13c0fc262f08dee65613.js b-all~main-8fc824ada14cfa87179b.js b-main-9b8bde6297868240e02c.js
[0] ./b.js 17 bytes {all~main} [built]
[1] ./node_modules/vendor.js 23 bytes {vendors~main} [built]
Child
Hash: 1ca1927373f1238ea2a0
Hash: 3d24722516f5a8ae39fd
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1155,17 +1155,17 @@ Child
c-b0-08b1c51075eefabb49b0.js 462 bytes b0 [emitted]
c-b1-b4adffe55c7947bb635f.js 156 bytes b1 [emitted]
c-main-d86aa80e7330f9a4e0c2.js 120 bytes main [emitted] main
c-runtime~main-73bd859c306321fd5624.js 8.84 KiB runtime~main [emitted] runtime~main
Entrypoint main = c-runtime~main-73bd859c306321fd5624.js c-all~main-3f17001edc510ffa13b4.js c-main-d86aa80e7330f9a4e0c2.js (prefetch: c-b1-b4adffe55c7947bb635f.js c-b0-08b1c51075eefabb49b0.js)
c-runtime~main-31bf128e90b5a01a6a37.js 8.84 KiB runtime~main [emitted] runtime~main
Entrypoint main = c-runtime~main-31bf128e90b5a01a6a37.js c-all~main-3f17001edc510ffa13b4.js c-main-d86aa80e7330f9a4e0c2.js (prefetch: c-b1-b4adffe55c7947bb635f.js c-b0-08b1c51075eefabb49b0.js)
[0] ./c.js 61 bytes {all~main} [built]
[1] ./b.js 17 bytes {b0} [built]
[2] ./node_modules/vendor.js 23 bytes {b1} [built]"
`;
exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin 1`] = `
"Hash: 107c243d2f4948779db6faef5739a00d90343e7d46e1640f099b398451adcc962a224e99bbf022c3
"Hash: 05e860caf71fe3b2d19aee833b1335bf5cefe6d3074451f01c7cf41c58065d34f2c917d77c3f99ff
Child 1 chunks:
Hash: 107c243d2f4948779db6
Hash: 05e860caf71fe3b2d19a
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1179,7 +1179,7 @@ Child 1 chunks:
[4] ./d.js 22 bytes {0} [built]
[5] ./e.js 22 bytes {0} [built]
Child 2 chunks:
Hash: faef5739a00d90343e7d
Hash: ee833b1335bf5cefe6d3
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1195,7 +1195,7 @@ Child 2 chunks:
[4] ./d.js 22 bytes {1} [built]
[5] ./e.js 22 bytes {1} [built]
Child 3 chunks:
Hash: 46e1640f099b398451ad
Hash: 074451f01c7cf41c5806
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1213,7 +1213,7 @@ Child 3 chunks:
[2] ./b.js 22 bytes {2} [built]
[5] ./e.js 22 bytes {2} [built]
Child 4 chunks:
Hash: cc962a224e99bbf022c3
Hash: 5d34f2c917d77c3f99ff
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1235,7 +1235,7 @@ Child 4 chunks:
`;
exports[`StatsTestCases should print correct stats for max-modules 1`] = `
"Hash: e8b18f1cf5f95cf5a285
"Hash: ea77916a686e6ff33fde
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1265,7 +1265,7 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for max-modules-default 1`] = `
"Hash: e8b18f1cf5f95cf5a285
"Hash: ea77916a686e6ff33fde
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1290,7 +1290,7 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for module-assets 1`] = `
"Hash: 813c8fe44f5226024db2
"Hash: db7cfbdd82be5e125ed1
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint main = main.js
@ -1499,7 +1499,7 @@ Child
`;
exports[`StatsTestCases should print correct stats for named-chunks-plugin 1`] = `
"Hash: 65cd83ae5b2980359572
"Hash: bcc5524fabd0531ea7ec
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1513,7 +1513,7 @@ Entrypoint entry = vendor.js entry.js
`;
exports[`StatsTestCases should print correct stats for named-chunks-plugin-async 1`] = `
"Hash: 421934d6424eb810e1a8
"Hash: a454fdfb8b7e03bca566
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1527,7 +1527,7 @@ Entrypoint entry = entry.js
`;
exports[`StatsTestCases should print correct stats for no-emit-on-errors-plugin-with-child-error 1`] = `
"Hash: 0d1fa1c56ef4d2b16cdd
"Hash: f4c3d60da082a270faa2
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1549,7 +1549,7 @@ Child child:
`;
exports[`StatsTestCases should print correct stats for optimize-chunks 1`] = `
"Hash: 2c343cbbb1c034dcc13d
"Hash: 70072d2a8b68e26a566f
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1620,9 +1620,9 @@ You may need an appropriate loader to handle this file type.
`;
exports[`StatsTestCases should print correct stats for performance-different-mode-and-target 1`] = `
"Hash: 27afa870ea890dcb8d211cf632c77c707c36d94b810d87a0ecb3d46fb6472b646a1947dce27d2c2ca90600658140ce9be0af7e07124a239ee933822c55b9d2204250eb77a29a
"Hash: 14c687fa94e5597c25efbddc960367fc5c3136a64114eba737a6f1aade86c2f01aa8141bc3a117844617dac22b3202732c60c2f01aa8141bc3a117844114eba737a6f1aade86
Child
Hash: 27afa870ea890dcb8d21
Hash: 14c687fa94e5597c25ef
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1645,7 +1645,7 @@ Child
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child
Hash: 1cf632c77c707c36d94b
Hash: bddc960367fc5c3136a6
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1668,7 +1668,7 @@ Child
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child
Hash: 810d87a0ecb3d46fb647
Hash: 4114eba737a6f1aade86
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1676,7 +1676,7 @@ Child
Entrypoint main = no-warning.pro-node.js
[0] ./index.js 293 KiB {0} [built]
Child
Hash: 2b646a1947dce27d2c2c
Hash: c2f01aa8141bc3a11784
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1684,7 +1684,7 @@ Child
Entrypoint main = no-warning.dev-web.js
[./index.js] 293 KiB {main} [built]
Child
Hash: a90600658140ce9be0af
Hash: 4617dac22b3202732c60
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1692,7 +1692,7 @@ Child
Entrypoint main = no-warning.dev-node.js
[./index.js] 293 KiB {main} [built]
Child
Hash: 7e07124a239ee933822c
Hash: c2f01aa8141bc3a11784
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1700,7 +1700,7 @@ Child
Entrypoint main [big] = no-warning.dev-web-with-limit-set.js
[./index.js] 293 KiB {main} [built]
Child
Hash: 55b9d2204250eb77a29a
Hash: 4114eba737a6f1aade86
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1901,7 +1901,7 @@ chunk {6} inner2.js (inner2) 0 bytes <{1}> [rendered]"
`;
exports[`StatsTestCases should print correct stats for preset-detailed 1`] = `
"Hash: 3b3a7ec8ed8bc5030c9b
"Hash: 9c6160ec4fc29981327f
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -1959,7 +1959,7 @@ exports[`StatsTestCases should print correct stats for preset-none-array 1`] = `
exports[`StatsTestCases should print correct stats for preset-none-error 1`] = `""`;
exports[`StatsTestCases should print correct stats for preset-normal 1`] = `
"Hash: 3b3a7ec8ed8bc5030c9b
"Hash: 9c6160ec4fc29981327f
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2037,7 +2037,7 @@ Entrypoints:
`;
exports[`StatsTestCases should print correct stats for preset-verbose 1`] = `
"Hash: 3b3a7ec8ed8bc5030c9b
"Hash: 9c6160ec4fc29981327f
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2081,7 +2081,7 @@ chunk {3} 3.js 44 bytes <{2}> [rendered]
`;
exports[`StatsTestCases should print correct stats for resolve-plugin-context 1`] = `
"Hash: 4ca4f81607549b34ea70
"Hash: f4f4d8286bfbdc8b84ef
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2095,7 +2095,7 @@ Entrypoint main = bundle.js
`;
exports[`StatsTestCases should print correct stats for reverse-sort-modules 1`] = `
"Hash: e8b18f1cf5f95cf5a285
"Hash: ea77916a686e6ff33fde
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2165,7 +2165,7 @@ Entrypoint e2 = runtime.js e2.js"
`;
exports[`StatsTestCases should print correct stats for scope-hoisting-bailouts 1`] = `
"Hash: bbbfd5c784018e47a55f
"Hash: ad0f3aadc048885f764c
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint index = index.js
@ -2196,9 +2196,9 @@ Entrypoint entry = entry.js
`;
exports[`StatsTestCases should print correct stats for scope-hoisting-multi 1`] = `
"Hash: c3cf9bd13567bea367d761adc12d7f6db4dfb442
"Hash: 9c5956258e368cde2cabd2d0b8494de69a915621
Child
Hash: c3cf9bd13567bea367d7
Hash: 9c5956258e368cde2cab
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint first = vendor.js first.js
@ -2215,7 +2215,7 @@ Child
[9] ./lazy_shared.js 31 bytes {5} [built]
[10] ./lazy_second.js 55 bytes {4} [built]
Child
Hash: 61adc12d7f6db4dfb442
Hash: d2d0b8494de69a915621
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint first = vendor.js first.js
@ -2245,7 +2245,7 @@ Child
`;
exports[`StatsTestCases should print correct stats for side-effects-issue-7428 1`] = `
"Hash: 140a76a29429201c7b3e
"Hash: c9825c8a11d5ea0724ca
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2293,7 +2293,7 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for side-effects-simple-unused 1`] = `
"Hash: a50c3cff7b2571289626
"Hash: e61a1b44b5d5ff642f09
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2324,7 +2324,7 @@ Entrypoint main = main.js
`;
exports[`StatsTestCases should print correct stats for simple 1`] = `
"Hash: 0d863bcfaf259a5eba10
"Hash: fe175af6092f8c94dba0
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -2334,7 +2334,7 @@ Entrypoint main = bundle.js
`;
exports[`StatsTestCases should print correct stats for simple-more-info 1`] = `
"Hash: 64de01465a28fb4267d8
"Hash: 78f8136e4695ed65147b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -3073,7 +3073,7 @@ chunk {4} default/async-c.js (async-c) 48 bytes <{0}> ={2}= [rendered]
`;
exports[`StatsTestCases should print correct stats for tree-shaking 1`] = `
"Hash: 02ba657e3d1d895b58cc
"Hash: 4b6adb1e2053794f2dd5
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
@ -3110,7 +3110,7 @@ Entrypoint main = bundle.js
`;
exports[`StatsTestCases should print correct stats for warnings-uglifyjs 1`] = `
"Hash: 3663bd94f10ad20afb9e
"Hash: fa6b3521fcdefe0a2ec8
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names