diff --git a/.travis.yml b/.travis.yml
index 184cf5ee220..739b701de21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,10 @@ matrix:
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
stage: advanced
+ - os: linux
+ node_js: "10"
+ env: NO_WATCH_TESTS=1 ALTERNATIVE_SORT=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
+ stage: versions
- os: osx
node_js: "10"
env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration
diff --git a/lib/Chunk.js b/lib/Chunk.js
index e9bcb709ee2..80dc170b729 100644
--- a/lib/Chunk.js
+++ b/lib/Chunk.js
@@ -182,12 +182,13 @@ class Chunk {
*/
hasRuntime() {
for (const chunkGroup of this._groups) {
- // We only need to check the first one
- return (
+ if (
chunkGroup.isInitial() &&
chunkGroup instanceof Entrypoint &&
chunkGroup.getRuntimeChunk() === this
- );
+ ) {
+ return true;
+ }
}
return false;
}
@@ -313,6 +314,10 @@ class Chunk {
* @returns {-1|0|1} this is a comparitor function like sort and returns -1, 0, or 1 based on sort order
*/
compareTo(otherChunk) {
+ if (this.name && !otherChunk.name) return -1;
+ if (!this.name && otherChunk.name) return 1;
+ if (this.name < otherChunk.name) return -1;
+ if (this.name > otherChunk.name) return 1;
if (this._modules.size > otherChunk._modules.size) return -1;
if (this._modules.size < otherChunk._modules.size) return 1;
this._modules.sort();
@@ -390,6 +395,10 @@ class Chunk {
}
otherChunk._modules.clear();
+ if (otherChunk.entryModule) {
+ this.entryModule = otherChunk.entryModule;
+ }
+
for (const chunkGroup of otherChunk._groups) {
chunkGroup.replaceChunk(otherChunk, this);
this.addGroup(chunkGroup);
@@ -405,6 +414,8 @@ class Chunk {
} else {
this.name = this.name < otherChunk.name ? this.name : otherChunk.name;
}
+ } else if (otherChunk.name) {
+ this.name = otherChunk.name;
}
return true;
diff --git a/lib/Compilation.js b/lib/Compilation.js
index 5f64119a8bc..0a78f87080b 100644
--- a/lib/Compilation.js
+++ b/lib/Compilation.js
@@ -108,10 +108,11 @@ const compareLocations = require("./compareLocations");
* @returns {-1|0|1} sort value
*/
const byId = (a, b) => {
- if (a.id !== null && b.id !== null) {
- if (a.id < b.id) return -1;
- if (a.id > b.id) return 1;
+ if (typeof a.id !== typeof b.id) {
+ return typeof a.id < typeof b.id ? -1 : 1;
}
+ if (a.id < b.id) return -1;
+ if (a.id > b.id) return 1;
return 0;
};
@@ -121,6 +122,9 @@ const byId = (a, b) => {
* @returns {-1|0|1} sort value
*/
const byIdOrIdentifier = (a, b) => {
+ if (typeof a.id !== typeof b.id) {
+ return typeof a.id < typeof b.id ? -1 : 1;
+ }
if (a.id < b.id) return -1;
if (a.id > b.id) return 1;
const identA = a.identifier();
@@ -645,7 +649,15 @@ class Compilation extends Tapable {
war.dependencies = dependencies;
this.warnings.push(war);
}
- module.dependencies.sort((a, b) => compareLocations(a.loc, b.loc));
+ const originalMap = module.dependencies.reduce((map, v, i) => {
+ map.set(v, i);
+ return map;
+ }, new Map());
+ module.dependencies.sort((a, b) => {
+ const cmp = compareLocations(a.loc, b.loc);
+ if (cmp) return cmp;
+ return originalMap.get(a) - originalMap.get(b);
+ });
if (error) {
this.hooks.failedModule.call(module, error);
return callback(error);
@@ -2127,6 +2139,8 @@ class Compilation extends Tapable {
for (let indexChunk = 0; indexChunk < chunks.length; indexChunk++) {
chunks[indexChunk].sortItems();
}
+
+ chunks.sort((a, b) => a.compareTo(b));
}
sortItemsWithChunkIds() {
diff --git a/lib/Entrypoint.js b/lib/Entrypoint.js
index c67ff44ed7c..c1389a4f7d1 100644
--- a/lib/Entrypoint.js
+++ b/lib/Entrypoint.js
@@ -49,6 +49,16 @@ class Entrypoint extends ChunkGroup {
getRuntimeChunk() {
return this.runtimeChunk || this.chunks[0];
}
+
+ /**
+ * @param {Chunk} oldChunk chunk to be replaced
+ * @param {Chunk} newChunk New chunkt that will be replaced
+ * @returns {boolean} rerturns true for
+ */
+ replaceChunk(oldChunk, newChunk) {
+ if (this.runtimeChunk === oldChunk) this.runtimeChunk = newChunk;
+ return super.replaceChunk(oldChunk, newChunk);
+ }
}
module.exports = Entrypoint;
diff --git a/lib/Stats.js b/lib/Stats.js
index fd7902bee79..e9f13fd8993 100644
--- a/lib/Stats.js
+++ b/lib/Stats.js
@@ -17,6 +17,9 @@ const optionsOrFallback = (...args) => {
};
const compareId = (a, b) => {
+ if (typeof a !== typeof b) {
+ return typeof a < typeof b ? -1 : 1;
+ }
if (a < b) return -1;
if (a > b) return 1;
return 0;
@@ -250,21 +253,27 @@ class Stats {
return a[fieldKey] < b[fieldKey] ? -1 : 1;
};
- const sortByField = field => (a, b) => {
- if (!field) {
- return 0;
- }
-
- const fieldKey = this.normalizeFieldKey(field);
-
- // if a field is prefixed with a "!" the sort is reversed!
- const sortIsRegular = this.sortOrderRegular(field);
-
- return sortByFieldAndOrder(
- fieldKey,
- sortIsRegular ? a : b,
- sortIsRegular ? b : a
- );
+ const sortByField = (field, originalArray) => {
+ const originalMap = originalArray.reduce((map, v, i) => {
+ map.set(v, i);
+ return map;
+ }, new Map());
+ return (a, b) => {
+ if (field) {
+ const fieldKey = this.normalizeFieldKey(field);
+
+ // if a field is prefixed with a "!" the sort is reversed!
+ const sortIsRegular = this.sortOrderRegular(field);
+
+ const cmp = sortByFieldAndOrder(
+ fieldKey,
+ sortIsRegular ? a : b,
+ sortIsRegular ? b : a
+ );
+ if (cmp) return cmp;
+ }
+ return originalMap.get(a) - originalMap.get(b);
+ };
};
const formatError = e => {
@@ -380,7 +389,7 @@ class Stats {
}
if (showAssets) {
const assetsByFile = {};
- const compilationAssets = Object.keys(compilation.assets);
+ const compilationAssets = Object.keys(compilation.assets).sort();
obj.assetsByChunkName = {};
obj.assets = compilationAssets
.map(asset => {
@@ -421,7 +430,7 @@ class Stats {
}
}
}
- obj.assets.sort(sortByField(sortAssets));
+ obj.assets.sort(sortByField(sortAssets, obj.assets));
}
const fnChunkGroup = groupMap => {
@@ -589,11 +598,11 @@ class Stats {
if (module.modules) {
const modules = module.modules;
obj.modules = modules
- .sort(sortByField("depth"))
+ .sort(sortByField("depth", modules))
.filter(createModuleFilter())
.map(fnModule);
obj.filteredModules = modules.length - obj.modules.length;
- obj.modules.sort(sortByField(sortModules));
+ obj.modules.sort(sortByField(sortModules, obj.modules));
}
}
if (showSource && module._source) {
@@ -639,13 +648,14 @@ class Stats {
childrenByOrder: childIdByOrder
};
if (showChunkModules) {
- obj.modules = chunk
- .getModules()
- .sort(sortByField("depth"))
+ const modules = chunk.getModules();
+ obj.modules = modules
+ .slice()
+ .sort(sortByField("depth", modules))
.filter(createModuleFilter())
.map(fnModule);
obj.filteredModules = chunk.getNumberOfModules() - obj.modules.length;
- obj.modules.sort(sortByField(sortModules));
+ obj.modules.sort(sortByField(sortModules, obj.modules));
}
if (showChunkOrigins) {
obj.origins = Array.from(chunk.groupsIterable, g => g.origins)
@@ -662,40 +672,27 @@ class Stats {
reasons: origin.reasons || []
}))
.sort((a, b) => {
- if (
- typeof a.moduleId === "number" &&
- typeof b.moduleId !== "number"
- )
- return 1;
- if (
- typeof a.moduleId !== "number" &&
- typeof b.moduleId === "number"
- )
- return -1;
- if (
- typeof a.moduleId === "number" &&
- typeof b.moduleId === "number"
- ) {
- const diffId = a.moduleId - b.moduleId;
- if (diffId !== 0) return diffId;
- }
- if (a.loc < b.loc) return -1;
- if (a.loc > b.loc) return 1;
+ const cmp1 = compareId(a.moduleId, b.moduleId);
+ if (cmp1) return cmp1;
+ const cmp2 = compareId(a.loc, b.loc);
+ if (cmp2) return cmp2;
+ const cmp3 = compareId(a.request, b.request);
+ if (cmp3) return cmp3;
return 0;
});
}
return obj;
});
- obj.chunks.sort(sortByField(sortChunks));
+ obj.chunks.sort(sortByField(sortChunks, obj.chunks));
}
if (showModules) {
obj.modules = compilation.modules
.slice()
- .sort(sortByField("depth"))
+ .sort(sortByField("depth", compilation.modules))
.filter(createModuleFilter())
.map(fnModule);
obj.filteredModules = compilation.modules.length - obj.modules.length;
- obj.modules.sort(sortByField(sortModules));
+ obj.modules.sort(sortByField(sortModules, obj.modules));
}
if (showChildren) {
obj.children = compilation.children.map((child, idx) => {
diff --git a/lib/optimize/LimitChunkCountPlugin.js b/lib/optimize/LimitChunkCountPlugin.js
index a271191bf7f..0f8bd6dcbe5 100644
--- a/lib/optimize/LimitChunkCountPlugin.js
+++ b/lib/optimize/LimitChunkCountPlugin.js
@@ -30,11 +30,13 @@ class LimitChunkCountPlugin {
if (maxChunks < 1) return;
if (chunks.length <= maxChunks) return;
- const sortedExtendedPairCombinations = chunks
+ const orderedChunks = chunks.slice().sort((a, b) => a.compareTo(b));
+
+ const sortedExtendedPairCombinations = orderedChunks
.reduce((combinations, a, idx) => {
// create combination pairs
for (let i = 0; i < idx; i++) {
- const b = chunks[i];
+ const b = orderedChunks[i];
combinations.push([b, a]);
}
return combinations;
@@ -54,9 +56,13 @@ class LimitChunkCountPlugin {
.sort((a, b) => {
// sadly javascript does an inplace sort here
// sort them by size
- const diff = b[0] - a[0];
- if (diff !== 0) return diff;
- return a[1] - b[1];
+ const diff1 = b[0] - a[0];
+ if (diff1 !== 0) return diff1;
+ const diff2 = a[1] - b[1];
+ if (diff2 !== 0) return diff2;
+ const diff3 = a[2].compareTo(b[2]);
+ if (diff3 !== 0) return diff3;
+ return a[3].compareTo(b[3]);
});
const pair = sortedExtendedPairCombinations[0];
diff --git a/test/__snapshots__/StatsTestCases.test.js.snap b/test/__snapshots__/StatsTestCases.test.js.snap
index 324197d47b6..200dd16108b 100644
--- a/test/__snapshots__/StatsTestCases.test.js.snap
+++ b/test/__snapshots__/StatsTestCases.test.js.snap
@@ -7,10 +7,10 @@ Child fitting:
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
- c20f80d2394cac12b99b.js 11.1 KiB 1 [emitted]
33966214360bbbb31383.js 1.94 KiB 2 [emitted]
445d4c6a1d7381d6cb2c.js 1.94 KiB 3 [emitted]
+ c20f80d2394cac12b99b.js 11.1 KiB 1 [emitted]
+ d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
Entrypoint main = 33966214360bbbb31383.js 445d4c6a1d7381d6cb2c.js c20f80d2394cac12b99b.js
chunk {0} d4b551c6319035df2898.js 916 bytes <{1}> <{2}> <{3}>
> ./g [4] ./index.js 7:0-13
@@ -33,10 +33,10 @@ Child content-change:
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
- c20f80d2394cac12b99b.js 11.1 KiB 1 [emitted]
33966214360bbbb31383.js 1.94 KiB 2 [emitted]
445d4c6a1d7381d6cb2c.js 1.94 KiB 3 [emitted]
+ c20f80d2394cac12b99b.js 11.1 KiB 1 [emitted]
+ d4b551c6319035df2898.js 1.05 KiB 0 [emitted]
Entrypoint main = 33966214360bbbb31383.js 445d4c6a1d7381d6cb2c.js c20f80d2394cac12b99b.js
chunk {0} d4b551c6319035df2898.js 916 bytes <{1}> <{2}> <{3}>
> ./g [4] ./index.js 7:0-13
@@ -57,71 +57,71 @@ Child content-change:
`;
exports[`StatsTestCases should print correct stats for aggressive-splitting-on-demand 1`] = `
-"Hash: 70c362658281742abe1e
+"Hash: 989c3993dff4f516e2dc
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
-a2fea791e74e99836233.js 1.94 KiB 6 [emitted]
+01a8254701931adbf278.js 1.01 KiB 9 [emitted]
+07830cd8072d83cdc6ad.js 1.01 KiB 10 [emitted]
2736cf9d79233cd0a9b6.js 1.93 KiB 0 [emitted]
-7f83e5c2f4e52435dd2c.js 1.96 KiB 2 [emitted]
-43c1ac24102c075ecb2d.js 1.94 KiB 3, 1 [emitted]
-3d7e118b7fada40e804e.js 9.7 KiB 4 [emitted] main
-6a80fd33f274d3117a32.js 1.01 KiB 5 [emitted]
29de52df747b400f6177.js 1 KiB 1 [emitted]
-a9463ba36646aa40b97c.js 1.94 KiB 7, 9 [emitted]
+41be79832883258c21e6.js 1.94 KiB 6 [emitted]
+43c1ac24102c075ecb2d.js 1.94 KiB 3, 1 [emitted]
5bc7f208cd99a83b4e33.js 1.94 KiB 8 [emitted]
-819c28704a84308cd0f6.js 1 KiB 9 [emitted]
-5ea68201264e1d2b28e9.js 1.94 KiB 10 [emitted]
+7f83e5c2f4e52435dd2c.js 1.96 KiB 2 [emitted]
ba9fedb7aa0c69201639.js 1.94 KiB 11 [emitted]
-Entrypoint main = 3d7e118b7fada40e804e.js
-chunk {0} 2736cf9d79233cd0a9b6.js 1.76 KiB <{4}> ={1}= ={2}= ={3}= ={9}= ={10}= [recorded] aggressive splitted
+d40ae25f5e7ef09d2e24.js 1.94 KiB 7, 10 [emitted]
+e5fb899955fa03a8053b.js 1.94 KiB 5 [emitted]
+f5295eac556c762e4f11.js 9.7 KiB 4 [emitted] main
+Entrypoint main = f5295eac556c762e4f11.js
+chunk {0} 2736cf9d79233cd0a9b6.js 1.76 KiB <{4}> ={1}= ={2}= ={3}= ={6}= ={10}= [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
- [0] ./b.js 899 bytes {0} {6} [built]
+ [0] ./b.js 899 bytes {0} {5} [built]
[1] ./d.js 899 bytes {0} {8} [built]
chunk {1} 29de52df747b400f6177.js 899 bytes <{4}> ={0}= ={2}= ={8}=
> ./c ./d ./e [11] ./index.js 3:0-30
> ./b ./d ./e ./f ./g [11] ./index.js 5:0-44
[2] ./e.js 899 bytes {1} {3} [built]
-chunk {2} 7f83e5c2f4e52435dd2c.js 1.76 KiB <{4}> ={0}= ={1}= ={3}= ={7}= ={9}= ={10}= ={11}= [recorded] aggressive splitted
+chunk {2} 7f83e5c2f4e52435dd2c.js 1.76 KiB <{4}> ={0}= ={1}= ={3}= ={6}= ={7}= ={10}= ={11}= [recorded] aggressive splitted
> ./f ./g ./h ./i ./j ./k [11] ./index.js 4:0-51
> ./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
[3] ./f.js 899 bytes {2} [built]
[4] ./g.js 901 bytes {2} [built]
-chunk {3} 43c1ac24102c075ecb2d.js 1.76 KiB <{4}> ={0}= ={2}= ={9}= ={10}= [rendered] [recorded] aggressive splitted
+chunk {3} 43c1ac24102c075ecb2d.js 1.76 KiB <{4}> ={0}= ={2}= ={6}= ={10}= [rendered] [recorded] aggressive splitted
> ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72
[2] ./e.js 899 bytes {1} {3} [built]
[6] ./h.js 899 bytes {3} {11} [built]
-chunk {4} 3d7e118b7fada40e804e.js (main) 248 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{8}< >{9}< >{10}< >{11}< [entry] [rendered]
+chunk {4} f5295eac556c762e4f11.js (main) 248 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{8}< >{9}< >{10}< >{11}< [entry] [rendered]
> ./index main
[11] ./index.js 248 bytes {4} [built]
-chunk {5} 6a80fd33f274d3117a32.js 899 bytes <{4}>
- > ./a [11] ./index.js 1:0-16
- [10] ./a.js 899 bytes {5} [built]
-chunk {6} a2fea791e74e99836233.js 1.76 KiB <{4}>
+chunk {5} e5fb899955fa03a8053b.js 1.76 KiB <{4}>
> ./b ./c [11] ./index.js 2:0-23
- [0] ./b.js 899 bytes {0} {6} [built]
- [5] ./c.js 899 bytes {6} {8} [built]
-chunk {7} a9463ba36646aa40b97c.js 1.76 KiB <{4}> ={2}= ={11}=
+ [0] ./b.js 899 bytes {0} {5} [built]
+ [5] ./c.js 899 bytes {5} {8} [built]
+chunk {6} 41be79832883258c21e6.js 1.76 KiB <{4}> ={0}= ={2}= ={3}= ={10}= [rendered] [recorded] aggressive splitted
+ > ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72
+ [7] ./i.js 899 bytes {6} {11} [built]
+ [8] ./j.js 901 bytes {6} {7} [built]
+chunk {7} d40ae25f5e7ef09d2e24.js 1.76 KiB <{4}> ={2}= ={11}=
> ./f ./g ./h ./i ./j ./k [11] ./index.js 4:0-51
- [8] ./j.js 901 bytes {7} {10} [built]
- [9] ./k.js 899 bytes {7} {9} [built]
+ [8] ./j.js 901 bytes {6} {7} [built]
+ [9] ./k.js 899 bytes {7} {10} [built]
chunk {8} 5bc7f208cd99a83b4e33.js 1.76 KiB <{4}> ={1}= [recorded] aggressive splitted
> ./c ./d ./e [11] ./index.js 3:0-30
[1] ./d.js 899 bytes {0} {8} [built]
- [5] ./c.js 899 bytes {6} {8} [built]
-chunk {9} 819c28704a84308cd0f6.js 899 bytes <{4}> ={0}= ={2}= ={3}= ={10}=
- > ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72
- [9] ./k.js 899 bytes {7} {9} [built]
-chunk {10} 5ea68201264e1d2b28e9.js 1.76 KiB <{4}> ={0}= ={2}= ={3}= ={9}= [rendered] [recorded] aggressive splitted
+ [5] ./c.js 899 bytes {5} {8} [built]
+chunk {9} 01a8254701931adbf278.js 899 bytes <{4}>
+ > ./a [11] ./index.js 1:0-16
+ [10] ./a.js 899 bytes {9} [built]
+chunk {10} 07830cd8072d83cdc6ad.js 899 bytes <{4}> ={0}= ={2}= ={3}= ={6}=
> ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72
- [7] ./i.js 899 bytes {10} {11} [built]
- [8] ./j.js 901 bytes {7} {10} [built]
+ [9] ./k.js 899 bytes {7} {10} [built]
chunk {11} ba9fedb7aa0c69201639.js 1.76 KiB <{4}> ={2}= ={7}= [rendered] [recorded] aggressive splitted
> ./f ./g ./h ./i ./j ./k [11] ./index.js 4:0-51
[6] ./h.js 899 bytes {3} {11} [built]
- [7] ./i.js 899 bytes {10} {11} [built]"
+ [7] ./i.js 899 bytes {6} {11} [built]"
`;
exports[`StatsTestCases should print correct stats for async-commons-chunk 1`] = `
@@ -148,322 +148,322 @@ exports[`StatsTestCases should print correct stats for async-commons-chunk-auto
Entrypoint a = disabled/a.js
Entrypoint b = disabled/b.js
Entrypoint c = disabled/c.js
- chunk {0} disabled/main.js (main) 147 bytes >{4}< >{5}< >{6}< [entry] [rendered]
- > ./ main
- [7] ./index.js 147 bytes {0} [built]
- chunk {1} disabled/a.js (a) 216 bytes >{7}< [entry] [rendered]
+ chunk {0} disabled/a.js (a) 216 bytes >{4}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [3] ./node_modules/y.js 20 bytes {1} {2} {4} {5} [built]
- [5] ./a.js + 1 modules 156 bytes {1} {4} [built]
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {1} {2} {5} [built]
+ [5] ./a.js + 1 modules 156 bytes {0} {1} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {2} disabled/b.js (b) 152 bytes [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [2] ./f.js 20 bytes {2} {3} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {1} {2} {4} {5} [built]
- [4] ./b.js 72 bytes {2} {5} [built]
- chunk {3} disabled/c.js (c) 167 bytes [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [2] ./f.js 20 bytes {2} {3} {5} {6} {7} [built]
- [6] ./c.js + 1 modules 107 bytes {3} {6} [built]
- | ./c.js 72 bytes [built]
- | ./node_modules/z.js 20 bytes [built]
- chunk {4} disabled/async-a.js (async-a) 216 bytes <{0}> >{7}< [rendered]
+ chunk {1} disabled/async-a.js (async-a) 216 bytes <{7}> >{4}< [rendered]
> ./a [7] ./index.js 1:0-47
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [3] ./node_modules/y.js 20 bytes {1} {2} {4} {5} [built]
- [5] ./a.js + 1 modules 156 bytes {1} {4} [built]
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {1} {2} {5} [built]
+ [5] ./a.js + 1 modules 156 bytes {0} {1} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {5} disabled/async-b.js (async-b) 152 bytes <{0}> [rendered]
+ chunk {2} disabled/async-b.js (async-b) 152 bytes <{7}> [rendered]
> ./b [7] ./index.js 2:0-47
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [2] ./f.js 20 bytes {2} {3} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {1} {2} {4} {5} [built]
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [2] ./f.js 20 bytes {2} {3} {4} {5} {6} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {1} {2} {5} [built]
[4] ./b.js 72 bytes {2} {5} [built]
- chunk {6} disabled/async-c.js (async-c) 167 bytes <{0}> [rendered]
+ chunk {3} disabled/async-c.js (async-c) 167 bytes <{7}> [rendered]
> ./c [7] ./index.js 3:0-47
- [0] ./d.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} {5} {6} [built]
- [2] ./f.js 20 bytes {2} {3} {5} {6} {7} [built]
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [2] ./f.js 20 bytes {2} {3} {4} {5} {6} [built]
[6] ./c.js + 1 modules 107 bytes {3} {6} [built]
| ./c.js 72 bytes [built]
| ./node_modules/z.js 20 bytes [built]
- chunk {7} disabled/async-g.js (async-g) 54 bytes <{1}> <{4}> [rendered]
+ chunk {4} disabled/async-g.js (async-g) 54 bytes <{0}> <{1}> [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [2] ./f.js 20 bytes {2} {3} {5} {6} {7} [built]
- [8] ./g.js 34 bytes {7} [built]
+ [2] ./f.js 20 bytes {2} {3} {4} {5} {6} [built]
+ [8] ./g.js 34 bytes {4} [built]
+ chunk {5} disabled/b.js (b) 152 bytes [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [2] ./f.js 20 bytes {2} {3} {4} {5} {6} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {1} {2} {5} [built]
+ [4] ./b.js 72 bytes {2} {5} [built]
+ chunk {6} disabled/c.js (c) 167 bytes [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} {2} {3} {5} {6} [built]
+ [2] ./f.js 20 bytes {2} {3} {4} {5} {6} [built]
+ [6] ./c.js + 1 modules 107 bytes {3} {6} [built]
+ | ./c.js 72 bytes [built]
+ | ./node_modules/z.js 20 bytes [built]
+ chunk {7} disabled/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered]
+ > ./ main
+ [7] ./index.js 147 bytes {7} [built]
Child default:
Entrypoint main = default/main.js
Entrypoint a = default/a.js
Entrypoint b = default/b.js
Entrypoint c = default/c.js
- chunk {0} default/vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{4}> ={1}= ={2}= ={3}= ={8}= ={9}= ={10}= ={12}= >{2}< >{11}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
+ chunk {0} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{11}> ={1}= ={2}= ={3}= ={5}= ={6}= ={7}= ={12}= >{1}< >{8}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- chunk {1} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{4}> ={0}= ={2}= ={3}= ={8}= ={9}= ={10}= ={12}= >{2}< >{11}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
- > ./a [8] ./index.js 1:0-47
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ chunk {1} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{2}> <{3}> <{4}> <{5}> <{11}> ={0}= ={2}= ={3}= ={6}= ={7}= ={8}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- chunk {2} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{3}> <{4}> <{5}> <{8}> ={0}= ={1}= ={3}= ={9}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./g [] 6:0-47
> ./g [] 6:0-47
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ chunk {2} default/vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{11}> ={0}= ={1}= ={3}= ={5}= ={6}= ={7}= ={12}= >{1}< >{8}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
+ > ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{4}> ={0}= ={1}= ={2}= ={8}= ={9}= >{2}< >{11}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b)
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{11}> ={0}= ={1}= ={2}= ={5}= ={6}= >{1}< >{8}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- chunk {4} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{8}< >{9}< >{10}< >{12}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {4} [built]
- chunk {5} default/a.js (a) 216 bytes >{2}< >{11}< [entry] [rendered]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ chunk {4} default/a.js (a) 216 bytes >{1}< >{8}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- [6] ./a.js + 1 modules 156 bytes {5} {8} [built]
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {4} {5} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {6} default/b.js (b) 152 bytes [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- [4] ./b.js 72 bytes {6} {9} [built]
- chunk {7} default/c.js (c) 152 bytes [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- [5] ./c.js 72 bytes {7} {10} [built]
- [7] ./node_modules/z.js 20 bytes {7} {12} [built]
- chunk {8} default/async-a.js (async-a) 156 bytes <{4}> ={0}= ={1}= ={3}= >{2}< >{11}< [rendered]
+ chunk {5} default/async-a.js (async-a) 156 bytes <{11}> ={0}= ={2}= ={3}= >{1}< >{8}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {5} {8} [built]
+ [6] ./a.js + 1 modules 156 bytes {4} {5} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {9} default/async-b.js (async-b) 72 bytes <{4}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {6} default/async-b.js (async-b) 72 bytes <{11}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {6} {9} [built]
- chunk {10} default/async-c.js (async-c) 72 bytes <{4}> ={0}= ={1}= ={2}= ={12}= [rendered]
+ chunk {7} default/async-c.js (async-c) 72 bytes <{11}> ={0}= ={1}= ={2}= ={12}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {7} {10} [built]
- chunk {11} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{3}> <{5}> <{8}> ={2}= [rendered]
+ chunk {8} default/async-g.js (async-g) 34 bytes <{0}> <{2}> <{3}> <{4}> <{5}> ={1}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {11} [built]
- chunk {12} default/vendors~async-c.js (vendors~async-c) 20 bytes <{4}> ={0}= ={1}= ={2}= ={10}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c)
+ [9] ./g.js 34 bytes {8} [built]
+ chunk {9} default/b.js (b) 152 bytes [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ [4] ./b.js 72 bytes {6} {9} [built]
+ chunk {10} default/c.js (c) 152 bytes [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ [5] ./c.js 72 bytes {7} {10} [built]
+ [7] ./node_modules/z.js 20 bytes {10} {12} [built]
+ chunk {11} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{12}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {11} [built]
+ chunk {12} default/vendors~async-c.js (vendors~async-c) 20 bytes <{11}> ={0}= ={1}= ={2}= ={7}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c)
> ./c [8] ./index.js 3:0-47
- [7] ./node_modules/z.js 20 bytes {7} {12} [built]
+ [7] ./node_modules/z.js 20 bytes {10} {12} [built]
Child vendors:
Entrypoint main = vendors/main.js
Entrypoint a = vendors/vendors.js vendors/a.js
Entrypoint b = vendors/vendors.js vendors/b.js
Entrypoint c = vendors/vendors.js vendors/c.js
- chunk {0} vendors/vendors.js (vendors) 60 bytes ={2}= ={3}= ={4}= >{8}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
+ chunk {0} vendors/vendors.js (vendors) 60 bytes ={1}= ={6}= ={7}= >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
> ./a a
> ./b b
> ./c c
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {0} {5} {6} [built]
- [7] ./node_modules/z.js 20 bytes {0} {7} [built]
- chunk {1} vendors/main.js (main) 147 bytes >{5}< >{6}< >{7}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {1} [built]
- chunk {2} vendors/a.js (a) 176 bytes ={0}= >{8}< [entry] [rendered]
+ [1] ./node_modules/x.js 20 bytes {0} {2} {3} {4} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {2} {3} [built]
+ [7] ./node_modules/z.js 20 bytes {0} {4} [built]
+ chunk {1} vendors/a.js (a) 176 bytes ={0}= >{5}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [6] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [6] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {3} vendors/b.js (b) 112 bytes ={0}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [4] ./b.js 72 bytes {3} {6} [built]
- chunk {4} vendors/c.js (c) 112 bytes ={0}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [5] ./c.js 72 bytes {4} {7} [built]
- chunk {5} vendors/async-a.js (async-a) 216 bytes <{1}> >{8}< [rendered]
+ chunk {2} vendors/async-a.js (async-a) 216 bytes <{8}> >{5}< [rendered]
> ./a [8] ./index.js 1:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {0} {5} {6} [built]
- [6] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {2} {3} {4} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {2} {3} [built]
+ [6] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {6} vendors/async-b.js (async-b) 152 bytes <{1}> [rendered]
+ chunk {3} vendors/async-b.js (async-b) 152 bytes <{8}> [rendered]
> ./b [8] ./index.js 2:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [3] ./node_modules/y.js 20 bytes {0} {5} {6} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {2} {3} {4} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [3] ./node_modules/y.js 20 bytes {0} {2} {3} [built]
[4] ./b.js 72 bytes {3} {6} [built]
- chunk {7} vendors/async-c.js (async-c) 152 bytes <{1}> [rendered]
+ chunk {4} vendors/async-c.js (async-c) 152 bytes <{8}> [rendered]
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {2} {3} {4} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
[5] ./c.js 72 bytes {4} {7} [built]
- [7] ./node_modules/z.js 20 bytes {0} {7} [built]
- chunk {8} vendors/async-g.js (async-g) 54 bytes <{0}> <{2}> <{5}> [rendered]
+ [7] ./node_modules/z.js 20 bytes {0} {4} [built]
+ chunk {5} vendors/async-g.js (async-g) 54 bytes <{0}> <{1}> <{2}> [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [9] ./g.js 34 bytes {8} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [9] ./g.js 34 bytes {5} [built]
+ chunk {6} vendors/b.js (b) 112 bytes ={0}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [4] ./b.js 72 bytes {3} {6} [built]
+ chunk {7} vendors/c.js (c) 112 bytes ={0}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [5] ./c.js 72 bytes {4} {7} [built]
+ chunk {8} vendors/main.js (main) 147 bytes >{2}< >{3}< >{4}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {8} [built]
Child multiple-vendors:
Entrypoint main = multiple-vendors/main.js
Entrypoint a = multiple-vendors/libs-x.js multiple-vendors/vendors~a~async-a~async-b~b.js multiple-vendors/a.js
Entrypoint b = multiple-vendors/libs-x.js multiple-vendors/vendors~a~async-a~async-b~b.js multiple-vendors/b.js
Entrypoint c = multiple-vendors/libs-x.js multiple-vendors/vendors~async-c~c.js multiple-vendors/c.js
- chunk {0} multiple-vendors/libs-x.js (libs-x) 20 bytes <{5}> ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: libs) (name: libs-x)
- > ./a a
- > ./b b
- > ./c c
+ chunk {0} multiple-vendors/libs-x.js (libs-x) 20 bytes <{12}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: libs) (name: libs-x)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [2] ./node_modules/x.js 20 bytes {0} [built]
- chunk {1} multiple-vendors/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{5}> ={0}= ={2}= ={3}= ={6}= ={7}= ={9}= ={10}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a a
> ./b b
+ > ./c c
+ [2] ./node_modules/x.js 20 bytes {0} [built]
+ chunk {1} multiple-vendors/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{12}> ={0}= ={2}= ={3}= ={5}= ={6}= ={7}= ={10}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
+ > ./a a
+ > ./b b
[3] ./node_modules/y.js 20 bytes {1} [built]
- chunk {2} multiple-vendors/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{5}> ={0}= ={1}= ={3}= ={4}= ={9}= ={10}= ={11}= >{3}< >{12}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
+ chunk {2} multiple-vendors/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{12}> ={0}= ={1}= ={3}= ={4}= ={6}= ={7}= ={8}= >{3}< >{9}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- chunk {3} multiple-vendors/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{9}> ={0}= ={1}= ={2}= ={4}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ chunk {3} multiple-vendors/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{12}> ={0}= ={1}= ={2}= ={4}= ={7}= ={8}= ={9}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ > ./b [8] ./index.js 2:0-47
+ > ./c [8] ./index.js 3:0-47
> ./g [] 6:0-47
> ./g [] 6:0-47
- > ./b [8] ./index.js 2:0-47
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ chunk {4} multiple-vendors/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{12}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c [8] ./index.js 3:0-47
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- chunk {4} multiple-vendors/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{5}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c c
- > ./c [8] ./index.js 3:0-47
[7] ./node_modules/z.js 20 bytes {4} [built]
- chunk {5} multiple-vendors/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{9}< >{10}< >{11}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {5} [built]
- chunk {6} multiple-vendors/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{12}< [entry] [rendered]
+ chunk {5} multiple-vendors/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{9}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {7} multiple-vendors/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [4] ./b.js 72 bytes {7} {10} [built]
- chunk {8} multiple-vendors/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [5] ./c.js 72 bytes {8} {11} [built]
- chunk {9} multiple-vendors/async-a.js (async-a) 156 bytes <{5}> ={0}= ={1}= ={2}= >{3}< >{12}< [rendered]
+ chunk {6} multiple-vendors/async-a.js (async-a) 156 bytes <{12}> ={0}= ={1}= ={2}= >{3}< >{9}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {10} multiple-vendors/async-b.js (async-b) 72 bytes <{5}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {7} multiple-vendors/async-b.js (async-b) 72 bytes <{12}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {7} {10} [built]
- chunk {11} multiple-vendors/async-c.js (async-c) 72 bytes <{5}> ={0}= ={2}= ={3}= ={4}= [rendered]
+ chunk {8} multiple-vendors/async-c.js (async-c) 72 bytes <{12}> ={0}= ={2}= ={3}= ={4}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {8} {11} [built]
- chunk {12} multiple-vendors/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{6}> <{9}> ={3}= [rendered]
+ chunk {9} multiple-vendors/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{5}> <{6}> ={3}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {12} [built]
+ [9] ./g.js 34 bytes {9} [built]
+ chunk {10} multiple-vendors/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [4] ./b.js 72 bytes {7} {10} [built]
+ chunk {11} multiple-vendors/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [5] ./c.js 72 bytes {8} {11} [built]
+ chunk {12} multiple-vendors/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {12} [built]
Child all:
Entrypoint main = all/main.js
Entrypoint a = all/vendors~a~async-a~async-b~async-c~b~c.js all/vendors~a~async-a~async-b~b.js all/a.js
Entrypoint b = all/vendors~a~async-a~async-b~async-c~b~c.js all/vendors~a~async-a~async-b~b.js all/b.js
Entrypoint c = all/vendors~a~async-a~async-b~async-c~b~c.js all/vendors~async-c~c.js all/c.js
- chunk {0} all/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{5}> ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
- > ./a a
- > ./b b
- > ./c c
+ chunk {0} all/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{12}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [2] ./node_modules/x.js 20 bytes {0} [built]
- chunk {1} all/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{5}> ={0}= ={2}= ={3}= ={6}= ={7}= ={9}= ={10}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a a
> ./b b
+ > ./c c
+ [2] ./node_modules/x.js 20 bytes {0} [built]
+ chunk {1} all/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{12}> ={0}= ={2}= ={3}= ={5}= ={6}= ={7}= ={10}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
+ > ./a a
+ > ./b b
[3] ./node_modules/y.js 20 bytes {1} [built]
- chunk {2} all/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{5}> ={0}= ={1}= ={3}= ={4}= ={9}= ={10}= ={11}= >{3}< >{12}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
+ chunk {2} all/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{12}> ={0}= ={1}= ={3}= ={4}= ={6}= ={7}= ={8}= >{3}< >{9}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- chunk {3} all/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{9}> ={0}= ={1}= ={2}= ={4}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ chunk {3} all/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{12}> ={0}= ={1}= ={2}= ={4}= ={7}= ={8}= ={9}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ > ./b [8] ./index.js 2:0-47
+ > ./c [8] ./index.js 3:0-47
> ./g [] 6:0-47
> ./g [] 6:0-47
- > ./b [8] ./index.js 2:0-47
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ chunk {4} all/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{12}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c [8] ./index.js 3:0-47
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- chunk {4} all/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{5}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c c
- > ./c [8] ./index.js 3:0-47
[7] ./node_modules/z.js 20 bytes {4} [built]
- chunk {5} all/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{9}< >{10}< >{11}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {5} [built]
- chunk {6} all/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{12}< [entry] [rendered]
+ chunk {5} all/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{9}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {7} all/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [4] ./b.js 72 bytes {7} {10} [built]
- chunk {8} all/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [5] ./c.js 72 bytes {8} {11} [built]
- chunk {9} all/async-a.js (async-a) 156 bytes <{5}> ={0}= ={1}= ={2}= >{3}< >{12}< [rendered]
+ chunk {6} all/async-a.js (async-a) 156 bytes <{12}> ={0}= ={1}= ={2}= >{3}< >{9}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {10} all/async-b.js (async-b) 72 bytes <{5}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {7} all/async-b.js (async-b) 72 bytes <{12}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {7} {10} [built]
- chunk {11} all/async-c.js (async-c) 72 bytes <{5}> ={0}= ={2}= ={3}= ={4}= [rendered]
+ chunk {8} all/async-c.js (async-c) 72 bytes <{12}> ={0}= ={2}= ={3}= ={4}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {8} {11} [built]
- chunk {12} all/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{6}> <{9}> ={3}= [rendered]
+ chunk {9} all/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{5}> <{6}> ={3}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {12} [built]"
+ [9] ./g.js 34 bytes {9} [built]
+ chunk {10} all/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [4] ./b.js 72 bytes {7} {10} [built]
+ chunk {11} all/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [5] ./c.js 72 bytes {8} {11} [built]
+ chunk {12} all/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {12} [built]"
`;
exports[`StatsTestCases should print correct stats for chunk-module-id-range 1`] = `
@@ -471,8 +471,8 @@ exports[`StatsTestCases should print correct stats for chunk-module-id-range 1`]
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
-main2.js 4.85 KiB 0 [emitted] main2
main1.js 4.86 KiB 1 [emitted] main1
+main2.js 4.85 KiB 0 [emitted] main2
Entrypoint main1 = main1.js
Entrypoint main2 = main2.js
chunk {0} main2.js (main2) 136 bytes [entry] [rendered]
@@ -492,16 +492,16 @@ chunk {1} main1.js (main1) 136 bytes [entry] [rendered]
`;
exports[`StatsTestCases should print correct stats for chunks 1`] = `
-"Hash: 62e77b66c0f7180797cd
+"Hash: ba1362062502eaaceb3e
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+1.bundle.js 232 bytes 1 [emitted]
+2.bundle.js 152 bytes 2 [emitted]
+3.bundle.js 289 bytes 3 [emitted]
bundle.js 8.28 KiB 0 [emitted] main
-1.bundle.js 152 bytes 1 [emitted]
-2.bundle.js 289 bytes 2 [emitted]
-3.bundle.js 232 bytes 3 [emitted]
Entrypoint main = bundle.js
-chunk {0} bundle.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
+chunk {0} bundle.js (main) 73 bytes >{2}< >{3}< [entry] [rendered]
> ./index main
[0] ./index.js 51 bytes {0} [built]
single entry ./index main
@@ -509,55 +509,37 @@ chunk {0} bundle.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
[1] ./a.js 22 bytes {0} [built]
cjs require ./a [0] ./index.js 1:0-14
[0] Xms -> factory:Xms building:Xms = Xms
-chunk {1} 1.bundle.js 22 bytes <{0}> [rendered]
+chunk {1} 1.bundle.js 44 bytes <{3}> [rendered]
+ > [3] ./c.js 1:0-52
+ [4] ./d.js 22 bytes {1} [built]
+ require.ensure item ./d [3] ./c.js 1:0-52
+ [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
+ [5] ./e.js 22 bytes {1} [built]
+ require.ensure item ./e [3] ./c.js 1:0-52
+ [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
+chunk {2} 2.bundle.js 22 bytes <{0}> [rendered]
> ./b [0] ./index.js 2:0-16
- [2] ./b.js 22 bytes {1} [built]
+ [2] ./b.js 22 bytes {2} [built]
amd require ./b [0] ./index.js 2:0-16
[0] Xms -> factory:Xms building:Xms = Xms
-chunk {2} 2.bundle.js 54 bytes <{0}> >{3}< [rendered]
+chunk {3} 3.bundle.js 54 bytes <{0}> >{1}< [rendered]
> ./c [0] ./index.js 3:0-16
- [3] ./c.js 54 bytes {2} [built]
+ [3] ./c.js 54 bytes {3} [built]
amd require ./c [0] ./index.js 3:0-16
- [0] Xms -> factory:Xms building:Xms = Xms
-chunk {3} 3.bundle.js 44 bytes <{2}> [rendered]
- > [3] ./c.js 1:0-52
- [4] ./d.js 22 bytes {3} [built]
- require.ensure item ./d [3] ./c.js 1:0-52
- [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
- [5] ./e.js 22 bytes {3} [built]
- require.ensure item ./e [3] ./c.js 1:0-52
- [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms"
+ [0] Xms -> factory:Xms building:Xms = Xms"
`;
exports[`StatsTestCases should print correct stats for chunks-development 1`] = `
-"Hash: 9a9796938cdbaf0dd270
+"Hash: 367bf4cbcc84e0c7f7ea
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+0.bundle.js 588 bytes 0 [emitted]
+1.bundle.js 297 bytes 1 [emitted]
+2.bundle.js 433 bytes 2 [emitted]
bundle.js 8.67 KiB main [emitted] main
-0.bundle.js 297 bytes 0 [emitted]
-1.bundle.js 433 bytes 1 [emitted]
-2.bundle.js 588 bytes 2 [emitted]
Entrypoint main = bundle.js
-chunk {0} 0.bundle.js 22 bytes <{main}> [rendered]
- > ./b [./index.js] ./index.js 2:0-16
- [./b.js] 22 bytes {0} [built]
- amd require ./b [./index.js] 2:0-16
- [./index.js] Xms -> factory:Xms building:Xms = Xms
-chunk {1} 1.bundle.js 54 bytes <{main}> >{2}< [rendered]
- > ./c [./index.js] ./index.js 3:0-16
- [./c.js] 54 bytes {1} [built]
- amd require ./c [./index.js] 3:0-16
- [./index.js] Xms -> factory:Xms building:Xms = Xms
-chunk {2} 2.bundle.js 60 bytes <{1}> [rendered]
- > [./c.js] ./c.js 1:0-52
- [./d.js] 22 bytes {2} [built]
- require.ensure item ./d [./c.js] 1:0-52
- [./index.js] Xms -> [./c.js] Xms -> factory:Xms building:Xms = Xms
- [./e.js] 38 bytes {2} [built]
- require.ensure item ./e [./c.js] 1:0-52
- [./index.js] Xms -> [./c.js] Xms -> factory:Xms building:Xms = Xms
-chunk {main} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered]
+chunk {main} bundle.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
> ./index main
[./a.js] 22 bytes {main} [built]
cjs require ./a [./e.js] 1:0-14
@@ -565,19 +547,37 @@ chunk {main} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered]
[./index.js] Xms -> factory:Xms building:Xms = Xms
[./index.js] 51 bytes {main} [built]
single entry ./index main
- factory:Xms building:Xms = Xms"
+ factory:Xms building:Xms = Xms
+chunk {0} 0.bundle.js 60 bytes <{2}> [rendered]
+ > [./c.js] ./c.js 1:0-52
+ [./d.js] 22 bytes {0} [built]
+ require.ensure item ./d [./c.js] 1:0-52
+ [./index.js] Xms -> [./c.js] Xms -> factory:Xms building:Xms = Xms
+ [./e.js] 38 bytes {0} [built]
+ require.ensure item ./e [./c.js] 1:0-52
+ [./index.js] Xms -> [./c.js] Xms -> factory:Xms building:Xms = Xms
+chunk {1} 1.bundle.js 22 bytes <{main}> [rendered]
+ > ./b [./index.js] ./index.js 2:0-16
+ [./b.js] 22 bytes {1} [built]
+ amd require ./b [./index.js] 2:0-16
+ [./index.js] Xms -> factory:Xms building:Xms = Xms
+chunk {2} 2.bundle.js 54 bytes <{main}> >{0}< [rendered]
+ > ./c [./index.js] ./index.js 3:0-16
+ [./c.js] 54 bytes {2} [built]
+ amd require ./c [./index.js] 3:0-16
+ [./index.js] Xms -> factory:Xms building:Xms = Xms"
`;
exports[`StatsTestCases should print correct stats for circular-correctness 1`] = `
"Entrypoint main = bundle.js
-chunk {0} bundle.js (main) 98 bytes >{1}< >{2}< [entry] [rendered]
- [0] ./index.js 98 bytes {0} [built]
-chunk {1} 1.bundle.js (a) 49 bytes <{0}> <{3}> >{3}< [rendered]
- [1] ./module-a.js 49 bytes {1} [built]
-chunk {2} 2.bundle.js (b) 49 bytes <{0}> <{3}> >{3}< [rendered]
- [2] ./module-b.js 49 bytes {2} [built]
-chunk {3} 3.bundle.js (c) 98 bytes <{1}> <{2}> >{1}< >{2}< [rendered]
- [3] ./module-c.js 98 bytes {3} [built]"
+chunk {0} 0.bundle.js (a) 49 bytes <{2}> <{3}> >{2}< [rendered]
+ [1] ./module-a.js 49 bytes {0} [built]
+chunk {1} 1.bundle.js (b) 49 bytes <{2}> <{3}> >{2}< [rendered]
+ [2] ./module-b.js 49 bytes {1} [built]
+chunk {2} 2.bundle.js (c) 98 bytes <{0}> <{1}> >{0}< >{1}< [rendered]
+ [3] ./module-c.js 98 bytes {2} [built]
+chunk {3} bundle.js (main) 98 bytes >{0}< >{1}< [entry] [rendered]
+ [0] ./index.js 98 bytes {3} [built]"
`;
exports[`StatsTestCases should print correct stats for color-disabled 1`] = `
@@ -1019,56 +1019,56 @@ Child [warnings => false]:
exports[`StatsTestCases should print correct stats for graph-correctness-entries 1`] = `
"Entrypoint e1 = e1.js
Entrypoint e2 = e2.js
-chunk {0} e1.js (e1) 49 bytes >{2}< [entry] [rendered]
- [0] ./e1.js 49 bytes {0} [built]
- single entry ./e1 e1
-chunk {1} e2.js (e2) 49 bytes >{3}< [entry] [rendered]
- [1] ./e2.js 49 bytes {1} [built]
- single entry ./e2 e2
-chunk {2} a.js (a) 49 bytes <{0}> <{3}> >{4}< [rendered]
- [2] ./module-a.js 49 bytes {2} [built]
+chunk {0} a.js (a) 49 bytes <{2}> <{3}> >{1}< [rendered]
+ [2] ./module-a.js 49 bytes {0} [built]
import() ./module-a [0] ./e1.js 1:0-47
import() ./module-a [3] ./module-c.js 1:0-47
-chunk {3} c.js (c) 49 bytes <{1}> <{4}> >{2}< [rendered]
- [3] ./module-c.js 49 bytes {3} [built]
+chunk {1} b.js (b) 49 bytes <{0}> >{2}< [rendered]
+ [4] ./module-b.js 49 bytes {1} [built]
+ import() ./module-b [2] ./module-a.js 1:0-47
+chunk {2} c.js (c) 49 bytes <{1}> <{4}> >{0}< [rendered]
+ [3] ./module-c.js 49 bytes {2} [built]
import() ./module-c [1] ./e2.js 1:0-47
import() ./module-c [4] ./module-b.js 1:0-47
-chunk {4} b.js (b) 49 bytes <{2}> >{3}< [rendered]
- [4] ./module-b.js 49 bytes {4} [built]
- import() ./module-b [2] ./module-a.js 1:0-47"
+chunk {3} e1.js (e1) 49 bytes >{0}< [entry] [rendered]
+ [0] ./e1.js 49 bytes {3} [built]
+ single entry ./e1 e1
+chunk {4} e2.js (e2) 49 bytes >{2}< [entry] [rendered]
+ [1] ./e2.js 49 bytes {4} [built]
+ single entry ./e2 e2"
`;
exports[`StatsTestCases should print correct stats for graph-correctness-modules 1`] = `
"Entrypoint e1 = e1.js
Entrypoint e2 = e2.js
-chunk {0} e1.js (e1) 119 bytes >{2}< >{3}< [entry] [rendered]
- [0] ./module-x.js 49 bytes {0} {1} [built]
+chunk {0} a.js (a) 49 bytes <{2}> <{3}> >{1}< [rendered]
+ [4] ./module-a.js 49 bytes {0} [built]
+ import() ./module-a [2] ./e1.js 2:0-47
+ import() ./module-a [5] ./module-c.js 1:0-47
+chunk {1} b.js (b) 179 bytes <{0}> >{2}< [rendered]
+ [6] ./module-b.js 179 bytes {1} [built]
+ import() ./module-b [4] ./module-a.js 1:0-47
+chunk {2} c.js (c) 49 bytes <{1}> <{4}> >{0}< [rendered]
+ [5] ./module-c.js 49 bytes {2} [built]
+ import() ./module-c [3] ./e2.js 2:0-47
+ import() ./module-c [6] ./module-b.js 1:0-47
+chunk {3} e1.js (e1) 119 bytes >{0}< >{5}< [entry] [rendered]
+ [0] ./module-x.js 49 bytes {3} {4} [built]
harmony side effect evaluation ./module-x [2] ./e1.js 1:0-20
harmony side effect evaluation ./module-x [3] ./e2.js 1:0-20
import() ./module-x [6] ./module-b.js 2:0-20
- [2] ./e1.js 70 bytes {0} [built]
+ [2] ./e1.js 70 bytes {3} [built]
single entry ./e1 e1
-chunk {1} e2.js (e2) 119 bytes >{3}< >{4}< [entry] [rendered]
- [0] ./module-x.js 49 bytes {0} {1} [built]
+chunk {4} e2.js (e2) 119 bytes >{2}< >{5}< [entry] [rendered]
+ [0] ./module-x.js 49 bytes {3} {4} [built]
harmony side effect evaluation ./module-x [2] ./e1.js 1:0-20
harmony side effect evaluation ./module-x [3] ./e2.js 1:0-20
import() ./module-x [6] ./module-b.js 2:0-20
- [3] ./e2.js 70 bytes {1} [built]
+ [3] ./e2.js 70 bytes {4} [built]
single entry ./e2 e2
-chunk {2} a.js (a) 49 bytes <{0}> <{4}> >{5}< [rendered]
- [4] ./module-a.js 49 bytes {2} [built]
- import() ./module-a [2] ./e1.js 2:0-47
- import() ./module-a [5] ./module-c.js 1:0-47
-chunk {3} y.js (y) 0 bytes <{0}> <{1}> [rendered]
- [1] ./module-y.js 0 bytes {3} [built]
- import() ./module-y [0] ./module-x.js 1:0-47
-chunk {4} c.js (c) 49 bytes <{1}> <{5}> >{2}< [rendered]
- [5] ./module-c.js 49 bytes {4} [built]
- import() ./module-c [3] ./e2.js 2:0-47
- import() ./module-c [6] ./module-b.js 1:0-47
-chunk {5} b.js (b) 179 bytes <{2}> >{4}< [rendered]
- [6] ./module-b.js 179 bytes {5} [built]
- import() ./module-b [4] ./module-a.js 1:0-47"
+chunk {5} y.js (y) 0 bytes <{3}> <{4}> [rendered]
+ [1] ./module-y.js 0 bytes {5} [built]
+ import() ./module-y [0] ./module-x.js 1:0-47"
`;
exports[`StatsTestCases should print correct stats for import-context-filter 1`] = `
@@ -1093,8 +1093,8 @@ exports[`StatsTestCases should print correct stats for import-weak 1`] = `
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
-entry.js 8.53 KiB 0 [emitted] entry
1.js 149 bytes 1 [emitted]
+entry.js 8.53 KiB 0 [emitted] entry
Entrypoint entry = entry.js
[0] ./modules/b.js 22 bytes {1} [built]
[1] ./entry.js 120 bytes {0} [built]
@@ -1103,12 +1103,12 @@ Entrypoint entry = entry.js
exports[`StatsTestCases should print correct stats for import-with-invalid-options-comments 1`] = `
"Built at: Thu Jan 01 1970 00:00:00 GMT
-[0] ./index.js 50 bytes {0} [built]
-[1] ./chunk.js 401 bytes {1} [built] [3 warnings]
-[2] ./chunk-a.js 27 bytes {2} [built]
-[3] ./chunk-b.js 27 bytes {3} [built]
-[4] ./chunk-c.js 27 bytes {4} [built]
-[5] ./chunk-d.js 27 bytes {5} [built]
+[0] ./index.js 50 bytes {2} [built]
+[1] ./chunk.js 401 bytes {0} [built] [3 warnings]
+[2] ./chunk-a.js 27 bytes {4} [built]
+[3] ./chunk-b.js 27 bytes {1} [built]
+[4] ./chunk-c.js 27 bytes {5} [built]
+[5] ./chunk-d.js 27 bytes {3} [built]
WARNING in ./chunk.js 4:11-77
Compilation error while processing magic comment(-s): /* webpack Prefetch: 0, webpackChunkName: \\"notGoingToCompile-c\\" */: Unexpected identifier
@@ -1124,7 +1124,7 @@ Compilation error while processing magic comment(-s): /* webpackPrefetch: true,
`;
exports[`StatsTestCases should print correct stats for issue-7577 1`] = `
-"Hash: 3a382f7c6759b0401b6ff9bcd7c310309db5b68c3fc9dff03980f45a3a3a
+"Hash: 3a382f7c6759b0401b6ff9bcd7c310309db5b68ca77f24f3c38b481493dd
Child
Hash: 3a382f7c6759b0401b6f
Time: Xms
@@ -1148,23 +1148,23 @@ Child
[0] ./node_modules/vendor.js 23 bytes {vendors~main} [built]
[1] ./b.js 17 bytes {all~main} [built]
Child
- Hash: 3fc9dff03980f45a3a3a
+ Hash: a77f24f3c38b481493dd
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- c-main-a7197f03f8f2dfea0fa5.js 114 bytes main [emitted] main
- c-0-775a18a4f14e4483daf8.js 153 bytes 0 [emitted]
- c-1-f0767101f6e51d910fd6.js 450 bytes 1 [emitted]
- c-all~main-7b1b86e650f3856c17c9.js 305 bytes all~main [emitted] all~main
- c-runtime~main-10749c8178106eae88dd.js 8.84 KiB runtime~main [emitted] runtime~main
- Entrypoint main = c-runtime~main-10749c8178106eae88dd.js c-all~main-7b1b86e650f3856c17c9.js c-main-a7197f03f8f2dfea0fa5.js (prefetch: c-0-775a18a4f14e4483daf8.js c-1-f0767101f6e51d910fd6.js)
- [0] ./b.js 17 bytes {1} [built]
+ c-0-5b8bdddff2dcbbac44bf.js 450 bytes 0 [emitted]
+ c-1-5eacbd7fee2224716029.js 153 bytes 1 [emitted]
+ c-all~main-3de9f206741c28715d19.js 305 bytes all~main [emitted] all~main
+ c-main-75156155081cda3092db.js 114 bytes main [emitted] main
+ c-runtime~main-89203723b4b917771d42.js 8.84 KiB runtime~main [emitted] runtime~main
+ Entrypoint main = c-runtime~main-89203723b4b917771d42.js c-all~main-3de9f206741c28715d19.js c-main-75156155081cda3092db.js (prefetch: c-1-5eacbd7fee2224716029.js c-0-5b8bdddff2dcbbac44bf.js)
+ [0] ./b.js 17 bytes {0} [built]
[1] ./c.js 61 bytes {all~main} [built]
- [2] ./node_modules/vendor.js 23 bytes {0} [built]"
+ [2] ./node_modules/vendor.js 23 bytes {1} [built]"
`;
exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin 1`] = `
-"Hash: eb610b429c869eba72876747d3a05d57aba4ed011c34e7c25ef408f41e6c4d70e3d24b67ba636024
+"Hash: eb610b429c869eba72876747d3a05d57aba4ed0100a352bc82c330d5a88b516679988e145181f3e2
Child 1 chunks:
Hash: eb610b429c869eba7287
Time: Xms
@@ -1196,42 +1196,42 @@ Child 2 chunks:
chunk {1} bundle.js (main) 73 bytes >{0}< [entry] [rendered]
[0] ./index.js 73 bytes {1} [built]
Child 3 chunks:
- Hash: 1c34e7c25ef408f41e6c
+ Hash: 00a352bc82c330d5a88b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- 0.bundle.js 494 bytes 0 [emitted]
+ 0.bundle.js 485 bytes 0 [emitted]
1.bundle.js 232 bytes 1 [emitted]
bundle.js 8.28 KiB 2 [emitted] main
Entrypoint main = bundle.js
- chunk {0} 0.bundle.js 74 bytes <{0}> <{2}> >{0}< >{1}< [rendered]
+ chunk {0} 0.bundle.js 74 bytes <{2}> >{1}< [rendered]
[1] ./a.js 22 bytes {0} [built]
+ [2] ./b.js 22 bytes {0} [built]
[3] ./c.js 30 bytes {0} [built]
- [4] ./d.js 22 bytes {0} [built]
- chunk {1} 1.bundle.js 44 bytes <{0}> <{2}> [rendered]
- [2] ./b.js 22 bytes {1} [built]
+ chunk {1} 1.bundle.js 44 bytes <{0}> [rendered]
+ [4] ./d.js 22 bytes {1} [built]
[5] ./e.js 22 bytes {1} [built]
- chunk {2} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered]
+ chunk {2} bundle.js (main) 73 bytes >{0}< [entry] [rendered]
[0] ./index.js 73 bytes {2} [built]
Child 4 chunks:
- Hash: 4d70e3d24b67ba636024
+ Hash: 516679988e145181f3e2
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- 0.bundle.js 254 bytes 0 [emitted]
+ 0.bundle.js 236 bytes 0 [emitted]
1.bundle.js 232 bytes 1 [emitted]
- bundle.js 8.28 KiB 2 [emitted] main
3.bundle.js 323 bytes 3 [emitted]
+ bundle.js 8.28 KiB 2 [emitted] main
Entrypoint main = bundle.js
- chunk {0} 0.bundle.js 44 bytes <{2}> <{3}> [rendered]
+ chunk {0} 0.bundle.js 44 bytes <{2}> [rendered]
[1] ./a.js 22 bytes {0} [built]
- [4] ./d.js 22 bytes {0} [built]
- chunk {1} 1.bundle.js 44 bytes <{2}> <{3}> [rendered]
- [2] ./b.js 22 bytes {1} [built]
+ [2] ./b.js 22 bytes {0} [built]
+ chunk {1} 1.bundle.js 44 bytes <{3}> [rendered]
+ [4] ./d.js 22 bytes {1} [built]
[5] ./e.js 22 bytes {1} [built]
- chunk {2} bundle.js (main) 73 bytes >{0}< >{1}< >{3}< [entry] [rendered]
+ chunk {2} bundle.js (main) 73 bytes >{0}< >{3}< [entry] [rendered]
[0] ./index.js 73 bytes {2} [built]
- chunk {3} 3.bundle.js 30 bytes <{2}> >{0}< >{1}< [rendered]
+ chunk {3} 3.bundle.js 30 bytes <{2}> >{1}< [rendered]
[3] ./c.js 30 bytes {3} [built]"
`;
@@ -1258,10 +1258,10 @@ Entrypoint main = main.js
[15] ./c.js?3 33 bytes {0} [built]
[17] ./c.js?4 33 bytes {0} [built]
[19] ./c.js?5 33 bytes {0} [built]
+[21] ./c.js?6 33 bytes {0} [built]
[23] ./c.js?7 33 bytes {0} [built]
[25] ./c.js?8 33 bytes {0} [built]
[27] ./c.js?9 33 bytes {0} [built]
-[29] ./c.js?10 33 bytes {0} [built]
+ 11 hidden modules"
`;
@@ -1285,8 +1285,8 @@ Entrypoint main = main.js
[10] ./index.js 181 bytes {0} [built]
[11] ./c.js?1 33 bytes {0} [built]
[13] ./c.js?2 33 bytes {0} [built]
-[27] ./c.js?9 33 bytes {0} [built]
-[29] ./c.js?10 33 bytes {0} [built]
+[15] ./c.js?3 33 bytes {0} [built]
+[17] ./c.js?4 33 bytes {0} [built]
+ 16 hidden modules"
`;
@@ -1307,91 +1307,91 @@ chunk {1} 1.js 68 bytes <{0}> [rendered]
exports[`StatsTestCases should print correct stats for module-deduplication 1`] = `
"Asset Size Chunks Chunk Names
- 0.js 730 bytes 0, 7 [emitted]
- 1.js 730 bytes 1, 8 [emitted]
- 2.js 730 bytes 2, 6 [emitted]
-e1.js 9.42 KiB 3 [emitted] e1
-e2.js 9.44 KiB 4 [emitted] e2
-e3.js 9.46 KiB 5 [emitted] e3
+ 0.js 730 bytes 0, 6 [emitted]
+ 1.js 730 bytes 1, 7 [emitted]
+ 2.js 730 bytes 2, 8 [emitted]
6.js 661 bytes 6 [emitted]
7.js 661 bytes 7 [emitted]
8.js 661 bytes 8 [emitted]
+e1.js 9.42 KiB 3 [emitted] e1
+e2.js 9.44 KiB 4 [emitted] e2
+e3.js 9.46 KiB 5 [emitted] e3
Entrypoint e1 = e1.js
Entrypoint e2 = e2.js
Entrypoint e3 = e3.js
-chunk {0} 0.js 37 bytes <{3}> <{5}> [rendered]
- [3] ./async2.js 28 bytes {0} {7} [built]
- [6] ./f.js 9 bytes {0} {4} [built]
-chunk {1} 1.js 37 bytes <{3}> <{4}> [rendered]
- [4] ./async3.js 28 bytes {1} {8} [built]
- [7] ./h.js 9 bytes {1} {5} [built]
-chunk {2} 2.js 37 bytes <{4}> <{5}> [rendered]
- [2] ./async1.js 28 bytes {2} {6} [built]
- [5] ./d.js 9 bytes {2} {3} [built]
-chunk {3} e1.js (e1) 152 bytes >{0}< >{1}< >{6}< [entry] [rendered]
+chunk {0} 0.js 37 bytes <{4}> <{5}> [rendered]
+ [2] ./async1.js 28 bytes {0} {6} [built]
+ [5] ./d.js 9 bytes {0} {3} [built]
+chunk {1} 1.js 37 bytes <{3}> <{5}> [rendered]
+ [3] ./async2.js 28 bytes {1} {7} [built]
+ [6] ./f.js 9 bytes {1} {4} [built]
+chunk {2} 2.js 37 bytes <{3}> <{4}> [rendered]
+ [4] ./async3.js 28 bytes {2} {8} [built]
+ [7] ./h.js 9 bytes {2} {5} [built]
+chunk {3} e1.js (e1) 152 bytes >{1}< >{2}< >{6}< [entry] [rendered]
[0] ./b.js 9 bytes {3} {4} {5} [built]
[1] ./a.js 9 bytes {3} {4} {5} [built]
- [5] ./d.js 9 bytes {2} {3} [built]
+ [5] ./d.js 9 bytes {0} {3} [built]
[8] ./e1.js 116 bytes {3} [built]
[9] ./c.js 9 bytes {3} [built]
-chunk {4} e2.js (e2) 152 bytes >{1}< >{2}< >{7}< [entry] [rendered]
+chunk {4} e2.js (e2) 152 bytes >{0}< >{2}< >{7}< [entry] [rendered]
[0] ./b.js 9 bytes {3} {4} {5} [built]
[1] ./a.js 9 bytes {3} {4} {5} [built]
- [6] ./f.js 9 bytes {0} {4} [built]
+ [6] ./f.js 9 bytes {1} {4} [built]
[10] ./e2.js 116 bytes {4} [built]
[11] ./e.js 9 bytes {4} [built]
-chunk {5} e3.js (e3) 152 bytes >{0}< >{2}< >{8}< [entry] [rendered]
+chunk {5} e3.js (e3) 152 bytes >{0}< >{1}< >{8}< [entry] [rendered]
[0] ./b.js 9 bytes {3} {4} {5} [built]
[1] ./a.js 9 bytes {3} {4} {5} [built]
- [7] ./h.js 9 bytes {1} {5} [built]
+ [7] ./h.js 9 bytes {2} {5} [built]
[12] ./e3.js 116 bytes {5} [built]
[13] ./g.js 9 bytes {5} [built]
chunk {6} 6.js 28 bytes <{3}> [rendered]
- [2] ./async1.js 28 bytes {2} {6} [built]
+ [2] ./async1.js 28 bytes {0} {6} [built]
chunk {7} 7.js 28 bytes <{4}> [rendered]
- [3] ./async2.js 28 bytes {0} {7} [built]
+ [3] ./async2.js 28 bytes {1} {7} [built]
chunk {8} 8.js 28 bytes <{5}> [rendered]
- [4] ./async3.js 28 bytes {1} {8} [built]"
+ [4] ./async3.js 28 bytes {2} {8} [built]"
`;
exports[`StatsTestCases should print correct stats for module-deduplication-named 1`] = `
" Asset Size Chunks Chunk Names
- e1.js 9.28 KiB 0 [emitted] e1
- e2.js 9.3 KiB 1 [emitted] e2
- e3.js 9.32 KiB 2 [emitted] e3
-async1.js 820 bytes 3 [emitted] async1
-async2.js 820 bytes 4 [emitted] async2
-async3.js 820 bytes 5 [emitted] async3
+async1.js 820 bytes 0 [emitted] async1
+async2.js 820 bytes 1 [emitted] async2
+async3.js 820 bytes 2 [emitted] async3
+ e1.js 9.28 KiB 3 [emitted] e1
+ e2.js 9.3 KiB 4 [emitted] e2
+ e3.js 9.32 KiB 5 [emitted] e3
Entrypoint e1 = e1.js
Entrypoint e2 = e2.js
Entrypoint e3 = e3.js
-chunk {0} e1.js (e1) 144 bytes >{3}< [entry] [rendered]
- [0] ./b.js 9 bytes {0} {1} {2} [built]
- [1] ./a.js 9 bytes {0} {1} {2} [built]
- [2] ./d.js 9 bytes {0} {3} [built]
- [5] ./e1.js 108 bytes {0} [built]
- [6] ./c.js 9 bytes {0} [built]
-chunk {1} e2.js (e2) 144 bytes >{4}< [entry] [rendered]
- [0] ./b.js 9 bytes {0} {1} {2} [built]
- [1] ./a.js 9 bytes {0} {1} {2} [built]
- [3] ./f.js 9 bytes {1} {4} [built]
- [7] ./e2.js 108 bytes {1} [built]
- [8] ./e.js 9 bytes {1} [built]
-chunk {2} e3.js (e3) 144 bytes >{5}< [entry] [rendered]
- [0] ./b.js 9 bytes {0} {1} {2} [built]
- [1] ./a.js 9 bytes {0} {1} {2} [built]
- [4] ./h.js 9 bytes {2} {5} [built]
- [9] ./e3.js 108 bytes {2} [built]
- [10] ./g.js 9 bytes {2} [built]
-chunk {3} async1.js (async1) 89 bytes <{0}> <{5}> >{4}< [rendered]
+chunk {0} async1.js (async1) 89 bytes <{2}> <{3}> >{1}< [rendered]
[2] ./d.js 9 bytes {0} {3} [built]
- [11] ./async1.js 80 bytes {3} [built]
-chunk {4} async2.js (async2) 89 bytes <{1}> <{3}> >{5}< [rendered]
+ [11] ./async1.js 80 bytes {0} [built]
+chunk {1} async2.js (async2) 89 bytes <{0}> <{4}> >{2}< [rendered]
[3] ./f.js 9 bytes {1} {4} [built]
- [12] ./async2.js 80 bytes {4} [built]
-chunk {5} async3.js (async3) 89 bytes <{2}> <{4}> >{3}< [rendered]
+ [12] ./async2.js 80 bytes {1} [built]
+chunk {2} async3.js (async3) 89 bytes <{1}> <{5}> >{0}< [rendered]
[4] ./h.js 9 bytes {2} {5} [built]
- [13] ./async3.js 80 bytes {5} [built]"
+ [13] ./async3.js 80 bytes {2} [built]
+chunk {3} e1.js (e1) 144 bytes >{0}< [entry] [rendered]
+ [0] ./b.js 9 bytes {3} {4} {5} [built]
+ [1] ./a.js 9 bytes {3} {4} {5} [built]
+ [2] ./d.js 9 bytes {0} {3} [built]
+ [5] ./e1.js 108 bytes {3} [built]
+ [6] ./c.js 9 bytes {3} [built]
+chunk {4} e2.js (e2) 144 bytes >{1}< [entry] [rendered]
+ [0] ./b.js 9 bytes {3} {4} {5} [built]
+ [1] ./a.js 9 bytes {3} {4} {5} [built]
+ [3] ./f.js 9 bytes {1} {4} [built]
+ [7] ./e2.js 108 bytes {4} [built]
+ [8] ./e.js 9 bytes {4} [built]
+chunk {5} e3.js (e3) 144 bytes >{2}< [entry] [rendered]
+ [0] ./b.js 9 bytes {3} {4} {5} [built]
+ [1] ./a.js 9 bytes {3} {4} {5} [built]
+ [4] ./h.js 9 bytes {2} {5} [built]
+ [9] ./e3.js 108 bytes {5} [built]
+ [10] ./g.js 9 bytes {5} [built]"
`;
exports[`StatsTestCases should print correct stats for module-trace-disabled-in-error 1`] = `
@@ -1425,23 +1425,23 @@ exports[`StatsTestCases should print correct stats for named-chunk-groups 1`] =
Chunk Group async-a = async-a~async-b.js async-a.js
Chunk Group async-b = async-a~async-b.js async-b.js
Chunk Group async-c = vendors.js async-c.js
- chunk {0} async-a~async-b.js (async-a~async-b) 133 bytes <{1}> ={2}= ={3}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
+ chunk {0} async-a~async-b.js (async-a~async-b) 133 bytes <{4}> ={1}= ={2}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
[4] ./shared.js 133 bytes {0} [built]
- chunk {1} main.js (main) 146 bytes >{0}< >{2}< >{3}< >{4}< >{5}< [entry] [rendered]
- > ./ main
- [0] ./index.js 146 bytes {1} [built]
- chunk {2} async-a.js (async-a) 40 bytes <{1}> ={0}= [rendered]
+ chunk {1} async-a.js (async-a) 40 bytes <{4}> ={0}= [rendered]
> ./a [0] ./index.js 1:0-47
- [1] ./a.js 40 bytes {2} [built]
- chunk {3} async-b.js (async-b) 40 bytes <{1}> ={0}= [rendered]
+ [1] ./a.js 40 bytes {1} [built]
+ chunk {2} async-b.js (async-b) 40 bytes <{4}> ={0}= [rendered]
> ./b [0] ./index.js 2:0-47
- [2] ./b.js 40 bytes {3} [built]
- chunk {4} async-c.js (async-c) 45 bytes <{1}> ={5}= [rendered]
+ [2] ./b.js 40 bytes {2} [built]
+ chunk {3} async-c.js (async-c) 45 bytes <{4}> ={5}= [rendered]
> ./c [0] ./index.js 3:0-47
- [3] ./c.js 45 bytes {4} [built]
- chunk {5} vendors.js (vendors) 40 bytes <{1}> ={4}= [rendered] split chunk (cache group: vendors) (name: vendors)
+ [3] ./c.js 45 bytes {3} [built]
+ chunk {4} main.js (main) 146 bytes >{0}< >{1}< >{2}< >{3}< >{5}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 146 bytes {4} [built]
+ chunk {5} vendors.js (vendors) 40 bytes <{4}> ={3}= [rendered] split chunk (cache group: vendors) (name: vendors)
> ./c [0] ./index.js 3:0-47
[5] ./node_modules/x.js 20 bytes {5} [built]
[6] ./node_modules/y.js 20 bytes {5} [built]
@@ -1450,23 +1450,23 @@ Child
Chunk Group async-a = async-a~async-b.js async-a.js
Chunk Group async-b = async-a~async-b.js async-b.js
Chunk Group async-c = vendors.js async-c.js
- chunk {0} async-a~async-b.js (async-a~async-b) 133 bytes <{1}> ={2}= ={3}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
+ chunk {0} async-a~async-b.js (async-a~async-b) 133 bytes <{4}> ={1}= ={2}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
[4] ./shared.js 133 bytes {0} [built]
- chunk {1} main.js (main) 146 bytes >{0}< >{2}< >{3}< >{4}< >{5}< [entry] [rendered]
- > ./ main
- [0] ./index.js 146 bytes {1} [built]
- chunk {2} async-a.js (async-a) 40 bytes <{1}> ={0}= [rendered]
+ chunk {1} async-a.js (async-a) 40 bytes <{4}> ={0}= [rendered]
> ./a [0] ./index.js 1:0-47
- [1] ./a.js 40 bytes {2} [built]
- chunk {3} async-b.js (async-b) 40 bytes <{1}> ={0}= [rendered]
+ [1] ./a.js 40 bytes {1} [built]
+ chunk {2} async-b.js (async-b) 40 bytes <{4}> ={0}= [rendered]
> ./b [0] ./index.js 2:0-47
- [2] ./b.js 40 bytes {3} [built]
- chunk {4} async-c.js (async-c) 45 bytes <{1}> ={5}= [rendered]
+ [2] ./b.js 40 bytes {2} [built]
+ chunk {3} async-c.js (async-c) 45 bytes <{4}> ={5}= [rendered]
> ./c [0] ./index.js 3:0-47
- [3] ./c.js 45 bytes {4} [built]
- chunk {5} vendors.js (vendors) 40 bytes <{1}> ={4}= [rendered] split chunk (cache group: vendors) (name: vendors)
+ [3] ./c.js 45 bytes {3} [built]
+ chunk {4} main.js (main) 146 bytes >{0}< >{1}< >{2}< >{3}< >{5}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 146 bytes {4} [built]
+ chunk {5} vendors.js (vendors) 40 bytes <{4}> ={3}= [rendered] split chunk (cache group: vendors) (name: vendors)
> ./c [0] ./index.js 3:0-47
[5] ./node_modules/x.js 20 bytes {5} [built]
[6] ./node_modules/y.js 20 bytes {5} [built]"
@@ -1505,8 +1505,8 @@ exports[`StatsTestCases should print correct stats for no-emit-on-errors-plugin-
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
- child.js 3.57 KiB
bundle.js 3.57 KiB 0 main
+ child.js 3.57 KiB
Entrypoint main = bundle.js
[0] ./index.js 0 bytes {0} [built]
@@ -1523,53 +1523,53 @@ Child child:
`;
exports[`StatsTestCases should print correct stats for optimize-chunks 1`] = `
-"Hash: 7334e6496a3996c90638
+"Hash: 882b0a9ff955bc888a34
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ ab.js 183 bytes 1 [emitted] ab
+ abd.js 250 bytes 2, 1 [emitted] abd
+ ac in ab.js 130 bytes 3 [emitted] ac in ab
+ chunk.js 212 bytes 4, 3 [emitted] chunk
cir1.js 299 bytes 0 [emitted] cir1
- main.js 9.09 KiB 1 [emitted] main
- ab.js 183 bytes 2 [emitted] ab
- abd.js 250 bytes 3, 2 [emitted] abd
- cir2.js 299 bytes 4 [emitted] cir2
- ac in ab.js 130 bytes 5 [emitted] ac in ab
- chunk.js 212 bytes 6, 5 [emitted] chunk
-cir2 from cir1.js 359 bytes 7, 4 [emitted] cir2 from cir1
+cir2 from cir1.js 359 bytes 6, 5 [emitted] cir2 from cir1
+ cir2.js 299 bytes 5 [emitted] cir2
+ main.js 9.09 KiB 7 [emitted] main
Entrypoint main = main.js
-chunk {0} cir1.js (cir1) 81 bytes <{1}> <{4}> >{7}< [rendered]
+chunk {0} cir1.js (cir1) 81 bytes <{5}> <{7}> >{6}< [rendered]
> [5] ./index.js 13:0-54
> [7] ./circular2.js 1:0-79
> [7] ./circular2.js 1:0-79
[6] ./circular1.js 81 bytes {0} [built]
-chunk {1} main.js (main) 523 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered]
- > ./index main
- [2] ./modules/f.js 0 bytes {1} [built]
- [5] ./index.js 523 bytes {1} [built]
-chunk {2} ab.js (ab) 0 bytes <{1}> >{5}< [rendered]
+chunk {1} ab.js (ab) 0 bytes <{7}> >{3}< [rendered]
> [5] ./index.js 1:0-6:8
- [0] ./modules/a.js 0 bytes {2} {3} [built]
- [1] ./modules/b.js 0 bytes {2} {3} [built]
-chunk {3} abd.js (abd) 0 bytes <{1}> >{6}< [rendered]
+ [0] ./modules/a.js 0 bytes {1} {2} [built]
+ [1] ./modules/b.js 0 bytes {1} {2} [built]
+chunk {2} abd.js (abd) 0 bytes <{7}> >{4}< [rendered]
> [5] ./index.js 8:0-11:9
- [0] ./modules/a.js 0 bytes {2} {3} [built]
- [1] ./modules/b.js 0 bytes {2} {3} [built]
- [3] ./modules/d.js 0 bytes {3} {6} [built]
-chunk {4} cir2.js (cir2) 81 bytes <{1}> >{0}< [rendered]
- > [5] ./index.js 14:0-54
- [7] ./circular2.js 81 bytes {4} {7} [built]
-chunk {5} ac in ab.js (ac in ab) 0 bytes <{2}> >{6}< [rendered]
+ [0] ./modules/a.js 0 bytes {1} {2} [built]
+ [1] ./modules/b.js 0 bytes {1} {2} [built]
+ [3] ./modules/d.js 0 bytes {2} {4} [built]
+chunk {3} ac in ab.js (ac in ab) 0 bytes <{1}> >{4}< [rendered]
> [5] ./index.js 2:1-5:15
- [4] ./modules/c.js 0 bytes {5} {6} [built]
-chunk {6} chunk.js (chunk) 0 bytes <{3}> <{5}> [rendered]
+ [4] ./modules/c.js 0 bytes {3} {4} [built]
+chunk {4} chunk.js (chunk) 0 bytes <{2}> <{3}> [rendered]
> [5] ./index.js 3:2-4:13
> [5] ./index.js 9:1-10:12
- [3] ./modules/d.js 0 bytes {3} {6} [built]
- [4] ./modules/c.js 0 bytes {5} {6} [built]
-chunk {7} cir2 from cir1.js (cir2 from cir1) 81 bytes <{0}> [rendered]
+ [3] ./modules/d.js 0 bytes {2} {4} [built]
+ [4] ./modules/c.js 0 bytes {3} {4} [built]
+chunk {5} cir2.js (cir2) 81 bytes <{7}> >{0}< [rendered]
+ > [5] ./index.js 14:0-54
+ [7] ./circular2.js 81 bytes {5} {6} [built]
+chunk {6} cir2 from cir1.js (cir2 from cir1) 81 bytes <{0}> [rendered]
> [6] ./circular1.js 1:0-79
> [6] ./circular1.js 1:0-79
- [7] ./circular2.js 81 bytes {4} {7} [built]
- [8] ./modules/e.js 0 bytes {7} [built]"
+ [7] ./circular2.js 81 bytes {5} {6} [built]
+ [8] ./modules/e.js 0 bytes {6} [built]
+chunk {7} main.js (main) 523 bytes >{0}< >{1}< >{2}< >{5}< [entry] [rendered]
+ > ./index main
+ [2] ./modules/f.js 0 bytes {7} [built]
+ [5] ./index.js 523 bytes {7} [built]"
`;
exports[`StatsTestCases should print correct stats for parse-error 1`] = `
@@ -1702,34 +1702,34 @@ exports[`StatsTestCases should print correct stats for performance-disabled 1`]
"Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 301 KiB 0 [emitted] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main = main.js
[0] ./index.js 52 bytes {0} [built]
[1] ./a.js 293 KiB {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]"
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]"
`;
exports[`StatsTestCases should print correct stats for performance-error 1`] = `
"Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 301 KiB 0 [emitted] [big] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main [big] = main.js
[0] ./index.js 52 bytes {0} [built]
[1] ./a.js 293 KiB {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]
ERROR in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
@@ -1778,17 +1778,17 @@ exports[`StatsTestCases should print correct stats for performance-no-hints 1`]
"Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 301 KiB 0 [emitted] [big] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main [big] = main.js
[0] ./index.js 52 bytes {0} [built]
[1] ./a.js 293 KiB {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]"
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]"
`;
exports[`StatsTestCases should print correct stats for performance-oversize-limit-error 1`] = `
@@ -1824,85 +1824,85 @@ For more info visit https://webpack.js.org/guides/code-splitting/"
exports[`StatsTestCases should print correct stats for prefetch 1`] = `
" Asset Size Chunks Chunk Names
- main.js 9.66 KiB 0 [emitted] main
- prefetched.js 475 bytes 1 [emitted] prefetched
- normal.js 130 bytes 2 [emitted] normal
-prefetched2.js 127 bytes 3 [emitted] prefetched2
-prefetched3.js 130 bytes 4 [emitted] prefetched3
- inner.js 130 bytes 5 [emitted] inner
- inner2.js 188 bytes 6 [emitted] inner2
+ inner.js 130 bytes 0 [emitted] inner
+ inner2.js 188 bytes 1 [emitted] inner2
+ main.js 9.66 KiB 2 [emitted] main
+ normal.js 130 bytes 3 [emitted] normal
+ prefetched.js 475 bytes 4 [emitted] prefetched
+prefetched2.js 127 bytes 5 [emitted] prefetched2
+prefetched3.js 130 bytes 6 [emitted] prefetched3
Entrypoint main = main.js (prefetch: prefetched2.js prefetched.js prefetched3.js)
-chunk {0} main.js (main) 436 bytes >{1}< >{2}< >{3}< >{4}< (prefetch: {3} {1} {4}) [entry] [rendered]
-chunk {1} prefetched.js (prefetched) 228 bytes <{0}> >{5}< >{6}< (prefetch: {6} {5}) [rendered]
-chunk {2} normal.js (normal) 0 bytes <{0}> [rendered]
-chunk {3} prefetched2.js (prefetched2) 0 bytes <{0}> [rendered]
-chunk {4} prefetched3.js (prefetched3) 0 bytes <{0}> [rendered]
-chunk {5} inner.js (inner) 0 bytes <{1}> [rendered]
-chunk {6} inner2.js (inner2) 0 bytes <{1}> [rendered]"
+chunk {0} inner.js (inner) 0 bytes <{4}> [rendered]
+chunk {1} inner2.js (inner2) 0 bytes <{4}> [rendered]
+chunk {2} main.js (main) 436 bytes >{3}< >{4}< >{5}< >{6}< (prefetch: {5} {4} {6}) [entry] [rendered]
+chunk {3} normal.js (normal) 0 bytes <{2}> [rendered]
+chunk {4} prefetched.js (prefetched) 228 bytes <{2}> >{0}< >{1}< (prefetch: {1} {0}) [rendered]
+chunk {5} prefetched2.js (prefetched2) 0 bytes <{2}> [rendered]
+chunk {6} prefetched3.js (prefetched3) 0 bytes <{2}> [rendered]"
`;
exports[`StatsTestCases should print correct stats for prefetch-preload-mixed 1`] = `
-"chunk {0} main.js (main) 195 bytes >{1}< >{2}< >{3}< (prefetch: {1} {2} {3}) [entry] [rendered]
-chunk {1} a.js (a) 136 bytes <{0}> >{4}< >{5}< (prefetch: {4} {5}) [rendered]
-chunk {2} b.js (b) 203 bytes <{0}> >{6}< >{7}< >{8}< (prefetch: {6} {8}) (preload: {7}) [rendered]
-chunk {3} c.js (c) 134 bytes <{0}> >{9}< >{10}< (preload: {9} {10}) [rendered]
-chunk {4} a1.js (a1) 0 bytes <{1}> [rendered]
-chunk {5} a2.js (a2) 0 bytes <{1}> [rendered]
-chunk {6} b1.js (b1) 0 bytes <{2}> [rendered]
-chunk {7} b2.js (b2) 0 bytes <{2}> [rendered]
-chunk {8} b3.js (b3) 0 bytes <{2}> [rendered]
-chunk {9} c1.js (c1) 0 bytes <{3}> [rendered]
-chunk {10} c2.js (c2) 0 bytes <{3}> [rendered]"
+"chunk {0} a.js (a) 136 bytes <{10}> >{1}< >{2}< (prefetch: {1} {2}) [rendered]
+chunk {1} a1.js (a1) 0 bytes <{0}> [rendered]
+chunk {2} a2.js (a2) 0 bytes <{0}> [rendered]
+chunk {3} b.js (b) 203 bytes <{10}> >{4}< >{5}< >{6}< (prefetch: {4} {6}) (preload: {5}) [rendered]
+chunk {4} b1.js (b1) 0 bytes <{3}> [rendered]
+chunk {5} b2.js (b2) 0 bytes <{3}> [rendered]
+chunk {6} b3.js (b3) 0 bytes <{3}> [rendered]
+chunk {7} c.js (c) 134 bytes <{10}> >{8}< >{9}< (preload: {8} {9}) [rendered]
+chunk {8} c1.js (c1) 0 bytes <{7}> [rendered]
+chunk {9} c2.js (c2) 0 bytes <{7}> [rendered]
+chunk {10} main.js (main) 195 bytes >{0}< >{3}< >{7}< (prefetch: {0} {3} {7}) [entry] [rendered]"
`;
exports[`StatsTestCases should print correct stats for preload 1`] = `
" Asset Size Chunks Chunk Names
- main.js 9.87 KiB 0 [emitted] main
- preloaded.js 467 bytes 1 [emitted] preloaded
- normal.js 130 bytes 2 [emitted] normal
-preloaded2.js 127 bytes 3 [emitted] preloaded2
-preloaded3.js 130 bytes 4 [emitted] preloaded3
- inner.js 130 bytes 5 [emitted] inner
- inner2.js 188 bytes 6 [emitted] inner2
+ inner.js 130 bytes 0 [emitted] inner
+ inner2.js 188 bytes 1 [emitted] inner2
+ main.js 9.87 KiB 2 [emitted] main
+ normal.js 130 bytes 3 [emitted] normal
+ preloaded.js 467 bytes 4 [emitted] preloaded
+preloaded2.js 127 bytes 5 [emitted] preloaded2
+preloaded3.js 130 bytes 6 [emitted] preloaded3
Entrypoint main = main.js (preload: preloaded2.js preloaded.js preloaded3.js)
-chunk {0} main.js (main) 424 bytes >{1}< >{2}< >{3}< >{4}< (preload: {3} {1} {4}) [entry] [rendered]
-chunk {1} preloaded.js (preloaded) 226 bytes <{0}> >{5}< >{6}< (preload: {6} {5}) [rendered]
-chunk {2} normal.js (normal) 0 bytes <{0}> [rendered]
-chunk {3} preloaded2.js (preloaded2) 0 bytes <{0}> [rendered]
-chunk {4} preloaded3.js (preloaded3) 0 bytes <{0}> [rendered]
-chunk {5} inner.js (inner) 0 bytes <{1}> [rendered]
-chunk {6} inner2.js (inner2) 0 bytes <{1}> [rendered]"
+chunk {0} inner.js (inner) 0 bytes <{4}> [rendered]
+chunk {1} inner2.js (inner2) 0 bytes <{4}> [rendered]
+chunk {2} main.js (main) 424 bytes >{3}< >{4}< >{5}< >{6}< (preload: {5} {4} {6}) [entry] [rendered]
+chunk {3} normal.js (normal) 0 bytes <{2}> [rendered]
+chunk {4} preloaded.js (preloaded) 226 bytes <{2}> >{0}< >{1}< (preload: {1} {0}) [rendered]
+chunk {5} preloaded2.js (preloaded2) 0 bytes <{2}> [rendered]
+chunk {6} preloaded3.js (preloaded3) 0 bytes <{2}> [rendered]"
`;
exports[`StatsTestCases should print correct stats for preset-detailed 1`] = `
-"Hash: c85b33cafbe774edeafb
+"Hash: 74c1077c7c112260f938
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 8.29 KiB 0 [emitted] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main = main.js
-chunk {0} main.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
+chunk {0} main.js (main) 73 bytes >{2}< >{3}< [entry] [rendered]
> ./index main
-chunk {1} 1.js 22 bytes <{0}> [rendered]
+chunk {1} 1.js 44 bytes <{3}> [rendered]
+ > [3] ./c.js 1:0-52
+chunk {2} 2.js 22 bytes <{0}> [rendered]
> ./b [0] ./index.js 2:0-16
-chunk {2} 2.js 54 bytes <{0}> >{3}< [rendered]
+chunk {3} 3.js 54 bytes <{0}> >{1}< [rendered]
> ./c [0] ./index.js 3:0-16
-chunk {3} 3.js 44 bytes <{2}> [rendered]
- > [3] ./c.js 1:0-52
[0] ./index.js 51 bytes {0} [depth 0] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
[1] ./a.js 22 bytes {0} [depth 1] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
-[2] ./b.js 22 bytes {1} [depth 1] [built]
+[2] ./b.js 22 bytes {2} [depth 1] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
-[3] ./c.js 54 bytes {2} [depth 1] [built]
+[3] ./c.js 54 bytes {3} [depth 1] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
-[4] ./d.js 22 bytes {3} [depth 2] [built]
+[4] ./d.js 22 bytes {1} [depth 2] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
-[5] ./e.js 22 bytes {3} [depth 2] [built]
+[5] ./e.js 22 bytes {1} [depth 2] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module"
`;
@@ -1934,38 +1934,38 @@ 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: c85b33cafbe774edeafb
+"Hash: 74c1077c7c112260f938
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 8.29 KiB 0 [emitted] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main = main.js
[0] ./index.js 51 bytes {0} [built]
[1] ./a.js 22 bytes {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]"
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]"
`;
exports[`StatsTestCases should print correct stats for preset-normal-performance 1`] = `
"Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 301 KiB 0 [emitted] [big] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main [big] = main.js
[0] ./index.js 52 bytes {0} [built]
[1] ./a.js 293 KiB {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
@@ -1983,21 +1983,21 @@ exports[`StatsTestCases should print correct stats for preset-normal-performance
"Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 262 bytes 1 [emitted]
+ 1.js.map 216 bytes 1 [emitted]
+ 2.js 182 bytes 2 [emitted]
+ 2.js.map 156 bytes 2 [emitted]
+ 3.js 319 bytes 3 [emitted]
+ 3.js.map 210 bytes 3 [emitted]
main.js 301 KiB 0 [emitted] [big] main
- 1.js 182 bytes 1 [emitted]
- 2.js 319 bytes 2 [emitted]
- 3.js 262 bytes 3 [emitted]
main.js.map 1.72 MiB 0 [emitted] main
- 1.js.map 156 bytes 1 [emitted]
- 2.js.map 210 bytes 2 [emitted]
- 3.js.map 216 bytes 3 [emitted]
Entrypoint main [big] = main.js main.js.map
[0] ./index.js 52 bytes {0} [built]
[1] ./a.js 293 KiB {0} [built]
-[2] ./b.js 22 bytes {1} [built]
-[3] ./c.js 54 bytes {2} [built]
-[4] ./d.js 22 bytes {3} [built]
-[5] ./e.js 22 bytes {3} [built]
+[2] ./b.js 22 bytes {2} [built]
+[3] ./c.js 54 bytes {3} [built]
+[4] ./d.js 22 bytes {1} [built]
+[5] ./e.js 22 bytes {1} [built]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
@@ -2012,16 +2012,16 @@ Entrypoints:
`;
exports[`StatsTestCases should print correct stats for preset-verbose 1`] = `
-"Hash: c85b33cafbe774edeafb
+"Hash: 74c1077c7c112260f938
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
+ 1.js 232 bytes 1 [emitted]
+ 2.js 152 bytes 2 [emitted]
+ 3.js 289 bytes 3 [emitted]
main.js 8.29 KiB 0 [emitted] main
- 1.js 152 bytes 1 [emitted]
- 2.js 289 bytes 2 [emitted]
- 3.js 232 bytes 3 [emitted]
Entrypoint main = main.js
-chunk {0} main.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
+chunk {0} main.js (main) 73 bytes >{2}< >{3}< [entry] [rendered]
> ./index main
[0] ./index.js 51 bytes {0} [depth 0] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
@@ -2031,28 +2031,28 @@ chunk {0} main.js (main) 73 bytes >{1}< >{2}< [entry] [rendered]
ModuleConcatenation bailout: Module is not an ECMAScript module
cjs require ./a [0] ./index.js 1:0-14
[0] Xms -> factory:Xms building:Xms = Xms
-chunk {1} 1.js 22 bytes <{0}> [rendered]
+chunk {1} 1.js 44 bytes <{3}> [rendered]
+ > [3] ./c.js 1:0-52
+ [4] ./d.js 22 bytes {1} [depth 2] [built]
+ ModuleConcatenation bailout: Module is not an ECMAScript module
+ require.ensure item ./d [3] ./c.js 1:0-52
+ [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
+ [5] ./e.js 22 bytes {1} [depth 2] [built]
+ ModuleConcatenation bailout: Module is not an ECMAScript module
+ require.ensure item ./e [3] ./c.js 1:0-52
+ [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
+chunk {2} 2.js 22 bytes <{0}> [rendered]
> ./b [0] ./index.js 2:0-16
- [2] ./b.js 22 bytes {1} [depth 1] [built]
+ [2] ./b.js 22 bytes {2} [depth 1] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
amd require ./b [0] ./index.js 2:0-16
[0] Xms -> factory:Xms building:Xms = Xms
-chunk {2} 2.js 54 bytes <{0}> >{3}< [rendered]
+chunk {3} 3.js 54 bytes <{0}> >{1}< [rendered]
> ./c [0] ./index.js 3:0-16
- [3] ./c.js 54 bytes {2} [depth 1] [built]
+ [3] ./c.js 54 bytes {3} [depth 1] [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
amd require ./c [0] ./index.js 3:0-16
- [0] Xms -> factory:Xms building:Xms = Xms
-chunk {3} 3.js 44 bytes <{2}> [rendered]
- > [3] ./c.js 1:0-52
- [4] ./d.js 22 bytes {3} [depth 2] [built]
- ModuleConcatenation bailout: Module is not an ECMAScript module
- require.ensure item ./d [3] ./c.js 1:0-52
- [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms
- [5] ./e.js 22 bytes {3} [depth 2] [built]
- ModuleConcatenation bailout: Module is not an ECMAScript module
- require.ensure item ./e [3] ./c.js 1:0-52
- [0] Xms -> [3] Xms -> factory:Xms building:Xms = Xms"
+ [0] Xms -> factory:Xms building:Xms = Xms"
`;
exports[`StatsTestCases should print correct stats for resolve-plugin-context 1`] = `
@@ -2076,10 +2076,10 @@ Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
main.js 6.81 KiB 0 [emitted] main
Entrypoint main = main.js
-[29] ./c.js?10 33 bytes {0} [built]
[27] ./c.js?9 33 bytes {0} [built]
[25] ./c.js?8 33 bytes {0} [built]
[23] ./c.js?7 33 bytes {0} [built]
+[21] ./c.js?6 33 bytes {0} [built]
[19] ./c.js?5 33 bytes {0} [built]
[17] ./c.js?4 33 bytes {0} [built]
[15] ./c.js?3 33 bytes {0} [built]
@@ -2118,8 +2118,8 @@ exports[`StatsTestCases should print correct stats for runtime-chunk-integration
Child manifest is named entry:
Asset Size Chunks Chunk Names
0.js 737 bytes 0 [emitted]
- manifest.js 9.06 KiB 1 [emitted] manifest
main1.js 539 bytes 2 [emitted] main1
+ manifest.js 9.06 KiB 1 [emitted] manifest
Entrypoint main1 = manifest.js main1.js
Entrypoint manifest = manifest.js
[0] ./main1.js 66 bytes {2} [built]
@@ -2140,28 +2140,28 @@ Entrypoint e2 = runtime.js e2.js"
`;
exports[`StatsTestCases should print correct stats for scope-hoisting-bailouts 1`] = `
-"Hash: d7e4799958b26e135578
+"Hash: bd84308e814e94341483
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint index = index.js
Entrypoint entry = entry.js
[0] ./entry.js 32 bytes {0} {1} [built]
ModuleConcatenation bailout: Module is an entry point
-[1] ./ref-from-cjs.js 45 bytes {0} [built]
+[1] ./ref-from-cjs.js 45 bytes {1} [built]
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./cjs.js (referenced with cjs require)
-[2] ./index.js 176 bytes {0} [built]
+[2] ./index.js 176 bytes {1} [built]
ModuleConcatenation bailout: Module is an entry point
-[3] ./cjs.js 59 bytes {0} [built]
+[3] ./cjs.js 59 bytes {1} [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
-[4] ./eval.js 35 bytes {0} [built]
+[4] ./eval.js 35 bytes {1} [built]
ModuleConcatenation bailout: Module uses eval()
-[5] ./injected-vars.js 40 bytes {0} [built]
+[5] ./injected-vars.js 40 bytes {1} [built]
ModuleConcatenation bailout: Module uses injected variables (__dirname, __filename)
-[6] ./module-id.js 26 bytes {0} [built]
+[6] ./module-id.js 26 bytes {1} [built]
ModuleConcatenation bailout: Module uses module.id
-[7] ./module-loaded.js 30 bytes {0} [built]
+[7] ./module-loaded.js 30 bytes {1} [built]
ModuleConcatenation bailout: Module uses module.loaded
-[8] external \\"external\\" 42 bytes {0} [built]
+[8] external \\"external\\" 42 bytes {1} [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
[9] ./concatenated.js + 2 modules 116 bytes {2} [built]
ModuleConcatenation bailout: Cannot concat with external \\"external\\" (<- Module is not an ECMAScript module)
@@ -2172,38 +2172,38 @@ Entrypoint entry = entry.js
`;
exports[`StatsTestCases should print correct stats for scope-hoisting-multi 1`] = `
-"Hash: 02301c60b99f76e0864b7ec4f288d7e597e59716
+"Hash: 6c533d1d4bdbf3084c6b2d1c053d3d2d97b18b5b
Child
- Hash: 02301c60b99f76e0864b
+ Hash: 6c533d1d4bdbf3084c6b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint first = vendor.js first.js
Entrypoint second = vendor.js second.js
- [0] ./common2.js 25 bytes {1} {2} [built]
- [1] ./common.js 37 bytes {1} {2} [built]
+ [0] ./common2.js 25 bytes {1} {5} [built]
+ [1] ./common.js 37 bytes {1} {5} [built]
[2] ./vendor.js 25 bytes {0} [built]
[3] ./lazy_shared.js 31 bytes {4} [built]
[4] ./first.js 207 bytes {1} [built]
[5] ./module_first.js 31 bytes {1} [built]
- [6] ./second.js 177 bytes {2} [built]
- [7] ./lazy_first.js 55 bytes {3} [built]
- [8] ./lazy_second.js 55 bytes {5} [built]
- [9] ./common_lazy_shared.js 25 bytes {3} {4} {5} [built]
- [10] ./common_lazy.js 25 bytes {3} {5} [built]
+ [6] ./second.js 177 bytes {5} [built]
+ [7] ./lazy_first.js 55 bytes {2} [built]
+ [8] ./lazy_second.js 55 bytes {3} [built]
+ [9] ./common_lazy_shared.js 25 bytes {2} {3} {4} [built]
+ [10] ./common_lazy.js 25 bytes {2} {3} [built]
Child
- Hash: 7ec4f288d7e597e59716
+ Hash: 2d1c053d3d2d97b18b5b
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Entrypoint first = vendor.js first.js
Entrypoint second = vendor.js second.js
- [0] ./common.js + 1 modules 62 bytes {1} {2} [built]
+ [0] ./common.js + 1 modules 62 bytes {1} {5} [built]
| ./common.js 37 bytes [built]
| ./common2.js 25 bytes [built]
[1] ./vendor.js 25 bytes {0} [built]
- [2] ./second.js 177 bytes {2} [built]
+ [2] ./second.js 177 bytes {5} [built]
ModuleConcatenation bailout: Module is an entry point
- [3] ./common_lazy_shared.js 25 bytes {3} {4} {5} [built]
- [4] ./common_lazy.js 25 bytes {3} {5} [built]
+ [3] ./common_lazy_shared.js 25 bytes {2} {3} {4} [built]
+ [4] ./common_lazy.js 25 bytes {2} {3} [built]
[5] ./lazy_shared.js 31 bytes {4} [built]
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./first.js (referenced with import()), ./second.js (referenced with import())
[6] ./first.js + 1 modules 248 bytes {1} [built]
@@ -2212,9 +2212,9 @@ Child
| ./first.js 207 bytes [built]
| ModuleConcatenation bailout: Module is an entry point
| ./module_first.js 31 bytes [built]
- [7] ./lazy_second.js 55 bytes {5} [built]
+ [7] ./lazy_second.js 55 bytes {3} [built]
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./second.js (referenced with import())
- [8] ./lazy_first.js 55 bytes {3} [built]
+ [8] ./lazy_first.js 55 bytes {2} [built]
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./first.js (referenced with import())"
`;
@@ -2223,8 +2223,8 @@ exports[`StatsTestCases should print correct stats for side-effects-issue-7428 1
Time: Xms
Built at: Thu Jan 01 1970 00:00:00 GMT
Asset Size Chunks Chunk Names
-main.js 9.35 KiB 0 [emitted] main
1.js 481 bytes 1 [emitted]
+main.js 9.35 KiB 0 [emitted] main
Entrypoint main = main.js
[0] ./components/src/CompAB/index.js 87 bytes [built]
[no exports used]
@@ -2247,8 +2247,8 @@ Entrypoint main = main.js
[only some exports used: default]
harmony side effect evaluation ./CompA [0] ./components/src/CompAB/index.js 1:0-43
harmony export imported specifier ./CompA [0] ./components/src/CompAB/index.js 1:0-43
- harmony import specifier ./components ./main.js 3:15-20 (skipped side-effect-free modules)
harmony import specifier ./components [6] ./foo.js 3:20-25 (skipped side-effect-free modules)
+ harmony import specifier ./components ./main.js 3:15-20 (skipped side-effect-free modules)
[5] ./components/src/CompAB/utils.js 97 bytes {0} [built]
harmony side effect evaluation ./utils [4] ./components/src/CompAB/CompA.js 1:0-35
harmony import specifier ./utils [4] ./components/src/CompAB/CompA.js 5:5-12
@@ -2314,499 +2314,499 @@ exports[`StatsTestCases should print correct stats for split-chunks 1`] = `
Entrypoint a = default/a.js
Entrypoint b = default/b.js
Entrypoint c = default/c.js
- chunk {0} default/vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{4}> ={1}= ={2}= ={3}= ={8}= ={9}= ={10}= ={12}= >{2}< >{11}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
+ chunk {0} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{11}> ={1}= ={2}= ={3}= ={5}= ={6}= ={7}= ={12}= >{1}< >{8}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- chunk {1} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{4}> ={0}= ={2}= ={3}= ={8}= ={9}= ={10}= ={12}= >{2}< >{11}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
- > ./a [8] ./index.js 1:0-47
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ chunk {1} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{2}> <{3}> <{4}> <{5}> <{11}> ={0}= ={2}= ={3}= ={6}= ={7}= ={8}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- chunk {2} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{3}> <{4}> <{5}> <{8}> ={0}= ={1}= ={3}= ={9}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./g [] 6:0-47
> ./g [] 6:0-47
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ chunk {2} default/vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{11}> ={0}= ={1}= ={3}= ={5}= ={6}= ={7}= ={12}= >{1}< >{8}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
+ > ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{4}> ={0}= ={1}= ={2}= ={8}= ={9}= >{2}< >{11}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b)
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{11}> ={0}= ={1}= ={2}= ={5}= ={6}= >{1}< >{8}< [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- chunk {4} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{8}< >{9}< >{10}< >{12}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {4} [built]
- chunk {5} default/a.js (a) 216 bytes >{2}< >{11}< [entry] [rendered]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ chunk {4} default/a.js (a) 216 bytes >{1}< >{8}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- [6] ./a.js + 1 modules 156 bytes {5} {8} [built]
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {4} {5} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {6} default/b.js (b) 152 bytes [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- [3] ./node_modules/y.js 20 bytes {3} {5} {6} [built]
- [4] ./b.js 72 bytes {6} {9} [built]
- chunk {7} default/c.js (c) 152 bytes [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {1} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {2} {6} {7} [built]
- [5] ./c.js 72 bytes {7} {10} [built]
- [7] ./node_modules/z.js 20 bytes {7} {12} [built]
- chunk {8} default/async-a.js (async-a) 156 bytes <{4}> ={0}= ={1}= ={3}= >{2}< >{11}< [rendered]
+ chunk {5} default/async-a.js (async-a) 156 bytes <{11}> ={0}= ={2}= ={3}= >{1}< >{8}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {5} {8} [built]
+ [6] ./a.js + 1 modules 156 bytes {4} {5} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {9} default/async-b.js (async-b) 72 bytes <{4}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {6} default/async-b.js (async-b) 72 bytes <{11}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {6} {9} [built]
- chunk {10} default/async-c.js (async-c) 72 bytes <{4}> ={0}= ={1}= ={2}= ={12}= [rendered]
+ chunk {7} default/async-c.js (async-c) 72 bytes <{11}> ={0}= ={1}= ={2}= ={12}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {7} {10} [built]
- chunk {11} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{3}> <{5}> <{8}> ={2}= [rendered]
+ chunk {8} default/async-g.js (async-g) 34 bytes <{0}> <{2}> <{3}> <{4}> <{5}> ={1}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {11} [built]
- chunk {12} default/vendors~async-c.js (vendors~async-c) 20 bytes <{4}> ={0}= ={1}= ={2}= ={10}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c)
+ [9] ./g.js 34 bytes {8} [built]
+ chunk {9} default/b.js (b) 152 bytes [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ [3] ./node_modules/y.js 20 bytes {3} {4} {9} [built]
+ [4] ./b.js 72 bytes {6} {9} [built]
+ chunk {10} default/c.js (c) 152 bytes [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {0} {4} {9} {10} [built]
+ [1] ./node_modules/x.js 20 bytes {2} {4} {9} {10} [built]
+ [2] ./f.js 20 bytes {1} {9} {10} [built]
+ [5] ./c.js 72 bytes {7} {10} [built]
+ [7] ./node_modules/z.js 20 bytes {10} {12} [built]
+ chunk {11} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{12}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {11} [built]
+ chunk {12} default/vendors~async-c.js (vendors~async-c) 20 bytes <{11}> ={0}= ={1}= ={2}= ={7}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c)
> ./c [8] ./index.js 3:0-47
- [7] ./node_modules/z.js 20 bytes {7} {12} [built]
+ [7] ./node_modules/z.js 20 bytes {10} {12} [built]
Child all-chunks:
Entrypoint main = default/main.js
Entrypoint a = default/vendors~a~async-a~async-b~async-c~b~c.js default/vendors~a~async-a~async-b~b.js default/a.js
Entrypoint b = default/vendors~a~async-a~async-b~async-c~b~c.js default/vendors~a~async-a~async-b~b.js default/b.js
Entrypoint c = default/vendors~a~async-a~async-b~async-c~b~c.js default/vendors~async-c~c.js default/c.js
- chunk {0} default/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{5}> ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
- > ./a a
- > ./b b
- > ./c c
+ chunk {0} default/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{12}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [2] ./node_modules/x.js 20 bytes {0} [built]
- chunk {1} default/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{5}> ={0}= ={2}= ={3}= ={6}= ={7}= ={9}= ={10}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a a
> ./b b
+ > ./c c
+ [2] ./node_modules/x.js 20 bytes {0} [built]
+ chunk {1} default/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{12}> ={0}= ={2}= ={3}= ={5}= ={6}= ={7}= ={10}= >{3}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
+ > ./a a
+ > ./b b
[3] ./node_modules/y.js 20 bytes {1} [built]
- chunk {2} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{5}> ={0}= ={1}= ={3}= ={4}= ={9}= ={10}= ={11}= >{3}< >{12}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
+ chunk {2} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{12}> ={0}= ={1}= ={3}= ={4}= ={6}= ={7}= ={8}= >{3}< >{9}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- chunk {3} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{9}> ={0}= ={1}= ={2}= ={4}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ chunk {3} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{12}> ={0}= ={1}= ={2}= ={4}= ={7}= ={8}= ={9}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
+ > ./b [8] ./index.js 2:0-47
+ > ./c [8] ./index.js 3:0-47
> ./g [] 6:0-47
> ./g [] 6:0-47
- > ./b [8] ./index.js 2:0-47
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{12}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c [8] ./index.js 3:0-47
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{5}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c c
- > ./c [8] ./index.js 3:0-47
[7] ./node_modules/z.js 20 bytes {4} [built]
- chunk {5} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{9}< >{10}< >{11}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {5} [built]
- chunk {6} default/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{12}< [entry] [rendered]
+ chunk {5} default/a.js (a) 176 bytes ={0}= ={1}= >{3}< >{9}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {7} default/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [4] ./b.js 72 bytes {7} {10} [built]
- chunk {8} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./f.js 20 bytes {3} {7} {8} [built]
- [5] ./c.js 72 bytes {8} {11} [built]
- chunk {9} default/async-a.js (async-a) 156 bytes <{5}> ={0}= ={1}= ={2}= >{3}< >{12}< [rendered]
+ chunk {6} default/async-a.js (async-a) 156 bytes <{12}> ={0}= ={1}= ={2}= >{3}< >{9}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {10} default/async-b.js (async-b) 72 bytes <{5}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {7} default/async-b.js (async-b) 72 bytes <{12}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {7} {10} [built]
- chunk {11} default/async-c.js (async-c) 72 bytes <{5}> ={0}= ={2}= ={3}= ={4}= [rendered]
+ chunk {8} default/async-c.js (async-c) 72 bytes <{12}> ={0}= ={2}= ={3}= ={4}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {8} {11} [built]
- chunk {12} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{6}> <{9}> ={3}= [rendered]
+ chunk {9} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{5}> <{6}> ={3}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {12} [built]
+ [9] ./g.js 34 bytes {9} [built]
+ chunk {10} default/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [4] ./b.js 72 bytes {7} {10} [built]
+ chunk {11} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {2} {5} {10} {11} [built]
+ [1] ./f.js 20 bytes {3} {10} {11} [built]
+ [5] ./c.js 72 bytes {8} {11} [built]
+ chunk {12} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {12} [built]
Child manual:
Entrypoint main = default/main.js
Entrypoint a = default/vendors.js default/a.js
Entrypoint b = default/vendors.js default/b.js
Entrypoint c = default/vendors.js default/c.js
- chunk {0} default/vendors.js (vendors) 112 bytes <{1}> ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= >{8}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
- > ./a a
- > ./b b
- > ./c c
+ chunk {0} default/vendors.js (vendors) 112 bytes <{8}> ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
+ > ./a a
+ > ./b b
+ > ./c c
[1] ./node_modules/x.js 20 bytes {0} [built]
[3] ./node_modules/y.js 20 bytes {0} [built]
[6] ./node_modules/z.js 20 bytes {0} [built]
[9] multi x y z 52 bytes {0} [built]
- chunk {1} default/main.js (main) 147 bytes >{0}< >{5}< >{6}< >{7}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {1} [built]
- chunk {2} default/a.js (a) 176 bytes ={0}= >{8}< [entry] [rendered]
+ chunk {1} default/a.js (a) 176 bytes ={0}= >{5}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [7] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [7] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {3} default/b.js (b) 112 bytes ={0}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [4] ./b.js 72 bytes {3} {6} [built]
- chunk {4} default/c.js (c) 112 bytes ={0}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [5] ./c.js 72 bytes {4} {7} [built]
- chunk {5} default/async-a.js (async-a) 176 bytes <{1}> ={0}= >{8}< [rendered]
+ chunk {2} default/async-a.js (async-a) 176 bytes <{8}> ={0}= >{5}< [rendered]
> ./a [8] ./index.js 1:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [7] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [7] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {6} default/async-b.js (async-b) 112 bytes <{1}> ={0}= [rendered]
+ chunk {3} default/async-b.js (async-b) 112 bytes <{8}> ={0}= [rendered]
> ./b [8] ./index.js 2:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
[4] ./b.js 72 bytes {3} {6} [built]
- chunk {7} default/async-c.js (async-c) 112 bytes <{1}> ={0}= [rendered]
+ chunk {4} default/async-c.js (async-c) 112 bytes <{8}> ={0}= [rendered]
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
[5] ./c.js 72 bytes {4} {7} [built]
- chunk {8} default/async-g.js (async-g) 54 bytes <{0}> <{2}> <{5}> [rendered]
+ chunk {5} default/async-g.js (async-g) 54 bytes <{0}> <{1}> <{2}> [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [2] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [10] ./g.js 34 bytes {8} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [10] ./g.js 34 bytes {5} [built]
+ chunk {6} default/b.js (b) 112 bytes ={0}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [4] ./b.js 72 bytes {3} {6} [built]
+ chunk {7} default/c.js (c) 112 bytes ={0}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [2] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [5] ./c.js 72 bytes {4} {7} [built]
+ chunk {8} default/main.js (main) 147 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {8} [built]
Child name-too-long:
Entrypoint main = main.js
Entrypoint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f.js vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793.js async-a.js aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js
Entrypoint bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb = vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f.js vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793.js async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc.js async-b.js bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js
Entrypoint cccccccccccccccccccccccccccccc = vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f.js vendors~async-c~cccccccccccccccccccccccccccccc.js aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793.js async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc.js async-c.js cccccccccccccccccccccccccccccc.js
- chunk {0} vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f.js (vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f) 20 bytes <{8}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={9}= ={10}= ={11}= >{2}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f)
+ chunk {0} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793) 20 bytes <{12}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= >{2}< >{9}< [initial] [rendered] split chunk (cache group: default) (name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793)
+ > ./a [4] ./index.js 1:0-47
+ > ./b [4] ./index.js 2:0-47
+ > ./c [4] ./index.js 3:0-47
> ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
> ./c cccccccccccccccccccccccccccccc
+ [0] ./d.js 20 bytes {0} [built]
+ chunk {1} vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f.js (vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f) 20 bytes <{12}> ={0}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= >{2}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccc~50ebc41f)
> ./a [4] ./index.js 1:0-47
> ./b [4] ./index.js 2:0-47
> ./c [4] ./index.js 3:0-47
- [1] ./node_modules/x.js 20 bytes {0} [built]
- chunk {1} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793) 20 bytes <{8}> ={0}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={9}= ={10}= ={11}= >{2}< >{12}< [initial] [rendered] split chunk (cache group: default) (name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793)
> ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
> ./c cccccccccccccccccccccccccccccc
- > ./a [4] ./index.js 1:0-47
+ [1] ./node_modules/x.js 20 bytes {1} [built]
+ chunk {2} async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc.js (async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc) 20 bytes <{0}> <{1}> <{3}> <{4}> <{8}> <{12}> ={0}= ={1}= ={3}= ={5}= ={6}= ={7}= ={9}= ={10}= ={11}= [initial] [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc)
> ./b [4] ./index.js 2:0-47
> ./c [4] ./index.js 3:0-47
- [0] ./d.js 20 bytes {1} [built]
- chunk {2} async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc.js (async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc) 20 bytes <{0}> <{1}> <{3}> <{4}> <{8}> <{9}> ={0}= ={1}= ={3}= ={5}= ={6}= ={7}= ={10}= ={11}= ={12}= [initial] [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc)
> ./g [] 6:0-47
> ./g [] 6:0-47
> ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
> ./c cccccccccccccccccccccccccccccc
- > ./b [4] ./index.js 2:0-47
- > ./c [4] ./index.js 3:0-47
[2] ./f.js 20 bytes {2} [built]
- chunk {3} vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js (vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) 20 bytes <{8}> ={0}= ={1}= ={2}= ={4}= ={5}= ={9}= ={10}= >{2}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb)
- > ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
+ chunk {3} vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js (vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) 20 bytes <{12}> ={0}= ={1}= ={2}= ={4}= ={5}= ={8}= ={10}= >{2}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb)
> ./a [4] ./index.js 1:0-47
> ./b [4] ./index.js 2:0-47
- [3] ./node_modules/y.js 20 bytes {3} [built]
- chunk {4} async-a.js (async-a) 156 bytes <{8}> ={0}= ={1}= ={3}= ={9}= >{2}< >{12}< [initial] [rendered] reused as split chunk (cache group: default)
> ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
+ [3] ./node_modules/y.js 20 bytes {3} [built]
+ chunk {4} async-a.js (async-a) 156 bytes <{12}> ={0}= ={1}= ={3}= ={8}= >{2}< >{9}< [initial] [rendered] reused as split chunk (cache group: default)
> ./a [4] ./index.js 1:0-47
+ > ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
[8] ./a.js + 1 modules 156 bytes {4} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {5} async-b.js (async-b) 72 bytes <{8}> ={0}= ={1}= ={2}= ={3}= ={10}= [initial] [rendered] reused as split chunk (cache group: default)
- > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
+ chunk {5} async-b.js (async-b) 72 bytes <{12}> ={0}= ={1}= ={2}= ={3}= ={10}= [initial] [rendered] reused as split chunk (cache group: default)
> ./b [4] ./index.js 2:0-47
+ > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
[5] ./b.js 72 bytes {5} [built]
- chunk {6} async-c.js (async-c) 72 bytes <{8}> ={0}= ={1}= ={2}= ={7}= ={11}= [initial] [rendered] reused as split chunk (cache group: default)
- > ./c cccccccccccccccccccccccccccccc
+ chunk {6} async-c.js (async-c) 72 bytes <{12}> ={0}= ={1}= ={2}= ={7}= ={11}= [initial] [rendered] reused as split chunk (cache group: default)
> ./c [4] ./index.js 3:0-47
- [6] ./c.js 72 bytes {6} [built]
- chunk {7} vendors~async-c~cccccccccccccccccccccccccccccc.js (vendors~async-c~cccccccccccccccccccccccccccccc) 20 bytes <{8}> ={0}= ={1}= ={2}= ={6}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~cccccccccccccccccccccccccccccc)
> ./c cccccccccccccccccccccccccccccc
+ [6] ./c.js 72 bytes {6} [built]
+ chunk {7} vendors~async-c~cccccccccccccccccccccccccccccc.js (vendors~async-c~cccccccccccccccccccccccccccccc) 20 bytes <{12}> ={0}= ={1}= ={2}= ={6}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~cccccccccccccccccccccccccccccc)
> ./c [4] ./index.js 3:0-47
+ > ./c cccccccccccccccccccccccccccccc
[7] ./node_modules/z.js 20 bytes {7} [built]
- chunk {8} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered]
- > ./ main
- [4] ./index.js 147 bytes {8} [built]
- chunk {9} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) 0 bytes ={0}= ={1}= ={3}= ={4}= >{2}< >{12}< [entry] [rendered]
+ chunk {8} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) 0 bytes ={0}= ={1}= ={3}= ={4}= >{2}< >{9}< [entry] [rendered]
> ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ chunk {9} async-g.js (async-g) 34 bytes <{0}> <{1}> <{3}> <{4}> <{8}> ={2}= [rendered]
+ > ./g [] 6:0-47
+ > ./g [] 6:0-47
+ [9] ./g.js 34 bytes {9} [built]
chunk {10} bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js (bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) 0 bytes ={0}= ={1}= ={2}= ={3}= ={5}= [entry] [rendered]
> ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
chunk {11} cccccccccccccccccccccccccccccc.js (cccccccccccccccccccccccccccccc) 0 bytes ={0}= ={1}= ={2}= ={6}= ={7}= [entry] [rendered]
> ./c cccccccccccccccccccccccccccccc
- chunk {12} async-g.js (async-g) 34 bytes <{0}> <{1}> <{3}> <{4}> <{9}> ={2}= [rendered]
- > ./g [] 6:0-47
- > ./g [] 6:0-47
- [9] ./g.js 34 bytes {12} [built]
+ chunk {12} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered]
+ > ./ main
+ [4] ./index.js 147 bytes {12} [built]
Child custom-chunks-filter:
Entrypoint main = default/main.js
Entrypoint a = default/a.js
Entrypoint b = default/vendors~async-a~async-b~async-c~b~c.js default/vendors~async-a~async-b~b.js default/b.js
Entrypoint c = default/vendors~async-a~async-b~async-c~b~c.js default/vendors~async-c~c.js default/c.js
- chunk {0} default/vendors~async-a~async-b~async-c~b~c.js (vendors~async-a~async-b~async-c~b~c) 20 bytes <{5}> ={1}= ={2}= ={3}= ={4}= ={7}= ={8}= ={9}= ={10}= ={11}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c~b~c)
- > ./b b
- > ./c c
+ chunk {0} default/vendors~async-a~async-b~async-c~b~c.js (vendors~async-a~async-b~async-c~b~c) 20 bytes <{12}> ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={10}= ={11}= >{2}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c~b~c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [1] ./node_modules/x.js 20 bytes {0} {6} [built]
- chunk {1} default/vendors~async-a~async-b~b.js (vendors~async-a~async-b~b) 20 bytes <{5}> ={0}= ={2}= ={3}= ={7}= ={9}= ={10}= >{3}< >{12}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~b)
> ./b b
+ > ./c c
+ [1] ./node_modules/x.js 20 bytes {0} {5} [built]
+ chunk {1} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{12}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{9}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
- [3] ./node_modules/y.js 20 bytes {1} {6} [built]
- chunk {2} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{5}> ={0}= ={1}= ={3}= ={4}= ={9}= ={10}= ={11}= >{3}< >{12}< [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
- > ./a [8] ./index.js 1:0-47
+ > ./c [8] ./index.js 3:0-47
+ [0] ./d.js 20 bytes {1} {5} {10} {11} [built]
+ chunk {2} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{3}> <{5}> <{6}> <{12}> ={0}= ={1}= ={3}= ={4}= ={7}= ={8}= ={9}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- chunk {3} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{2}> <{5}> <{6}> <{9}> ={0}= ={1}= ={2}= ={4}= ={10}= ={11}= ={12}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g)
> ./g [] 6:0-47
> ./g [] 6:0-47
+ [2] ./f.js 20 bytes {2} {10} {11} [built]
+ chunk {3} default/vendors~async-a~async-b~b.js (vendors~async-a~async-b~b) 20 bytes <{12}> ={0}= ={1}= ={2}= ={6}= ={7}= ={10}= >{2}< >{9}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~b)
+ > ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
+ > ./b b
+ [3] ./node_modules/y.js 20 bytes {3} {5} [built]
+ chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{12}> ={0}= ={1}= ={2}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c [8] ./index.js 3:0-47
- [2] ./f.js 20 bytes {3} {7} {8} [built]
- chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{5}> ={0}= ={2}= ={3}= ={8}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
> ./c c
- > ./c [8] ./index.js 3:0-47
[7] ./node_modules/z.js 20 bytes {4} [built]
- chunk {5} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{9}< >{10}< >{11}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {5} [built]
- chunk {6} default/a.js (a) 216 bytes >{3}< >{12}< [entry] [rendered]
+ chunk {5} default/a.js (a) 216 bytes >{2}< >{9}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [1] ./node_modules/x.js 20 bytes {0} {6} [built]
- [3] ./node_modules/y.js 20 bytes {1} {6} [built]
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [0] ./d.js 20 bytes {1} {5} {10} {11} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {5} [built]
+ [3] ./node_modules/y.js 20 bytes {3} {5} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {7} default/b.js (b) 112 bytes ={0}= ={1}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [2] ./f.js 20 bytes {3} {7} {8} [built]
- [4] ./b.js 72 bytes {7} {10} [built]
- chunk {8} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {6} {7} {8} [built]
- [2] ./f.js 20 bytes {3} {7} {8} [built]
- [5] ./c.js 72 bytes {8} {11} [built]
- chunk {9} default/async-a.js (async-a) 156 bytes <{5}> ={0}= ={1}= ={2}= >{3}< >{12}< [rendered]
+ chunk {6} default/async-a.js (async-a) 156 bytes <{12}> ={0}= ={1}= ={3}= >{2}< >{9}< [rendered]
> ./a [8] ./index.js 1:0-47
- [6] ./a.js + 1 modules 156 bytes {6} {9} [built]
+ [6] ./a.js + 1 modules 156 bytes {5} {6} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {10} default/async-b.js (async-b) 72 bytes <{5}> ={0}= ={1}= ={2}= ={3}= [rendered]
+ chunk {7} default/async-b.js (async-b) 72 bytes <{12}> ={0}= ={1}= ={2}= ={3}= [rendered]
> ./b [8] ./index.js 2:0-47
[4] ./b.js 72 bytes {7} {10} [built]
- chunk {11} default/async-c.js (async-c) 72 bytes <{5}> ={0}= ={2}= ={3}= ={4}= [rendered]
+ chunk {8} default/async-c.js (async-c) 72 bytes <{12}> ={0}= ={1}= ={2}= ={4}= [rendered]
> ./c [8] ./index.js 3:0-47
[5] ./c.js 72 bytes {8} {11} [built]
- chunk {12} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{2}> <{6}> <{9}> ={3}= [rendered]
+ chunk {9} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{3}> <{5}> <{6}> ={2}= [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [9] ./g.js 34 bytes {12} [built]
+ [9] ./g.js 34 bytes {9} [built]
+ chunk {10} default/b.js (b) 112 bytes ={0}= ={3}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {1} {5} {10} {11} [built]
+ [2] ./f.js 20 bytes {2} {10} {11} [built]
+ [4] ./b.js 72 bytes {7} {10} [built]
+ chunk {11} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {1} {5} {10} {11} [built]
+ [2] ./f.js 20 bytes {2} {10} {11} [built]
+ [5] ./c.js 72 bytes {8} {11} [built]
+ chunk {12} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {12} [built]
Child custom-chunks-filter-in-cache-groups:
Entrypoint main = default/main.js
Entrypoint a = default/a.js
Entrypoint b = default/vendors.js default/b.js
Entrypoint c = default/vendors.js default/c.js
- chunk {0} default/vendors.js (vendors) 112 bytes <{1}> ={3}= ={4}= ={5}= ={6}= ={7}= >{8}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
- > ./b b
- > ./c c
+ chunk {0} default/vendors.js (vendors) 112 bytes <{8}> ={2}= ={3}= ={4}= ={6}= ={7}= >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
> ./a [8] ./index.js 1:0-47
> ./b [8] ./index.js 2:0-47
> ./c [8] ./index.js 3:0-47
- [1] ./node_modules/x.js 20 bytes {0} {2} [built]
- [2] ./node_modules/y.js 20 bytes {0} {2} [built]
+ > ./b b
+ > ./c c
+ [1] ./node_modules/x.js 20 bytes {0} {1} [built]
+ [2] ./node_modules/y.js 20 bytes {0} {1} [built]
[6] ./node_modules/z.js 20 bytes {0} [built]
[9] multi x y z 52 bytes {0} [built]
- chunk {1} default/main.js (main) 147 bytes >{0}< >{5}< >{6}< >{7}< [entry] [rendered]
- > ./ main
- [8] ./index.js 147 bytes {1} [built]
- chunk {2} default/a.js (a) 216 bytes >{8}< [entry] [rendered]
+ chunk {1} default/a.js (a) 216 bytes >{5}< [entry] [rendered]
> ./a a
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [1] ./node_modules/x.js 20 bytes {0} {2} [built]
- [2] ./node_modules/y.js 20 bytes {0} {2} [built]
- [7] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [1] ./node_modules/x.js 20 bytes {0} {1} [built]
+ [2] ./node_modules/y.js 20 bytes {0} {1} [built]
+ [7] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {3} default/b.js (b) 112 bytes ={0}= [entry] [rendered]
- > ./b b
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [3] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [4] ./b.js 72 bytes {3} {6} [built]
- chunk {4} default/c.js (c) 112 bytes ={0}= [entry] [rendered]
- > ./c c
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [3] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [5] ./c.js 72 bytes {4} {7} [built]
- chunk {5} default/async-a.js (async-a) 176 bytes <{1}> ={0}= >{8}< [rendered]
+ chunk {2} default/async-a.js (async-a) 176 bytes <{8}> ={0}= >{5}< [rendered]
> ./a [8] ./index.js 1:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [7] ./a.js + 1 modules 156 bytes {2} {5} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [7] ./a.js + 1 modules 156 bytes {1} {2} [built]
| ./a.js 121 bytes [built]
| ./e.js 20 bytes [built]
- chunk {6} default/async-b.js (async-b) 112 bytes <{1}> ={0}= [rendered]
+ chunk {3} default/async-b.js (async-b) 112 bytes <{8}> ={0}= [rendered]
> ./b [8] ./index.js 2:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [3] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [3] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
[4] ./b.js 72 bytes {3} {6} [built]
- chunk {7} default/async-c.js (async-c) 112 bytes <{1}> ={0}= [rendered]
+ chunk {4} default/async-c.js (async-c) 112 bytes <{8}> ={0}= [rendered]
> ./c [8] ./index.js 3:0-47
- [0] ./d.js 20 bytes {2} {3} {4} {5} {6} {7} [built]
- [3] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [3] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
[5] ./c.js 72 bytes {4} {7} [built]
- chunk {8} default/async-g.js (async-g) 54 bytes <{0}> <{2}> <{5}> [rendered]
+ chunk {5} default/async-g.js (async-g) 54 bytes <{0}> <{1}> <{2}> [rendered]
> ./g [] 6:0-47
> ./g [] 6:0-47
- [3] ./f.js 20 bytes {3} {4} {6} {7} {8} [built]
- [10] ./g.js 34 bytes {8} [built]"
+ [3] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [10] ./g.js 34 bytes {5} [built]
+ chunk {6} default/b.js (b) 112 bytes ={0}= [entry] [rendered]
+ > ./b b
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [3] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [4] ./b.js 72 bytes {3} {6} [built]
+ chunk {7} default/c.js (c) 112 bytes ={0}= [entry] [rendered]
+ > ./c c
+ [0] ./d.js 20 bytes {1} {2} {3} {4} {6} {7} [built]
+ [3] ./f.js 20 bytes {3} {4} {5} {6} {7} [built]
+ [5] ./c.js 72 bytes {4} {7} [built]
+ chunk {8} default/main.js (main) 147 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered]
+ > ./ main
+ [8] ./index.js 147 bytes {8} [built]"
`;
exports[`StatsTestCases should print correct stats for split-chunks-automatic-name 1`] = `
"Entrypoint main = main.js
-chunk {0} common~async-a~async-b~async-c.js (common~async-a~async-b~async-c) 40 bytes <{3}> ={1}= ={2}= ={4}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: vendors) (name: common~async-a~async-b~async-c)
+chunk {0} common~async-a~async-b~async-c.js (common~async-a~async-b~async-c) 40 bytes <{7}> ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= [rendered] split chunk (cache group: vendors) (name: common~async-a~async-b~async-c)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
> ./c [0] ./index.js 3:0-47
[4] ./d.js 20 bytes {0} [built]
[5] ./node_modules/x.js 20 bytes {0} [built]
-chunk {1} common~async-b~async-c.js (common~async-b~async-c) 20 bytes <{3}> ={0}= ={2}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: vendors) (name: common~async-b~async-c)
- > ./b [0] ./index.js 2:0-47
- > ./c [0] ./index.js 3:0-47
- [7] ./f.js 20 bytes {1} [built]
-chunk {2} common~async-a~async-b.js (common~async-a~async-b) 20 bytes <{3}> ={0}= ={1}= ={4}= ={5}= [rendered] split chunk (cache group: vendors) (name: common~async-a~async-b)
+chunk {1} common~async-a~async-b.js (common~async-a~async-b) 20 bytes <{7}> ={0}= ={2}= ={3}= ={4}= [rendered] split chunk (cache group: vendors) (name: common~async-a~async-b)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
- [6] ./node_modules/y.js 20 bytes {2} [built]
-chunk {3} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered]
- > ./ main
- [0] ./index.js 147 bytes {3} [built]
-chunk {4} async-a.js (async-a) 107 bytes <{3}> ={0}= ={2}= [rendered]
+ [6] ./node_modules/y.js 20 bytes {1} [built]
+chunk {2} common~async-b~async-c.js (common~async-b~async-c) 20 bytes <{7}> ={0}= ={1}= ={4}= ={5}= ={6}= [rendered] split chunk (cache group: vendors) (name: common~async-b~async-c)
+ > ./b [0] ./index.js 2:0-47
+ > ./c [0] ./index.js 3:0-47
+ [7] ./f.js 20 bytes {2} [built]
+chunk {3} async-a.js (async-a) 107 bytes <{7}> ={0}= ={1}= [rendered]
> ./a [0] ./index.js 1:0-47
- [3] ./a.js + 1 modules 107 bytes {4} [built]
+ [3] ./a.js + 1 modules 107 bytes {3} [built]
| ./a.js 72 bytes [built]
| ./e.js 20 bytes [built]
-chunk {5} async-b.js (async-b) 72 bytes <{3}> ={0}= ={1}= ={2}= [rendered]
+chunk {4} async-b.js (async-b) 72 bytes <{7}> ={0}= ={1}= ={2}= [rendered]
> ./b [0] ./index.js 2:0-47
- [1] ./b.js 72 bytes {5} [built]
-chunk {6} async-c.js (async-c) 72 bytes <{3}> ={0}= ={1}= ={7}= [rendered]
+ [1] ./b.js 72 bytes {4} [built]
+chunk {5} async-c.js (async-c) 72 bytes <{7}> ={0}= ={2}= ={6}= [rendered]
> ./c [0] ./index.js 3:0-47
- [2] ./c.js 72 bytes {6} [built]
-chunk {7} common~async-c.js (common~async-c) 20 bytes <{3}> ={0}= ={1}= ={6}= [rendered] split chunk (cache group: vendors) (name: common~async-c)
+ [2] ./c.js 72 bytes {5} [built]
+chunk {6} common~async-c.js (common~async-c) 20 bytes <{7}> ={0}= ={2}= ={5}= [rendered] split chunk (cache group: vendors) (name: common~async-c)
> ./c [0] ./index.js 3:0-47
- [8] ./node_modules/z.js 20 bytes {7} [built]"
+ [8] ./node_modules/z.js 20 bytes {6} [built]
+chunk {7} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 147 bytes {7} [built]"
`;
exports[`StatsTestCases should print correct stats for split-chunks-combinations 1`] = `
"Entrypoint main = main.js
-chunk {0} async-a~async-b.js (async-a~async-b) 134 bytes <{1}> ={2}= ={3}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
+chunk {0} async-a~async-b.js (async-a~async-b) 134 bytes <{8}> ={1}= ={2}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
[9] ./y.js 67 bytes {0} [built]
-chunk {1} main.js (main) 343 bytes >{0}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< >{8}< [entry] [rendered]
- > ./ main
- [0] ./index.js 343 bytes {1} [built]
-chunk {2} async-a.js (async-a) 48 bytes <{1}> ={0}= [rendered]
+chunk {1} async-a.js (async-a) 48 bytes <{8}> ={0}= [rendered]
> ./a [0] ./index.js 1:0-47
- [1] ./a.js 48 bytes {2} [built]
-chunk {3} async-b.js (async-b) 48 bytes <{1}> ={0}= [rendered]
+ [1] ./a.js 48 bytes {1} [built]
+chunk {2} async-b.js (async-b) 48 bytes <{8}> ={0}= [rendered]
> ./b [0] ./index.js 2:0-47
- [2] ./b.js 48 bytes {3} [built]
-chunk {4} async-c.js (async-c) 101 bytes <{1}> [rendered]
+ [2] ./b.js 48 bytes {2} [built]
+chunk {3} async-c.js (async-c) 101 bytes <{8}> [rendered]
> ./c [0] ./index.js 3:0-47
- [3] ./c.js 34 bytes {4} [built]
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]
-chunk {5} async-d.js (async-d) 101 bytes <{1}> [rendered]
+ [3] ./c.js 34 bytes {3} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
+chunk {4} async-d.js (async-d) 101 bytes <{8}> [rendered]
> ./d [0] ./index.js 4:0-47
- [4] ./d.js 34 bytes {5} [built]
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]
-chunk {6} async-e.js (async-e) 101 bytes <{1}> [rendered]
+ [4] ./d.js 34 bytes {4} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
+chunk {5} async-e.js (async-e) 101 bytes <{8}> [rendered]
> ./e [0] ./index.js 5:0-47
- [5] ./e.js 34 bytes {6} [built]
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]
-chunk {7} async-f.js (async-f) 101 bytes <{1}> [rendered]
+ [5] ./e.js 34 bytes {5} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
+chunk {6} async-f.js (async-f) 101 bytes <{8}> [rendered]
> ./f [0] ./index.js 6:0-47
- [6] ./f.js 34 bytes {7} [built]
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]
-chunk {8} async-g.js (async-g) 101 bytes <{1}> [rendered]
+ [6] ./f.js 34 bytes {6} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
+chunk {7} async-g.js (async-g) 101 bytes <{8}> [rendered]
> ./g [0] ./index.js 7:0-47
- [7] ./g.js 34 bytes {8} [built]
- [8] ./x.js 67 bytes {0} {4} {5} {6} {7} {8} [built]"
+ [7] ./g.js 34 bytes {7} [built]
+ [8] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
+chunk {8} main.js (main) 343 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 343 bytes {8} [built]"
`;
exports[`StatsTestCases should print correct stats for split-chunks-issue-6413 1`] = `
"Entrypoint main = main.js
-chunk {0} vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{2}> ={1}= ={3}= ={4}= ={5}= [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
+chunk {0} async-a~async-b~async-c.js (async-a~async-b~async-c) 11 bytes <{5}> ={1}= ={2}= ={3}= ={4}= [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
> ./c [0] ./index.js 3:0-47
- [5] ./node_modules/x.js 20 bytes {0} [built]
-chunk {1} async-a~async-b~async-c.js (async-a~async-b~async-c) 11 bytes <{2}> ={0}= ={3}= ={4}= ={5}= [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c)
+ [4] ./common.js 11 bytes {0} [built]
+chunk {1} vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c) 20 bytes <{5}> ={0}= ={2}= ={3}= ={4}= [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~async-c)
> ./a [0] ./index.js 1:0-47
> ./b [0] ./index.js 2:0-47
> ./c [0] ./index.js 3:0-47
- [4] ./common.js 11 bytes {1} [built]
-chunk {2} main.js (main) 147 bytes >{0}< >{1}< >{3}< >{4}< >{5}< [entry] [rendered]
- > ./ main
- [0] ./index.js 147 bytes {2} [built]
-chunk {3} async-a.js (async-a) 19 bytes <{2}> ={0}= ={1}= [rendered]
+ [5] ./node_modules/x.js 20 bytes {1} [built]
+chunk {2} async-a.js (async-a) 19 bytes <{5}> ={0}= ={1}= [rendered]
> ./a [0] ./index.js 1:0-47
- [1] ./a.js 19 bytes {3} [built]
-chunk {4} async-b.js (async-b) 19 bytes <{2}> ={0}= ={1}= [rendered]
+ [1] ./a.js 19 bytes {2} [built]
+chunk {3} async-b.js (async-b) 19 bytes <{5}> ={0}= ={1}= [rendered]
> ./b [0] ./index.js 2:0-47
- [2] ./b.js 19 bytes {4} [built]
-chunk {5} async-c.js (async-c) 19 bytes <{2}> ={0}= ={1}= [rendered]
+ [2] ./b.js 19 bytes {3} [built]
+chunk {4} async-c.js (async-c) 19 bytes <{5}> ={0}= ={1}= [rendered]
> ./c [0] ./index.js 3:0-47
- [3] ./c.js 19 bytes {5} [built]"
+ [3] ./c.js 19 bytes {4} [built]
+chunk {5} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 147 bytes {5} [built]"
`;
exports[`StatsTestCases should print correct stats for split-chunks-issue-6696 1`] = `
"Entrypoint main = vendors.js main.js
-chunk {0} main.js (main) 110 bytes ={3}= >{1}< >{2}< [entry] [rendered]
- > ./ main
- [0] ./index.js 110 bytes {0} [built]
-chunk {1} async-a.js (async-a) 32 bytes <{0}> <{3}> [rendered]
+chunk {0} async-a.js (async-a) 32 bytes <{2}> <{3}> [rendered]
> ./a [0] ./index.js 2:0-47
- [2] ./a.js 12 bytes {1} [built]
- [4] ./node_modules/x.js 20 bytes {1} {2} [built]
-chunk {2} async-b.js (async-b) 32 bytes <{0}> <{3}> [rendered]
+ [2] ./a.js 12 bytes {0} [built]
+ [4] ./node_modules/x.js 20 bytes {0} {1} [built]
+chunk {1} async-b.js (async-b) 32 bytes <{2}> <{3}> [rendered]
> ./b [0] ./index.js 3:0-47
- [3] ./b.js 12 bytes {2} [built]
- [4] ./node_modules/x.js 20 bytes {1} {2} [built]
-chunk {3} vendors.js (vendors) 20 bytes ={0}= >{1}< >{2}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
+ [3] ./b.js 12 bytes {1} [built]
+ [4] ./node_modules/x.js 20 bytes {0} {1} [built]
+chunk {2} main.js (main) 110 bytes ={3}= >{0}< >{1}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 110 bytes {2} [built]
+chunk {3} vendors.js (vendors) 20 bytes ={2}= >{0}< >{1}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
> ./ main
[1] ./node_modules/y.js 20 bytes {3} [built]"
`;
@@ -2816,8 +2816,8 @@ exports[`StatsTestCases should print correct stats for split-chunks-issue-7401 1
Entrypoint b = b.js
Chunk Group c = vendors~a~c.js c.js
chunk {0} vendors~a~c.js (vendors~a~c) 20 bytes <{2}> ={1}= ={3}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~c)
- > ./a a
> ./c [2] ./b.js 1:0-41
+ > ./a a
[0] ./node_modules/x.js 20 bytes {0} [built]
chunk {1} a.js (a) 12 bytes ={0}= [entry] [rendered]
> ./a a
@@ -2836,69 +2836,69 @@ exports[`StatsTestCases should print correct stats for split-chunks-max-size 1`]
chunk {0} prod-main~02369f19.js (main~02369f19) 1.57 KiB ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [entry] [rendered]
> ./ main
[11] ./very-big.js?1 1.57 KiB {0} [built]
- chunk {1} prod-vendors~main~0feae4ad.js (vendors~main~0feae4ad) 1.57 KiB ={0}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~main)
+ chunk {1} prod-main~052b3814.js (main~052b3814) 603 bytes ={0}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [43] ./node_modules/very-big.js?1 1.57 KiB {1} [built]
- chunk {2} prod-main~6e7ead72.js (main~6e7ead72) 536 bytes ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [2] ./small.js?1 67 bytes {1} [built]
+ [3] ./small.js?2 67 bytes {1} [built]
+ [4] ./small.js?3 67 bytes {1} [built]
+ [5] ./small.js?4 67 bytes {1} [built]
+ [6] ./small.js?5 67 bytes {1} [built]
+ [7] ./small.js?6 67 bytes {1} [built]
+ [8] ./small.js?7 67 bytes {1} [built]
+ [9] ./small.js?8 67 bytes {1} [built]
+ [10] ./small.js?9 67 bytes {1} [built]
+ chunk {2} prod-main~11485824.js (main~11485824) 603 bytes ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [0] ./big.js?1 268 bytes {2} [built]
- [1] ./big.js?2 268 bytes {2} [built]
- chunk {3} prod-main~6a2ae26b.js (main~6a2ae26b) 536 bytes ={0}= ={1}= ={2}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [16] ./subfolder/small.js?1 67 bytes {2} [built]
+ [17] ./subfolder/small.js?2 67 bytes {2} [built]
+ [18] ./subfolder/small.js?3 67 bytes {2} [built]
+ [19] ./subfolder/small.js?4 67 bytes {2} [built]
+ [20] ./subfolder/small.js?5 67 bytes {2} [built]
+ [21] ./subfolder/small.js?6 67 bytes {2} [built]
+ [22] ./subfolder/small.js?7 67 bytes {2} [built]
+ [23] ./subfolder/small.js?8 67 bytes {2} [built]
+ [24] ./subfolder/small.js?9 67 bytes {2} [built]
+ chunk {3} prod-main~17acad98.js (main~17acad98) 1.57 KiB ={0}= ={1}= ={2}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [34] ./in-some-directory/big.js?1 268 bytes {3} [built]
- [35] ./in-some-directory/small.js?1 67 bytes {3} [built]
- [36] ./in-some-directory/small.js?2 67 bytes {3} [built]
- [37] ./in-some-directory/small.js?3 67 bytes {3} [built]
- [38] ./in-some-directory/small.js?4 67 bytes {3} [built]
- chunk {4} prod-main~17acad98.js (main~17acad98) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [39] ./in-some-directory/very-big.js?1 1.57 KiB {3} [built]
+ chunk {4} prod-main~3ff27526.js (main~3ff27526) 536 bytes ={0}= ={1}= ={2}= ={3}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [39] ./in-some-directory/very-big.js?1 1.57 KiB {4} [built]
- chunk {5} prod-main~b2c7414a.js (main~b2c7414a) 1.19 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [14] ./subfolder/big.js?1 268 bytes {4} [built]
+ [15] ./subfolder/big.js?2 268 bytes {4} [built]
+ chunk {5} prod-main~6a2ae26b.js (main~6a2ae26b) 536 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [44] ./index.js 1.19 KiB {5} [built]
- chunk {6} prod-main~75f09de8.js (main~75f09de8) 603 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [34] ./in-some-directory/big.js?1 268 bytes {5} [built]
+ [35] ./in-some-directory/small.js?1 67 bytes {5} [built]
+ [36] ./in-some-directory/small.js?2 67 bytes {5} [built]
+ [37] ./in-some-directory/small.js?3 67 bytes {5} [built]
+ [38] ./in-some-directory/small.js?4 67 bytes {5} [built]
+ chunk {6} prod-main~6e7ead72.js (main~6e7ead72) 536 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={7}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [25] ./inner-module/small.js?1 67 bytes {6} [built]
- [26] ./inner-module/small.js?2 67 bytes {6} [built]
- [27] ./inner-module/small.js?3 67 bytes {6} [built]
- [28] ./inner-module/small.js?4 67 bytes {6} [built]
- [29] ./inner-module/small.js?5 67 bytes {6} [built]
- [30] ./inner-module/small.js?6 67 bytes {6} [built]
- [31] ./inner-module/small.js?7 67 bytes {6} [built]
- [32] ./inner-module/small.js?8 67 bytes {6} [built]
- [33] ./inner-module/small.js?9 67 bytes {6} [built]
- chunk {7} prod-main~052b3814.js (main~052b3814) 603 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [0] ./big.js?1 268 bytes {6} [built]
+ [1] ./big.js?2 268 bytes {6} [built]
+ chunk {7} prod-main~75f09de8.js (main~75f09de8) 603 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={8}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [2] ./small.js?1 67 bytes {7} [built]
- [3] ./small.js?2 67 bytes {7} [built]
- [4] ./small.js?3 67 bytes {7} [built]
- [5] ./small.js?4 67 bytes {7} [built]
- [6] ./small.js?5 67 bytes {7} [built]
- [7] ./small.js?6 67 bytes {7} [built]
- [8] ./small.js?7 67 bytes {7} [built]
- [9] ./small.js?8 67 bytes {7} [built]
- [10] ./small.js?9 67 bytes {7} [built]
- chunk {8} prod-main~3ff27526.js (main~3ff27526) 536 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [25] ./inner-module/small.js?1 67 bytes {7} [built]
+ [26] ./inner-module/small.js?2 67 bytes {7} [built]
+ [27] ./inner-module/small.js?3 67 bytes {7} [built]
+ [28] ./inner-module/small.js?4 67 bytes {7} [built]
+ [29] ./inner-module/small.js?5 67 bytes {7} [built]
+ [30] ./inner-module/small.js?6 67 bytes {7} [built]
+ [31] ./inner-module/small.js?7 67 bytes {7} [built]
+ [32] ./inner-module/small.js?8 67 bytes {7} [built]
+ [33] ./inner-module/small.js?9 67 bytes {7} [built]
+ chunk {8} prod-main~b2c7414a.js (main~b2c7414a) 1.19 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={9}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [14] ./subfolder/big.js?1 268 bytes {8} [built]
- [15] ./subfolder/big.js?2 268 bytes {8} [built]
- chunk {9} prod-main~11485824.js (main~11485824) 603 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= ={12}= [initial] [rendered]
+ [44] ./index.js 1.19 KiB {8} [built]
+ chunk {9} prod-main~c6931360.js (main~c6931360) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={10}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [16] ./subfolder/small.js?1 67 bytes {9} [built]
- [17] ./subfolder/small.js?2 67 bytes {9} [built]
- [18] ./subfolder/small.js?3 67 bytes {9} [built]
- [19] ./subfolder/small.js?4 67 bytes {9} [built]
- [20] ./subfolder/small.js?5 67 bytes {9} [built]
- [21] ./subfolder/small.js?6 67 bytes {9} [built]
- [22] ./subfolder/small.js?7 67 bytes {9} [built]
- [23] ./subfolder/small.js?8 67 bytes {9} [built]
- [24] ./subfolder/small.js?9 67 bytes {9} [built]
- chunk {10} prod-main~c6931360.js (main~c6931360) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={11}= ={12}= [initial] [rendered]
+ [12] ./very-big.js?2 1.57 KiB {9} [built]
+ chunk {10} prod-main~cd7c5bfc.js (main~cd7c5bfc) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={11}= ={12}= [initial] [rendered]
> ./ main
- [12] ./very-big.js?2 1.57 KiB {10} [built]
- chunk {11} prod-main~cd7c5bfc.js (main~cd7c5bfc) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={12}= [initial] [rendered]
+ [13] ./very-big.js?3 1.57 KiB {10} [built]
+ chunk {11} prod-vendors~main~0feae4ad.js (vendors~main~0feae4ad) 1.57 KiB ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={12}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~main)
> ./ main
- [13] ./very-big.js?3 1.57 KiB {11} [built]
+ [43] ./node_modules/very-big.js?1 1.57 KiB {11} [built]
chunk {12} prod-vendors~main~7274e1de.js (vendors~main~7274e1de) 402 bytes ={0}= ={1}= ={2}= ={3}= ={4}= ={5}= ={6}= ={7}= ={8}= ={9}= ={10}= ={11}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~main)
> ./ main
[40] ./node_modules/big.js?1 268 bytes {12} [built]
@@ -2981,26 +2981,26 @@ Child development:
exports[`StatsTestCases should print correct stats for split-chunks-prefer-bigger-splits 1`] = `
"Entrypoint main = default/main.js
-chunk {0} default/async-b~async-c.js (async-b~async-c) 110 bytes <{1}> ={3}= ={4}= [rendered] split chunk (cache group: default) (name: async-b~async-c)
+chunk {0} default/async-b~async-c.js (async-b~async-c) 110 bytes <{4}> ={2}= ={3}= [rendered] split chunk (cache group: default) (name: async-b~async-c)
> ./b [0] ./index.js 2:0-47
> ./c [0] ./index.js 3:0-47
- [4] ./d.js 43 bytes {0} {2} [built]
+ [4] ./d.js 43 bytes {0} {1} [built]
[6] ./f.js 67 bytes {0} [built]
-chunk {1} default/main.js (main) 147 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered]
- > ./ main
- [0] ./index.js 147 bytes {1} [built]
-chunk {2} default/async-a.js (async-a) 134 bytes <{1}> [rendered]
+chunk {1} default/async-a.js (async-a) 134 bytes <{4}> [rendered]
> ./a [0] ./index.js 1:0-47
- [1] ./a.js 48 bytes {2} [built]
- [4] ./d.js 43 bytes {0} {2} [built]
- [5] ./e.js 43 bytes {2} {3} [built]
-chunk {3} default/async-b.js (async-b) 105 bytes <{1}> ={0}= [rendered]
+ [1] ./a.js 48 bytes {1} [built]
+ [4] ./d.js 43 bytes {0} {1} [built]
+ [5] ./e.js 43 bytes {1} {2} [built]
+chunk {2} default/async-b.js (async-b) 105 bytes <{4}> ={0}= [rendered]
> ./b [0] ./index.js 2:0-47
- [2] ./b.js 62 bytes {3} [built]
- [5] ./e.js 43 bytes {2} {3} [built]
-chunk {4} default/async-c.js (async-c) 48 bytes <{1}> ={0}= [rendered]
+ [2] ./b.js 62 bytes {2} [built]
+ [5] ./e.js 43 bytes {1} {2} [built]
+chunk {3} default/async-c.js (async-c) 48 bytes <{4}> ={0}= [rendered]
> ./c [0] ./index.js 3:0-47
- [3] ./c.js 48 bytes {4} [built]"
+ [3] ./c.js 48 bytes {3} [built]
+chunk {4} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< [entry] [rendered]
+ > ./ main
+ [0] ./index.js 147 bytes {4} [built]"
`;
exports[`StatsTestCases should print correct stats for tree-shaking 1`] = `
diff --git a/test/setupTestFramework.js b/test/setupTestFramework.js
index b6c1a049df8..f0133cd12b1 100644
--- a/test/setupTestFramework.js
+++ b/test/setupTestFramework.js
@@ -23,3 +23,30 @@ expect.extend({
return { message, pass };
}
});
+
+if (process.env.ALTERNATIVE_SORT) {
+ const oldSort = Array.prototype.sort;
+
+ Array.prototype.sort = function(cmp) {
+ oldSort.call(this, cmp);
+ if (cmp) {
+ for (let i = 1; i < this.length; i++) {
+ if (cmp(this[i - 1], this[i]) === 0) {
+ let j = i + 1;
+ for (; j < this.length; j++) {
+ if (cmp(this[j - 1], this[j]) !== 0) {
+ break;
+ }
+ }
+ for (let x = i - 1, y = j - 1; x < y; x++, y--) {
+ const temp = this[x];
+ this[x] = this[y];
+ this[y] = temp;
+ }
+ i = j;
+ }
+ }
+ }
+ return this;
+ };
+}