From 27d76683a3917031e47d7d4d2336ef203bc4663c Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Tue, 3 Apr 2018 17:25:19 +0200 Subject: [PATCH] align stats string output to max length --- lib/Stats.js | 38 ++- .../aggressive-splitting-entry/expected.txt | 32 +- .../expected.txt | 40 +-- .../async-commons-chunk-auto/expected.txt | 282 ++++++++-------- .../async-commons-chunk/expected.txt | 8 +- .../chunks-development/expected.txt | 26 +- test/statsCases/chunks/expected.txt | 36 +-- .../circular-correctness/expected.txt | 8 +- test/statsCases/color-disabled/expected.txt | 2 +- .../color-enabled-custom/expected.txt | 2 +- test/statsCases/color-enabled/expected.txt | 2 +- .../commons-chunk-min-size-0/expected.txt | 14 +- .../expected.txt | 14 +- .../commons-plugin-issue-4980/expected.txt | 12 +- .../concat-and-sideeffects/expected.txt | 30 +- test/statsCases/define-plugin/expected.txt | 4 +- .../exclude-with-loader/expected.txt | 4 +- test/statsCases/external/expected.txt | 4 +- .../graph-correctness-entries/expected.txt | 24 +- .../graph-correctness-modules/expected.txt | 44 +-- .../import-context-filter/expected.txt | 10 +- test/statsCases/import-weak/expected.txt | 6 +- .../limit-chunk-count-plugin/expected.txt | 48 +-- .../max-modules-default/expected.txt | 30 +- test/statsCases/max-modules/expected.txt | 40 +-- test/statsCases/module-assets/expected.txt | 12 +- .../module-deduplication-named/expected.txt | 42 +-- .../module-deduplication/expected.txt | 48 +-- .../expected.txt | 2 +- .../expected.txt | 2 +- .../named-chunks-plugin-async/expected.txt | 6 +- .../expected.txt | 4 +- test/statsCases/optimize-chunks/expected.txt | 28 +- test/statsCases/parse-error/expected.txt | 8 +- .../expected.txt | 8 +- .../performance-disabled/expected.txt | 12 +- .../statsCases/performance-error/expected.txt | 12 +- .../expected.txt | 12 +- .../performance-no-hints/expected.txt | 12 +- .../expected.txt | 6 +- test/statsCases/preset-detailed/expected.txt | 24 +- .../preset-mixed-array/expected.txt | 2 +- .../expected.txt | 12 +- .../preset-normal-performance/expected.txt | 12 +- test/statsCases/preset-normal/expected.txt | 12 +- test/statsCases/preset-verbose/expected.txt | 48 +-- .../resolve-plugin-context/expected.txt | 10 +- .../reverse-sort-modules/expected.txt | 40 +-- .../scope-hoisting-bailouts/expected.txt | 48 +-- .../scope-hoisting-multi/expected.txt | 62 ++-- test/statsCases/simple-more-info/expected.txt | 6 +- .../split-chunks-combinations/expected.txt | 30 +- .../split-chunks-issue-6413/expected.txt | 12 +- .../split-chunks-issue-6696/expected.txt | 12 +- .../expected.txt | 18 +- test/statsCases/split-chunks/expected.txt | 304 +++++++++--------- test/statsCases/tree-shaking/expected.txt | 56 ++-- .../statsCases/warnings-uglifyjs/expected.txt | 6 +- 58 files changed, 854 insertions(+), 834 deletions(-) diff --git a/lib/Stats.js b/lib/Stats.js index ebbe73e21..ba4b65957 100644 --- a/lib/Stats.js +++ b/lib/Stats.js @@ -998,19 +998,39 @@ class Stats { const processModulesList = (obj, prefix) => { if (obj.modules) { + let maxModuleId = 0; + for (const module of obj.modules) { + if (typeof module.id === "number") { + if (maxModuleId < module.id) maxModuleId = module.id; + } + } + let contentPrefix = prefix + " "; + if (maxModuleId >= 10) contentPrefix += " "; + if (maxModuleId >= 100) contentPrefix += " "; + if (maxModuleId >= 1000) contentPrefix += " "; for (const module of obj.modules) { colors.normal(prefix); const name = module.name || module.identifier; - let contentPrefix = prefix + " "; if (typeof module.id === "string" || typeof module.id === "number") { - contentPrefix += " "; - if (module.id < 1000) colors.normal(" "); - if (module.id < 100) colors.normal(" "); - if (module.id < 10) colors.normal(" "); - colors.normal("["); - colors.normal(module.id); - colors.normal("]"); - if (name !== module.id) colors.normal(" "); + if (typeof module.id === "number") { + if (module.id < 1000 && maxModuleId >= 1000) colors.normal(" "); + if (module.id < 100 && maxModuleId >= 100) colors.normal(" "); + if (module.id < 10 && maxModuleId >= 10) colors.normal(" "); + } else { + if (maxModuleId >= 1000) colors.normal(" "); + if (maxModuleId >= 100) colors.normal(" "); + if (maxModuleId >= 10) colors.normal(" "); + } + if (name !== module.id) { + colors.normal("["); + colors.normal(module.id); + colors.normal("]"); + colors.normal(" "); + } else { + colors.normal("["); + colors.bold(module.id); + colors.normal("]"); + } } if (name !== module.id) { colors.bold(name); diff --git a/test/statsCases/aggressive-splitting-entry/expected.txt b/test/statsCases/aggressive-splitting-entry/expected.txt index 8cbc870fa..bbfccc3b5 100644 --- a/test/statsCases/aggressive-splitting-entry/expected.txt +++ b/test/statsCases/aggressive-splitting-entry/expected.txt @@ -11,20 +11,20 @@ Child fitting: Entrypoint main = d43339a3d0f86c6b8d90.js 6c7fb52c5514dbfbf094.js a1e683753eca705a0882.js chunk {0} fb95acf7c457672e70d0.js 916 bytes <{1}> <{2}> <{3}> > ./g [4] ./index.js 7:0-13 - [7] ./g.js 916 bytes {0} [built] + [7] ./g.js 916 bytes {0} [built] chunk {1} a1e683753eca705a0882.js 1.87 KiB ={2}= ={3}= >{0}< [entry] [rendered] > ./index main - [3] ./e.js 899 bytes {1} [built] - [4] ./index.js 111 bytes {1} [built] - [6] ./f.js 900 bytes {1} [built] + [3] ./e.js 899 bytes {1} [built] + [4] ./index.js 111 bytes {1} [built] + [6] ./f.js 900 bytes {1} [built] chunk {2} d43339a3d0f86c6b8d90.js 1.76 KiB ={1}= ={3}= >{0}< [initial] [rendered] [recorded] aggressive splitted > ./index main - [0] ./b.js 899 bytes {2} [built] - [5] ./a.js 899 bytes {2} [built] + [0] ./b.js 899 bytes {2} [built] + [5] ./a.js 899 bytes {2} [built] chunk {3} 6c7fb52c5514dbfbf094.js 1.76 KiB ={1}= ={2}= >{0}< [initial] [rendered] [recorded] aggressive splitted > ./index main - [1] ./c.js 899 bytes {3} [built] - [2] ./d.js 899 bytes {3} [built] + [1] ./c.js 899 bytes {3} [built] + [2] ./d.js 899 bytes {3} [built] Child content-change: Hash: a82dbd8d6c7a22df1caf Time: Xms @@ -37,17 +37,17 @@ Child content-change: Entrypoint main = d43339a3d0f86c6b8d90.js 6c7fb52c5514dbfbf094.js a1e683753eca705a0882.js chunk {0} fb95acf7c457672e70d0.js 916 bytes <{1}> <{2}> <{3}> > ./g [4] ./index.js 7:0-13 - [7] ./g.js 916 bytes {0} [built] + [7] ./g.js 916 bytes {0} [built] chunk {1} a1e683753eca705a0882.js 1.87 KiB ={2}= ={3}= >{0}< [entry] [rendered] > ./index main - [3] ./e.js 899 bytes {1} [built] - [4] ./index.js 111 bytes {1} [built] - [6] ./f.js 900 bytes {1} [built] + [3] ./e.js 899 bytes {1} [built] + [4] ./index.js 111 bytes {1} [built] + [6] ./f.js 900 bytes {1} [built] chunk {2} d43339a3d0f86c6b8d90.js 1.76 KiB ={1}= ={3}= >{0}< [initial] [rendered] [recorded] aggressive splitted > ./index main - [0] ./b.js 899 bytes {2} [built] - [5] ./a.js 899 bytes {2} [built] + [0] ./b.js 899 bytes {2} [built] + [5] ./a.js 899 bytes {2} [built] chunk {3} 6c7fb52c5514dbfbf094.js 1.76 KiB ={1}= ={2}= >{0}< [initial] [rendered] [recorded] aggressive splitted > ./index main - [1] ./c.js 899 bytes {3} [built] - [2] ./d.js 899 bytes {3} [built] \ No newline at end of file + [1] ./c.js 899 bytes {3} [built] + [2] ./d.js 899 bytes {3} [built] \ No newline at end of file diff --git a/test/statsCases/aggressive-splitting-on-demand/expected.txt b/test/statsCases/aggressive-splitting-on-demand/expected.txt index 85f7729d4..bda6ec4d5 100644 --- a/test/statsCases/aggressive-splitting-on-demand/expected.txt +++ b/test/statsCases/aggressive-splitting-on-demand/expected.txt @@ -18,48 +18,48 @@ Entrypoint main = d20b83dfd7d0fd0c8793.js chunk {0} 4467a9f70ef8365bcb32.js 1.76 KiB <{10}> ={1}= ={2}= ={3}= ={7}= ={9}= [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} {5} [built] - [1] ./d.js 899 bytes {0} {8} [built] + [0] ./b.js 899 bytes {0} {5} [built] + [1] ./d.js 899 bytes {0} {8} [built] chunk {1} aafb9d82e452def4c3bb.js 899 bytes <{10}> ={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] + [2] ./e.js 899 bytes {1} {3} [built] chunk {2} 8debdc7e72b763a13e35.js 1.76 KiB <{10}> ={0}= ={1}= ={11}= ={3}= ={6}= ={7}= ={9}= [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] + [3] ./f.js 899 bytes {2} [built] + [4] ./g.js 901 bytes {2} [built] chunk {3} 6a2c2702ac98f9f90db9.js 1.76 KiB <{10}> ={0}= ={2}= ={7}= ={9}= [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] + [2] ./e.js 899 bytes {1} {3} [built] + [6] ./h.js 899 bytes {3} {11} [built] chunk {4} 258ba4b441feff644266.js 899 bytes <{10}> > ./a [11] ./index.js 1:0-16 - [10] ./a.js 899 bytes {4} [built] + [10] ./a.js 899 bytes {4} [built] chunk {5} 8ae4998ca98adb2a08ea.js 1.76 KiB <{10}> > ./b ./c [11] ./index.js 2:0-23 - [0] ./b.js 899 bytes {0} {5} [built] - [5] ./c.js 899 bytes {5} {8} [built] + [0] ./b.js 899 bytes {0} {5} [built] + [5] ./c.js 899 bytes {5} {8} [built] chunk {6} 620d3f8d9bdb989cde07.js 1.76 KiB <{10}> ={11}= ={2}= > ./f ./g ./h ./i ./j ./k [11] ./index.js 4:0-51 - [8] ./j.js 901 bytes {6} {9} [built] - [9] ./k.js 899 bytes {6} {7} [built] + [8] ./j.js 901 bytes {6} {9} [built] + [9] ./k.js 899 bytes {6} {7} [built] chunk {7} 344e13508b62e833aacf.js 899 bytes <{10}> ={0}= ={2}= ={3}= ={9}= > ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72 - [9] ./k.js 899 bytes {6} {7} [built] + [9] ./k.js 899 bytes {6} {7} [built] chunk {8} 2aaed192bbfbc2302c53.js 1.76 KiB <{10}> ={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 {5} {8} [built] + [1] ./d.js 899 bytes {0} {8} [built] + [5] ./c.js 899 bytes {5} {8} [built] chunk {9} 72e04d4eaed46d9aac4c.js 1.76 KiB <{10}> ={0}= ={2}= ={3}= ={7}= [rendered] [recorded] aggressive splitted > ./b ./d ./e ./f ./g ./h ./i ./j ./k [11] ./index.js 6:0-72 - [7] ./i.js 899 bytes {9} {11} [built] - [8] ./j.js 901 bytes {6} {9} [built] + [7] ./i.js 899 bytes {9} {11} [built] + [8] ./j.js 901 bytes {6} {9} [built] chunk {10} d20b83dfd7d0fd0c8793.js (main) 248 bytes >{0}< >{1}< >{11}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< >{8}< >{9}< [entry] [rendered] > ./index main - [11] ./index.js 248 bytes {10} [built] + [11] ./index.js 248 bytes {10} [built] chunk {11} 1165c0cca1ba14a506ff.js 1.76 KiB <{10}> ={2}= ={6}= [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 {9} {11} [built] \ No newline at end of file + [6] ./h.js 899 bytes {3} {11} [built] + [7] ./i.js 899 bytes {9} {11} [built] \ No newline at end of file diff --git a/test/statsCases/async-commons-chunk-auto/expected.txt b/test/statsCases/async-commons-chunk-auto/expected.txt index 711564936..5aea082f1 100644 --- a/test/statsCases/async-commons-chunk-auto/expected.txt +++ b/test/statsCases/async-commons-chunk-auto/expected.txt @@ -6,57 +6,57 @@ Child disabled: chunk {0} disabled/async-g.js (async-g) 54 bytes <{1}> <{5}> [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] - [8] ./g.js 34 bytes {0} [built] + [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] + [8] ./g.js 34 bytes {0} [built] chunk {1} disabled/async-a.js (async-a) 216 bytes <{4}> >{0}< [rendered] > ./a [7] ./index.js 1:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] - [5] ./a.js + 1 modules 156 bytes {1} {5} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] + [5] ./a.js + 1 modules 156 bytes {1} {5} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {2} disabled/async-b.js (async-b) 152 bytes <{4}> [rendered] > ./b [7] ./index.js 2:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] - [4] ./b.js 72 bytes {2} {6} [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] + [4] ./b.js 72 bytes {2} {6} [built] chunk {3} disabled/async-c.js (async-c) 167 bytes <{4}> [rendered] > ./c [7] ./index.js 3:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] - [6] ./c.js + 1 modules 107 bytes {3} {7} [built] - | ./c.js 72 bytes [built] - | ./node_modules/z.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] + [6] ./c.js + 1 modules 107 bytes {3} {7} [built] + | ./c.js 72 bytes [built] + | ./node_modules/z.js 20 bytes [built] chunk {4} disabled/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered] > ./ main - [7] ./index.js 147 bytes {4} [built] + [7] ./index.js 147 bytes {4} [built] chunk {5} disabled/a.js (a) 216 bytes >{0}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] - [5] ./a.js + 1 modules 156 bytes {1} {5} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] + [5] ./a.js + 1 modules 156 bytes {1} {5} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {6} disabled/b.js (b) 152 bytes [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] - [4] ./b.js 72 bytes {2} {6} [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {5} {6} [built] + [4] ./b.js 72 bytes {2} {6} [built] chunk {7} disabled/c.js (c) 167 bytes [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] - [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] - [6] ./c.js + 1 modules 107 bytes {3} {7} [built] - | ./c.js 72 bytes [built] - | ./node_modules/z.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {5} {6} {7} [built] + [2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built] + [6] ./c.js + 1 modules 107 bytes {3} {7} [built] + | ./c.js 72 bytes [built] + | ./node_modules/z.js 20 bytes [built] Child default: Entrypoint main = default/main.js Entrypoint a = default/a.js @@ -66,65 +66,65 @@ Child default: > ./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} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] chunk {1} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={5}= ={6}= ={7}= ={8}= >{2}< >{4}< [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 {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{10}> <{3}> <{5}> <{9}> ={0}= ={1}= ={3}= ={4}= ={6}= ={7}= ={8}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [2] ./f.js 20 bytes {2} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{9}> ={0}= ={1}= ={2}= ={5}= ={6}= >{2}< >{4}< [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} {10} {11} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] chunk {4} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{5}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {4} [built] + [9] ./g.js 34 bytes {4} [built] chunk {5} default/async-a.js (async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{4}< [rendered] > ./a [8] ./index.js 1:0-47 - [7] ./a.js + 1 modules 156 bytes {5} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [7] ./a.js + 1 modules 156 bytes {5} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {6} default/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [5] ./b.js 72 bytes {6} {11} [built] + [5] ./b.js 72 bytes {6} {11} [built] chunk {7} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={8}= [rendered] > ./c [8] ./index.js 3:0-47 - [6] ./c.js 72 bytes {7} {12} [built] + [6] ./c.js 72 bytes {7} {12} [built] chunk {8} default/vendors~async-c.js (vendors~async-c) 20 bytes <{9}> ={0}= ={1}= ={2}= ={7}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c) > ./c [8] ./index.js 3:0-47 - [4] ./node_modules/z.js 20 bytes {8} {12} [built] + [4] ./node_modules/z.js 20 bytes {8} {12} [built] chunk {9} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} default/a.js (a) 216 bytes >{2}< >{4}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] - [7] ./a.js + 1 modules 156 bytes {5} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] + [7] ./a.js + 1 modules 156 bytes {5} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} default/b.js (b) 152 bytes [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [2] ./f.js 20 bytes {2} {11} {12} [built] - [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] - [5] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] + [5] ./b.js 72 bytes {6} {11} [built] chunk {12} default/c.js (c) 152 bytes [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [2] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./node_modules/z.js 20 bytes {8} {12} [built] - [6] ./c.js 72 bytes {7} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./node_modules/z.js 20 bytes {8} {12} [built] + [6] ./c.js 72 bytes {7} {12} [built] Child vendors: Entrypoint main = vendors/main.js Entrypoint a = vendors/vendors.js vendors/a.js @@ -133,56 +133,56 @@ Child vendors: chunk {0} vendors/async-g.js (async-g) 54 bytes <{1}> <{4}> <{6}> [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] - [9] ./g.js 34 bytes {0} [built] + [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] + [9] ./g.js 34 bytes {0} [built] chunk {1} vendors/async-a.js (async-a) 216 bytes <{5}> >{0}< [rendered] > ./a [8] ./index.js 1:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] - [7] ./a.js + 1 modules 156 bytes {1} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] + [7] ./a.js + 1 modules 156 bytes {1} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {2} vendors/async-b.js (async-b) 152 bytes <{5}> [rendered] > ./b [8] ./index.js 2:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] - [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] - [5] ./b.js 72 bytes {2} {7} [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] + [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] + [5] ./b.js 72 bytes {2} {7} [built] chunk {3} vendors/async-c.js (async-c) 152 bytes <{5}> [rendered] > ./c [8] ./index.js 3:0-47 - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] - [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] - [4] ./node_modules/z.js 20 bytes {3} {4} [built] - [6] ./c.js 72 bytes {3} {8} [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] + [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] + [4] ./node_modules/z.js 20 bytes {3} {4} [built] + [6] ./c.js 72 bytes {3} {8} [built] chunk {4} vendors/vendors.js (vendors) 60 bytes ={6}= ={7}= ={8}= >{0}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors) > ./a a > ./b b > ./c c - [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] - [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] - [4] ./node_modules/z.js 20 bytes {3} {4} [built] + [1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built] + [3] ./node_modules/y.js 20 bytes {1} {2} {4} [built] + [4] ./node_modules/z.js 20 bytes {3} {4} [built] chunk {5} vendors/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {5} [built] + [8] ./index.js 147 bytes {5} [built] chunk {6} vendors/a.js (a) 176 bytes ={4}= >{0}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [7] ./a.js + 1 modules 156 bytes {1} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [7] ./a.js + 1 modules 156 bytes {1} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {7} vendors/b.js (b) 112 bytes ={4}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] - [5] ./b.js 72 bytes {2} {7} [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] + [5] ./b.js 72 bytes {2} {7} [built] chunk {8} vendors/c.js (c) 112 bytes ={4}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] - [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] - [6] ./c.js 72 bytes {3} {8} [built] + [0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built] + [2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built] + [6] ./c.js 72 bytes {3} {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 @@ -195,62 +195,62 @@ Child multiple-vendors: > ./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] + [2] ./node_modules/x.js 20 bytes {0} [built] chunk {1} multiple-vendors/a~async-a~async-b~async-c~b~c.js (a~async-a~async-b~async-c~b~c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: 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 - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} multiple-vendors/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{1}> <{10}> <{3}> <{8}> <{9}> ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [1] ./f.js 20 bytes {2} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} multiple-vendors/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{9}> ={0}= ={1}= ={10}= ={11}= ={2}= ={6}= ={8}= >{2}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b) > ./a a > ./b b > ./a [8] ./index.js 1:0-47 > ./b [8] ./index.js 2:0-47 - [3] ./node_modules/y.js 20 bytes {3} [built] + [3] ./node_modules/y.js 20 bytes {3} [built] chunk {4} multiple-vendors/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={1}= ={12}= ={2}= ={7}= [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] + [7] ./node_modules/z.js 20 bytes {4} [built] chunk {5} multiple-vendors/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{8}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {5} [built] + [9] ./g.js 34 bytes {5} [built] chunk {6} multiple-vendors/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [4] ./b.js 72 bytes {6} {11} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {7} multiple-vendors/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={4}= [rendered] > ./c [8] ./index.js 3:0-47 - [5] ./c.js 72 bytes {7} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] chunk {8} multiple-vendors/a~async-a.js (a~async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: a~async-a) > ./a [8] ./index.js 1:0-47 - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {9} multiple-vendors/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} multiple-vendors/a.js (a) 176 bytes ={0}= ={3}= >{2}< >{5}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} multiple-vendors/b.js (b) 112 bytes ={0}= ={3}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {12} multiple-vendors/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [5] ./c.js 72 bytes {7} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [5] ./c.js 72 bytes {7} {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 @@ -263,59 +263,59 @@ Child all: > ./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] + [2] ./node_modules/x.js 20 bytes {0} [built] chunk {1} all/a~async-a~async-b~async-c~b~c.js (a~async-a~async-b~async-c~b~c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: 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 - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} all/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{1}> <{10}> <{3}> <{8}> <{9}> ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [1] ./f.js 20 bytes {2} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} all/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{9}> ={0}= ={1}= ={10}= ={11}= ={2}= ={6}= ={8}= >{2}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b) > ./a a > ./b b > ./a [8] ./index.js 1:0-47 > ./b [8] ./index.js 2:0-47 - [3] ./node_modules/y.js 20 bytes {3} [built] + [3] ./node_modules/y.js 20 bytes {3} [built] chunk {4} all/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={1}= ={12}= ={2}= ={7}= [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] + [7] ./node_modules/z.js 20 bytes {4} [built] chunk {5} all/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{8}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {5} [built] + [9] ./g.js 34 bytes {5} [built] chunk {6} all/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [4] ./b.js 72 bytes {6} {11} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {7} all/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={4}= [rendered] > ./c [8] ./index.js 3:0-47 - [5] ./c.js 72 bytes {7} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] chunk {8} all/a~async-a.js (a~async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: a~async-a) > ./a [8] ./index.js 1:0-47 - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {9} all/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} all/a.js (a) 176 bytes ={0}= ={3}= >{2}< >{5}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} all/b.js (b) 112 bytes ={0}= ={3}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {12} all/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [5] ./c.js 72 bytes {7} {12} [built] \ No newline at end of file + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] \ No newline at end of file diff --git a/test/statsCases/async-commons-chunk/expected.txt b/test/statsCases/async-commons-chunk/expected.txt index d67732917..ca0112474 100644 --- a/test/statsCases/async-commons-chunk/expected.txt +++ b/test/statsCases/async-commons-chunk/expected.txt @@ -3,13 +3,13 @@ chunk {0} 0.js 21 bytes <{3}> ={1}= ={2}= [rendered] reused as split chunk (c > [3] ./index.js 17:1-21:3 > [3] ./index.js 2:1-5:3 > ./a ./b [3] ./index.js 9:1-13:3 - [0] ./a.js 21 bytes {0} [built] + [0] ./a.js 21 bytes {0} [built] chunk {1} 1.js 21 bytes <{3}> ={0}= [rendered] > ./a ./b [3] ./index.js 9:1-13:3 - [1] ./b.js 21 bytes {1} [built] + [1] ./b.js 21 bytes {1} [built] chunk {2} 2.js 21 bytes <{3}> ={0}= [rendered] > [3] ./index.js 17:1-21:3 - [2] ./c.js 21 bytes {2} [built] + [2] ./c.js 21 bytes {2} [built] chunk {3} main.js (main) 550 bytes >{0}< >{1}< >{2}< [entry] [rendered] > ./ main - [3] ./index.js 550 bytes {3} [built] \ No newline at end of file + [3] ./index.js 550 bytes {3} [built] \ No newline at end of file diff --git a/test/statsCases/chunks-development/expected.txt b/test/statsCases/chunks-development/expected.txt index bdd52330c..fc9485d33 100644 --- a/test/statsCases/chunks-development/expected.txt +++ b/test/statsCases/chunks-development/expected.txt @@ -10,27 +10,27 @@ Entrypoint main = bundle.js chunk {main} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered] > ./index main [./a.js] 22 bytes {main} [built] - cjs require ./a [./index.js] 1:0-14 - cjs require ./a [./e.js] 1:0-14 - [./index.js] Xms -> factory:Xms building:Xms = Xms + cjs require ./a [./index.js] 1:0-14 + cjs require ./a [./e.js] 1:0-14 + [./index.js] Xms -> factory:Xms building:Xms = Xms [./index.js] 51 bytes {main} [built] - single entry ./index main - factory:Xms building:Xms = Xms + single entry ./index main + factory:Xms building:Xms = Xms chunk {0} 0.bundle.js 54 bytes <{main}> >{2}< [rendered] > ./c [./index.js] ./index.js 3:0-16 [./c.js] 54 bytes {0} [built] - amd require ./c [./index.js] 3:0-16 - [./index.js] Xms -> factory:Xms building:Xms = Xms + amd require ./c [./index.js] 3:0-16 + [./index.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 + amd require ./b [./index.js] 2:0-16 + [./index.js] Xms -> factory:Xms building:Xms = Xms chunk {2} 2.bundle.js 60 bytes <{0}> [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 + 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 \ No newline at end of file + require.ensure item ./e [./c.js] 1:0-52 + [./index.js] Xms -> [./c.js] Xms -> factory:Xms building:Xms = Xms \ No newline at end of file diff --git a/test/statsCases/chunks/expected.txt b/test/statsCases/chunks/expected.txt index 0ccb04b18..e98a6bf8c 100644 --- a/test/statsCases/chunks/expected.txt +++ b/test/statsCases/chunks/expected.txt @@ -9,27 +9,27 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Entrypoint main = bundle.js chunk {0} 0.bundle.js 22 bytes <{2}> [rendered] > ./b [4] ./index.js 2:0-16 - [2] ./b.js 22 bytes {0} [built] - amd require ./b [4] ./index.js 2:0-16 - [4] Xms -> factory:Xms building:Xms = Xms + [2] ./b.js 22 bytes {0} [built] + amd require ./b [4] ./index.js 2:0-16 + [4] Xms -> factory:Xms building:Xms = Xms chunk {1} 1.bundle.js 54 bytes <{2}> >{3}< [rendered] > ./c [4] ./index.js 3:0-16 - [3] ./c.js 54 bytes {1} [built] - amd require ./c [4] ./index.js 3:0-16 - [4] Xms -> factory:Xms building:Xms = Xms + [3] ./c.js 54 bytes {1} [built] + amd require ./c [4] ./index.js 3:0-16 + [4] Xms -> factory:Xms building:Xms = Xms chunk {2} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered] > ./index main - [4] ./index.js 51 bytes {2} [built] - single entry ./index main - factory:Xms building:Xms = Xms - [5] ./a.js 22 bytes {2} [built] - cjs require ./a [4] ./index.js 1:0-14 - [4] Xms -> factory:Xms building:Xms = Xms + [4] ./index.js 51 bytes {2} [built] + single entry ./index main + factory:Xms building:Xms = Xms + [5] ./a.js 22 bytes {2} [built] + cjs require ./a [4] ./index.js 1:0-14 + [4] Xms -> factory:Xms building:Xms = Xms chunk {3} 3.bundle.js 44 bytes <{1}> [rendered] > [3] ./c.js 1:0-52 - [0] ./d.js 22 bytes {3} [built] - require.ensure item ./d [3] ./c.js 1:0-52 - [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms - [1] ./e.js 22 bytes {3} [built] - require.ensure item ./e [3] ./c.js 1:0-52 - [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms \ No newline at end of file + [0] ./d.js 22 bytes {3} [built] + require.ensure item ./d [3] ./c.js 1:0-52 + [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms + [1] ./e.js 22 bytes {3} [built] + require.ensure item ./e [3] ./c.js 1:0-52 + [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms \ No newline at end of file diff --git a/test/statsCases/circular-correctness/expected.txt b/test/statsCases/circular-correctness/expected.txt index 33bb94b4b..3501a16c3 100644 --- a/test/statsCases/circular-correctness/expected.txt +++ b/test/statsCases/circular-correctness/expected.txt @@ -1,9 +1,9 @@ Entrypoint main = bundle.js chunk {0} 0.bundle.js (a) 49 bytes <{2}> <{3}> >{3}< [rendered] - [1] ./module-a.js 49 bytes {0} [built] + [1] ./module-a.js 49 bytes {0} [built] chunk {1} 1.bundle.js (b) 49 bytes <{2}> <{3}> >{3}< [rendered] - [2] ./module-b.js 49 bytes {1} [built] + [2] ./module-b.js 49 bytes {1} [built] chunk {2} bundle.js (main) 98 bytes >{0}< >{1}< [entry] [rendered] - [3] ./index.js 98 bytes {2} [built] + [3] ./index.js 98 bytes {2} [built] chunk {3} 3.bundle.js (c) 98 bytes <{0}> <{1}> >{0}< >{1}< [rendered] - [0] ./module-c.js 98 bytes {3} [built] \ No newline at end of file + [0] ./module-c.js 98 bytes {3} [built] \ No newline at end of file diff --git a/test/statsCases/color-disabled/expected.txt b/test/statsCases/color-disabled/expected.txt index 0ad13b663..a61ed09c9 100644 --- a/test/statsCases/color-disabled/expected.txt +++ b/test/statsCases/color-disabled/expected.txt @@ -4,4 +4,4 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.61 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 0 bytes {0} [built] \ No newline at end of file +[0] ./index.js 0 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/color-enabled-custom/expected.txt b/test/statsCases/color-enabled-custom/expected.txt index 1e0a39645..2a18c994d 100644 --- a/test/statsCases/color-enabled-custom/expected.txt +++ b/test/statsCases/color-enabled-custom/expected.txt @@ -4,4 +4,4 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.61 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 0 bytes {0} [built] \ No newline at end of file +[0] ./index.js 0 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/color-enabled/expected.txt b/test/statsCases/color-enabled/expected.txt index 3ff044bc1..bb7974c5b 100644 --- a/test/statsCases/color-enabled/expected.txt +++ b/test/statsCases/color-enabled/expected.txt @@ -4,4 +4,4 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.61 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 0 bytes {0} [built] \ No newline at end of file +[0] ./index.js 0 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/commons-chunk-min-size-0/expected.txt b/test/statsCases/commons-chunk-min-size-0/expected.txt index 28f5ce3d0..97d37ae2f 100644 --- a/test/statsCases/commons-chunk-min-size-0/expected.txt +++ b/test/statsCases/commons-chunk-min-size-0/expected.txt @@ -5,10 +5,10 @@ Built at: Thu Jan 01 1970 00:00:00 GMT entry-1.js 5.49 KiB 0 [emitted] entry-1 vendor-1~entry-1.js 314 bytes 1 [emitted] vendor-1~entry-1 Entrypoint entry-1 = vendor-1~entry-1.js entry-1.js - [0] ./entry-1.js 145 bytes {0} [built] - [1] ./modules/a.js 22 bytes {1} [built] - [2] ./modules/b.js 22 bytes {1} [built] - [3] ./modules/c.js 22 bytes {1} [built] - [4] ./modules/d.js 22 bytes {0} [built] - [5] ./modules/e.js 22 bytes {0} [built] - [6] ./modules/f.js 22 bytes {0} [built] \ No newline at end of file +[0] ./entry-1.js 145 bytes {0} [built] +[1] ./modules/a.js 22 bytes {1} [built] +[2] ./modules/b.js 22 bytes {1} [built] +[3] ./modules/c.js 22 bytes {1} [built] +[4] ./modules/d.js 22 bytes {0} [built] +[5] ./modules/e.js 22 bytes {0} [built] +[6] ./modules/f.js 22 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/commons-chunk-min-size-Infinity/expected.txt b/test/statsCases/commons-chunk-min-size-Infinity/expected.txt index 134c24a20..fe6ee6e6c 100644 --- a/test/statsCases/commons-chunk-min-size-Infinity/expected.txt +++ b/test/statsCases/commons-chunk-min-size-Infinity/expected.txt @@ -5,10 +5,10 @@ Built at: Thu Jan 01 1970 00:00:00 GMT entry-1.js 5.49 KiB 0 [emitted] entry-1 vendor-1.js 314 bytes 1 [emitted] vendor-1 Entrypoint entry-1 = vendor-1.js entry-1.js - [0] ./entry-1.js 145 bytes {0} [built] - [1] ./modules/a.js 22 bytes {1} [built] - [2] ./modules/b.js 22 bytes {1} [built] - [3] ./modules/c.js 22 bytes {1} [built] - [4] ./modules/d.js 22 bytes {0} [built] - [5] ./modules/e.js 22 bytes {0} [built] - [6] ./modules/f.js 22 bytes {0} [built] \ No newline at end of file +[0] ./entry-1.js 145 bytes {0} [built] +[1] ./modules/a.js 22 bytes {1} [built] +[2] ./modules/b.js 22 bytes {1} [built] +[3] ./modules/c.js 22 bytes {1} [built] +[4] ./modules/d.js 22 bytes {0} [built] +[5] ./modules/e.js 22 bytes {0} [built] +[6] ./modules/f.js 22 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/commons-plugin-issue-4980/expected.txt b/test/statsCases/commons-plugin-issue-4980/expected.txt index 4fb3373bc..36e56796a 100644 --- a/test/statsCases/commons-plugin-issue-4980/expected.txt +++ b/test/statsCases/commons-plugin-issue-4980/expected.txt @@ -9,9 +9,9 @@ Child Entrypoint app = vendor.c0e73bece4137a7015c2.js app.js [./constants.js] 87 bytes {1} [built] [./entry-1.js] ./entry-1.js + 2 modules 190 bytes {0} [built] - | ./entry-1.js 67 bytes [built] - | ./submodule-a.js 59 bytes [built] - | ./submodule-b.js 59 bytes [built] + | ./entry-1.js 67 bytes [built] + | ./submodule-a.js 59 bytes [built] + | ./submodule-b.js 59 bytes [built] Child Hash: 2425703c4fe7d61799b3 Time: Xms @@ -22,6 +22,6 @@ Child Entrypoint app = vendor.c0e73bece4137a7015c2.js app.js [./constants.js] 87 bytes {1} [built] [./entry-2.js] ./entry-2.js + 2 modules 197 bytes {0} [built] - | ./entry-2.js 67 bytes [built] - | ./submodule-a.js 59 bytes [built] - | ./submodule-c.js 66 bytes [built] \ No newline at end of file + | ./entry-2.js 67 bytes [built] + | ./submodule-a.js 59 bytes [built] + | ./submodule-c.js 66 bytes [built] \ No newline at end of file diff --git a/test/statsCases/concat-and-sideeffects/expected.txt b/test/statsCases/concat-and-sideeffects/expected.txt index dbb393d6a..46d862938 100644 --- a/test/statsCases/concat-and-sideeffects/expected.txt +++ b/test/statsCases/concat-and-sideeffects/expected.txt @@ -1,15 +1,15 @@ - [0] ./index.js + 2 modules 119 bytes {0} [built] - | ./index.js 46 bytes [built] - | ModuleConcatenation bailout: Module is an entry point - | ./node_modules/pmodule/a.js 49 bytes [built] - | ./node_modules/pmodule/aa.js 24 bytes [built] - [1] ./node_modules/pmodule/b.js 49 bytes [built] - ModuleConcatenation bailout: Module is not in any chunk - [2] ./node_modules/pmodule/bb.js 24 bytes [built] - ModuleConcatenation bailout: Module is not in any chunk - [3] ./node_modules/pmodule/c.js 49 bytes [built] - ModuleConcatenation bailout: Module is not in any chunk - [4] ./node_modules/pmodule/cc.js 24 bytes [built] - ModuleConcatenation bailout: Module is not in any chunk - [5] ./node_modules/pmodule/index.js 63 bytes [built] - ModuleConcatenation bailout: Module is not in any chunk \ No newline at end of file +[0] ./index.js + 2 modules 119 bytes {0} [built] + | ./index.js 46 bytes [built] + | ModuleConcatenation bailout: Module is an entry point + | ./node_modules/pmodule/a.js 49 bytes [built] + | ./node_modules/pmodule/aa.js 24 bytes [built] +[1] ./node_modules/pmodule/b.js 49 bytes [built] + ModuleConcatenation bailout: Module is not in any chunk +[2] ./node_modules/pmodule/bb.js 24 bytes [built] + ModuleConcatenation bailout: Module is not in any chunk +[3] ./node_modules/pmodule/c.js 49 bytes [built] + ModuleConcatenation bailout: Module is not in any chunk +[4] ./node_modules/pmodule/cc.js 24 bytes [built] + ModuleConcatenation bailout: Module is not in any chunk +[5] ./node_modules/pmodule/index.js 63 bytes [built] + ModuleConcatenation bailout: Module is not in any chunk \ No newline at end of file diff --git a/test/statsCases/define-plugin/expected.txt b/test/statsCases/define-plugin/expected.txt index 09dbcefb9..d43671c36 100644 --- a/test/statsCases/define-plugin/expected.txt +++ b/test/statsCases/define-plugin/expected.txt @@ -6,7 +6,7 @@ Child Asset Size Chunks Chunk Names main.js 2.63 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 24 bytes {0} [built] + [0] ./index.js 24 bytes {0} [built] Child Hash: eaead63561588b554cc6 Time: Xms @@ -14,4 +14,4 @@ Child Asset Size Chunks Chunk Names main.js 2.63 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 24 bytes {0} [built] \ No newline at end of file + [0] ./index.js 24 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/exclude-with-loader/expected.txt b/test/statsCases/exclude-with-loader/expected.txt index cf00120b8..e51510ecf 100644 --- a/test/statsCases/exclude-with-loader/expected.txt +++ b/test/statsCases/exclude-with-loader/expected.txt @@ -5,6 +5,6 @@ Built at: Thu Jan 01 1970 00:00:00 GMT bundle.js 3.05 KiB 0 [emitted] main + 1 hidden asset Entrypoint main = bundle.js - [0] ./index.js 77 bytes {0} [built] - [1] ./a.txt 43 bytes {0} [built] +[0] ./index.js 77 bytes {0} [built] +[1] ./a.txt 43 bytes {0} [built] + 2 hidden modules \ No newline at end of file diff --git a/test/statsCases/external/expected.txt b/test/statsCases/external/expected.txt index 500460544..b8ebe71bd 100644 --- a/test/statsCases/external/expected.txt +++ b/test/statsCases/external/expected.txt @@ -4,5 +4,5 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.74 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./index.js 17 bytes {0} [built] - [1] external "test" 42 bytes {0} [built] \ No newline at end of file +[0] ./index.js 17 bytes {0} [built] +[1] external "test" 42 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/graph-correctness-entries/expected.txt b/test/statsCases/graph-correctness-entries/expected.txt index 7e50b63b5..2c8c3c13e 100644 --- a/test/statsCases/graph-correctness-entries/expected.txt +++ b/test/statsCases/graph-correctness-entries/expected.txt @@ -1,19 +1,19 @@ Entrypoint e1 = e1.js Entrypoint e2 = e2.js chunk {0} c.js (c) 49 bytes <{3}> <{4}> >{1}< [rendered] - [1] ./module-c.js 49 bytes {0} [built] - import() ./module-c [2] ./module-b.js 1:0-47 - import() ./module-c [4] ./e2.js 1:0-47 + [1] ./module-c.js 49 bytes {0} [built] + import() ./module-c [2] ./module-b.js 1:0-47 + import() ./module-c [4] ./e2.js 1:0-47 chunk {1} a.js (a) 49 bytes <{0}> <{2}> >{4}< [rendered] - [0] ./module-a.js 49 bytes {1} [built] - import() ./module-a [1] ./module-c.js 1:0-47 - import() ./module-a [3] ./e1.js 1:0-47 + [0] ./module-a.js 49 bytes {1} [built] + import() ./module-a [1] ./module-c.js 1:0-47 + import() ./module-a [3] ./e1.js 1:0-47 chunk {2} e1.js (e1) 49 bytes >{1}< [entry] [rendered] - [3] ./e1.js 49 bytes {2} [built] - single entry ./e1 e1 + [3] ./e1.js 49 bytes {2} [built] + single entry ./e1 e1 chunk {3} e2.js (e2) 49 bytes >{0}< [entry] [rendered] - [4] ./e2.js 49 bytes {3} [built] - single entry ./e2 e2 + [4] ./e2.js 49 bytes {3} [built] + single entry ./e2 e2 chunk {4} b.js (b) 49 bytes <{1}> >{0}< [rendered] - [2] ./module-b.js 49 bytes {4} [built] - import() ./module-b [0] ./module-a.js 1:0-47 \ No newline at end of file + [2] ./module-b.js 49 bytes {4} [built] + import() ./module-b [0] ./module-a.js 1:0-47 \ No newline at end of file diff --git a/test/statsCases/graph-correctness-modules/expected.txt b/test/statsCases/graph-correctness-modules/expected.txt index 2f553c9ac..d19a2d2be 100644 --- a/test/statsCases/graph-correctness-modules/expected.txt +++ b/test/statsCases/graph-correctness-modules/expected.txt @@ -1,30 +1,30 @@ Entrypoint e1 = e1.js Entrypoint e2 = e2.js chunk {0} y.js (y) 0 bytes <{3}> <{4}> [rendered] - [3] ./module-y.js 0 bytes {0} [built] - import() ./module-y [0] ./module-x.js 1:0-47 + [3] ./module-y.js 0 bytes {0} [built] + import() ./module-y [0] ./module-x.js 1:0-47 chunk {1} c.js (c) 49 bytes <{4}> <{5}> >{2}< [rendered] - [2] ./module-c.js 49 bytes {1} [built] - import() ./module-c [4] ./module-b.js 1:0-47 - import() ./module-c [6] ./e2.js 2:0-47 + [2] ./module-c.js 49 bytes {1} [built] + import() ./module-c [4] ./module-b.js 1:0-47 + import() ./module-c [6] ./e2.js 2:0-47 chunk {2} a.js (a) 49 bytes <{1}> <{3}> >{5}< [rendered] - [1] ./module-a.js 49 bytes {2} [built] - import() ./module-a [2] ./module-c.js 1:0-47 - import() ./module-a [5] ./e1.js 2:0-47 + [1] ./module-a.js 49 bytes {2} [built] + import() ./module-a [2] ./module-c.js 1:0-47 + import() ./module-a [5] ./e1.js 2:0-47 chunk {3} e1.js (e1) 119 bytes >{0}< >{2}< [entry] [rendered] - [0] ./module-x.js 49 bytes {3} {4} [built] - import() ./module-x [4] ./module-b.js 2:0-20 - harmony side effect evaluation ./module-x [5] ./e1.js 1:0-20 - harmony side effect evaluation ./module-x [6] ./e2.js 1:0-20 - [5] ./e1.js 70 bytes {3} [built] - single entry ./e1 e1 + [0] ./module-x.js 49 bytes {3} {4} [built] + import() ./module-x [4] ./module-b.js 2:0-20 + harmony side effect evaluation ./module-x [5] ./e1.js 1:0-20 + harmony side effect evaluation ./module-x [6] ./e2.js 1:0-20 + [5] ./e1.js 70 bytes {3} [built] + single entry ./e1 e1 chunk {4} e2.js (e2) 119 bytes >{0}< >{1}< [entry] [rendered] - [0] ./module-x.js 49 bytes {3} {4} [built] - import() ./module-x [4] ./module-b.js 2:0-20 - harmony side effect evaluation ./module-x [5] ./e1.js 1:0-20 - harmony side effect evaluation ./module-x [6] ./e2.js 1:0-20 - [6] ./e2.js 70 bytes {4} [built] - single entry ./e2 e2 + [0] ./module-x.js 49 bytes {3} {4} [built] + import() ./module-x [4] ./module-b.js 2:0-20 + harmony side effect evaluation ./module-x [5] ./e1.js 1:0-20 + harmony side effect evaluation ./module-x [6] ./e2.js 1:0-20 + [6] ./e2.js 70 bytes {4} [built] + single entry ./e2 e2 chunk {5} b.js (b) 179 bytes <{2}> >{1}< [rendered] - [4] ./module-b.js 179 bytes {5} [built] - import() ./module-b [1] ./module-a.js 1:0-47 \ No newline at end of file + [4] ./module-b.js 179 bytes {5} [built] + import() ./module-b [1] ./module-a.js 1:0-47 \ No newline at end of file diff --git a/test/statsCases/import-context-filter/expected.txt b/test/statsCases/import-context-filter/expected.txt index 1c9cc83bd..9744cd091 100644 --- a/test/statsCases/import-context-filter/expected.txt +++ b/test/statsCases/import-context-filter/expected.txt @@ -7,8 +7,8 @@ Built at: Thu Jan 01 1970 00:00:00 GMT 2.js 308 bytes 2 [emitted] entry.js 7.8 KiB 3 [emitted] entry Entrypoint entry = entry.js - [0] ./templates/bar.js 38 bytes {0} [optional] [built] - [1] ./templates/baz.js 38 bytes {1} [optional] [built] - [2] ./templates/foo.js 38 bytes {2} [optional] [built] - [3] ./entry.js 450 bytes {3} [built] - [4] ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object 160 bytes {3} [optional] [built] \ No newline at end of file +[0] ./templates/bar.js 38 bytes {0} [optional] [built] +[1] ./templates/baz.js 38 bytes {1} [optional] [built] +[2] ./templates/foo.js 38 bytes {2} [optional] [built] +[3] ./entry.js 450 bytes {3} [built] +[4] ./templates lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object 160 bytes {3} [optional] [built] \ No newline at end of file diff --git a/test/statsCases/import-weak/expected.txt b/test/statsCases/import-weak/expected.txt index 921e5d9a7..59bf9df59 100644 --- a/test/statsCases/import-weak/expected.txt +++ b/test/statsCases/import-weak/expected.txt @@ -5,6 +5,6 @@ Built at: Thu Jan 01 1970 00:00:00 GMT 0.js 149 bytes 0 [emitted] entry.js 7.79 KiB 1 [emitted] entry Entrypoint entry = entry.js - [0] ./modules/b.js 22 bytes {0} [built] - [1] ./entry.js 120 bytes {1} [built] - [2] ./modules/a.js 37 bytes [built] \ No newline at end of file +[0] ./modules/b.js 22 bytes {0} [built] +[1] ./entry.js 120 bytes {1} [built] +[2] ./modules/a.js 37 bytes [built] \ No newline at end of file diff --git a/test/statsCases/limit-chunk-count-plugin/expected.txt b/test/statsCases/limit-chunk-count-plugin/expected.txt index e7654d94f..f6cd14a33 100644 --- a/test/statsCases/limit-chunk-count-plugin/expected.txt +++ b/test/statsCases/limit-chunk-count-plugin/expected.txt @@ -7,12 +7,12 @@ Child 1 chunks: bundle.js 5.68 KiB 0 [emitted] main Entrypoint main = bundle.js chunk {0} bundle.js (main) 191 bytes <{0}> >{0}< [entry] [rendered] - [0] ./index.js 73 bytes {0} [built] - [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] - [5] ./e.js 22 bytes {0} [built] + [0] ./index.js 73 bytes {0} [built] + [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] + [5] ./e.js 22 bytes {0} [built] Child 2 chunks: Hash: f90c7b21ae5c6e853a0d Time: Xms @@ -22,13 +22,13 @@ Child 2 chunks: bundle.js 7.19 KiB 1 [emitted] main Entrypoint main = bundle.js chunk {0} 0.bundle.js 118 bytes <{0}> <{1}> >{0}< [rendered] - [0] ./d.js 22 bytes {0} [built] - [1] ./e.js 22 bytes {0} [built] - [2] ./a.js 22 bytes {0} [built] - [3] ./b.js 22 bytes {0} [built] - [4] ./c.js 30 bytes {0} [built] + [0] ./d.js 22 bytes {0} [built] + [1] ./e.js 22 bytes {0} [built] + [2] ./a.js 22 bytes {0} [built] + [3] ./b.js 22 bytes {0} [built] + [4] ./c.js 30 bytes {0} [built] chunk {1} bundle.js (main) 73 bytes >{0}< [entry] [rendered] - [5] ./index.js 73 bytes {1} [built] + [5] ./index.js 73 bytes {1} [built] Child 3 chunks: Hash: f3a313c9918d7d712c3f Time: Xms @@ -39,14 +39,14 @@ Child 3 chunks: bundle.js 7.19 KiB 2 [emitted] main Entrypoint main = bundle.js chunk {0} 0.bundle.js 74 bytes <{0}> <{2}> >{0}< >{1}< [rendered] - [0] ./d.js 22 bytes {0} [built] - [2] ./a.js 22 bytes {0} [built] - [4] ./c.js 30 bytes {0} [built] + [0] ./d.js 22 bytes {0} [built] + [2] ./a.js 22 bytes {0} [built] + [4] ./c.js 30 bytes {0} [built] chunk {1} 1.bundle.js 44 bytes <{0}> <{2}> [rendered] - [1] ./e.js 22 bytes {1} [built] - [3] ./b.js 22 bytes {1} [built] + [1] ./e.js 22 bytes {1} [built] + [3] ./b.js 22 bytes {1} [built] chunk {2} bundle.js (main) 73 bytes >{0}< >{1}< [entry] [rendered] - [5] ./index.js 73 bytes {2} [built] + [5] ./index.js 73 bytes {2} [built] Child 4 chunks: Hash: 113bf580db9e5c6196ce Time: Xms @@ -58,12 +58,12 @@ Child 4 chunks: bundle.js 7.19 KiB 3 [emitted] main Entrypoint main = bundle.js chunk {0} 0.bundle.js 44 bytes <{2}> <{3}> [rendered] - [0] ./d.js 22 bytes {0} [built] - [2] ./a.js 22 bytes {0} [built] + [0] ./d.js 22 bytes {0} [built] + [2] ./a.js 22 bytes {0} [built] chunk {1} 1.bundle.js 44 bytes <{2}> <{3}> [rendered] - [1] ./e.js 22 bytes {1} [built] - [3] ./b.js 22 bytes {1} [built] + [1] ./e.js 22 bytes {1} [built] + [3] ./b.js 22 bytes {1} [built] chunk {2} 2.bundle.js 30 bytes <{3}> >{0}< >{1}< [rendered] - [4] ./c.js 30 bytes {2} [built] + [4] ./c.js 30 bytes {2} [built] chunk {3} bundle.js (main) 73 bytes >{0}< >{1}< >{2}< [entry] [rendered] - [5] ./index.js 73 bytes {3} [built] \ No newline at end of file + [5] ./index.js 73 bytes {3} [built] \ No newline at end of file diff --git a/test/statsCases/max-modules-default/expected.txt b/test/statsCases/max-modules-default/expected.txt index c888ec49f..f8915ebb3 100644 --- a/test/statsCases/max-modules-default/expected.txt +++ b/test/statsCases/max-modules-default/expected.txt @@ -4,19 +4,19 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 5.85 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./a.js?1 33 bytes {0} [built] - [1] ./a.js?2 33 bytes {0} [built] - [2] ./a.js?3 33 bytes {0} [built] - [3] ./a.js?4 33 bytes {0} [built] - [4] ./a.js?5 33 bytes {0} [built] - [5] ./a.js?6 33 bytes {0} [built] - [6] ./a.js?7 33 bytes {0} [built] - [7] ./a.js?8 33 bytes {0} [built] - [8] ./a.js?9 33 bytes {0} [built] - [9] ./a.js?10 33 bytes {0} [built] - [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] + [0] ./a.js?1 33 bytes {0} [built] + [1] ./a.js?2 33 bytes {0} [built] + [2] ./a.js?3 33 bytes {0} [built] + [3] ./a.js?4 33 bytes {0} [built] + [4] ./a.js?5 33 bytes {0} [built] + [5] ./a.js?6 33 bytes {0} [built] + [6] ./a.js?7 33 bytes {0} [built] + [7] ./a.js?8 33 bytes {0} [built] + [8] ./a.js?9 33 bytes {0} [built] + [9] ./a.js?10 33 bytes {0} [built] +[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] + 16 hidden modules \ No newline at end of file diff --git a/test/statsCases/max-modules/expected.txt b/test/statsCases/max-modules/expected.txt index a068d73d8..653fca302 100644 --- a/test/statsCases/max-modules/expected.txt +++ b/test/statsCases/max-modules/expected.txt @@ -4,24 +4,24 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 5.85 KiB 0 [emitted] main Entrypoint main = main.js - [0] ./a.js?1 33 bytes {0} [built] - [1] ./a.js?2 33 bytes {0} [built] - [2] ./a.js?3 33 bytes {0} [built] - [3] ./a.js?4 33 bytes {0} [built] - [4] ./a.js?5 33 bytes {0} [built] - [5] ./a.js?6 33 bytes {0} [built] - [6] ./a.js?7 33 bytes {0} [built] - [7] ./a.js?8 33 bytes {0} [built] - [8] ./a.js?9 33 bytes {0} [built] - [9] ./a.js?10 33 bytes {0} [built] - [10] ./index.js 181 bytes {0} [built] - [11] ./c.js?1 33 bytes {0} [built] - [13] ./c.js?2 33 bytes {0} [built] - [15] ./c.js?3 33 bytes {0} [built] - [17] ./c.js?4 33 bytes {0} [built] - [19] ./c.js?5 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] + [0] ./a.js?1 33 bytes {0} [built] + [1] ./a.js?2 33 bytes {0} [built] + [2] ./a.js?3 33 bytes {0} [built] + [3] ./a.js?4 33 bytes {0} [built] + [4] ./a.js?5 33 bytes {0} [built] + [5] ./a.js?6 33 bytes {0} [built] + [6] ./a.js?7 33 bytes {0} [built] + [7] ./a.js?8 33 bytes {0} [built] + [8] ./a.js?9 33 bytes {0} [built] + [9] ./a.js?10 33 bytes {0} [built] +[10] ./index.js 181 bytes {0} [built] +[11] ./c.js?1 33 bytes {0} [built] +[13] ./c.js?2 33 bytes {0} [built] +[15] ./c.js?3 33 bytes {0} [built] +[17] ./c.js?4 33 bytes {0} [built] +[19] ./c.js?5 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 \ No newline at end of file diff --git a/test/statsCases/module-assets/expected.txt b/test/statsCases/module-assets/expected.txt index bd2e4fb34..bb8da025e 100644 --- a/test/statsCases/module-assets/expected.txt +++ b/test/statsCases/module-assets/expected.txt @@ -3,10 +3,10 @@ Time: Xms Built at: Thu Jan 01 1970 00:00:00 GMT Entrypoint main = main.js chunk {0} 0.js 68 bytes <{1}> [rendered] - [0] ./node_modules/a/1.png 51 bytes {0} [built] [1 asset] - [1] ./node_modules/a/index.js 17 bytes {0} [built] + [0] ./node_modules/a/1.png 51 bytes {0} [built] [1 asset] + [1] ./node_modules/a/index.js 17 bytes {0} [built] chunk {1} main.js (main) 12 bytes >{0}< [entry] [rendered] - [2] ./index.js 12 bytes {1} [built] - [0] ./node_modules/a/1.png 51 bytes {0} [built] [1 asset] - [1] ./node_modules/a/index.js 17 bytes {0} [built] - [2] ./index.js 12 bytes {1} [built] \ No newline at end of file + [2] ./index.js 12 bytes {1} [built] +[0] ./node_modules/a/1.png 51 bytes {0} [built] [1 asset] +[1] ./node_modules/a/index.js 17 bytes {0} [built] +[2] ./index.js 12 bytes {1} [built] \ No newline at end of file diff --git a/test/statsCases/module-deduplication-named/expected.txt b/test/statsCases/module-deduplication-named/expected.txt index 66b586f78..670bcf76e 100644 --- a/test/statsCases/module-deduplication-named/expected.txt +++ b/test/statsCases/module-deduplication-named/expected.txt @@ -9,29 +9,29 @@ Entrypoint e1 = e1.js Entrypoint e2 = e2.js Entrypoint e3 = e3.js chunk {0} async3.js (async3) 89 bytes <{2}> <{5}> >{1}< [rendered] - [4] ./h.js 9 bytes {0} {5} [built] - [7] ./async3.js 80 bytes {0} [built] + [4] ./h.js 9 bytes {0} {5} [built] + [7] ./async3.js 80 bytes {0} [built] chunk {1} async1.js (async1) 89 bytes <{0}> <{3}> >{2}< [rendered] - [2] ./d.js 9 bytes {1} {3} [built] - [5] ./async1.js 80 bytes {1} [built] + [2] ./d.js 9 bytes {1} {3} [built] + [5] ./async1.js 80 bytes {1} [built] chunk {2} async2.js (async2) 89 bytes <{1}> <{4}> >{0}< [rendered] - [3] ./f.js 9 bytes {2} {4} [built] - [6] ./async2.js 80 bytes {2} [built] + [3] ./f.js 9 bytes {2} {4} [built] + [6] ./async2.js 80 bytes {2} [built] chunk {3} e1.js (e1) 144 bytes >{1}< [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 {1} {3} [built] - [8] ./e1.js 108 bytes {3} [built] - [9] ./c.js 9 bytes {3} [built] + [0] ./b.js 9 bytes {3} {4} {5} [built] + [1] ./a.js 9 bytes {3} {4} {5} [built] + [2] ./d.js 9 bytes {1} {3} [built] + [8] ./e1.js 108 bytes {3} [built] + [9] ./c.js 9 bytes {3} [built] chunk {4} e2.js (e2) 144 bytes >{2}< [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 {2} {4} [built] - [10] ./e2.js 108 bytes {4} [built] - [11] ./e.js 9 bytes {4} [built] + [0] ./b.js 9 bytes {3} {4} {5} [built] + [1] ./a.js 9 bytes {3} {4} {5} [built] + [3] ./f.js 9 bytes {2} {4} [built] + [10] ./e2.js 108 bytes {4} [built] + [11] ./e.js 9 bytes {4} [built] chunk {5} e3.js (e3) 144 bytes >{0}< [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 {0} {5} [built] - [12] ./e3.js 108 bytes {5} [built] - [13] ./g.js 9 bytes {5} [built] \ No newline at end of file + [0] ./b.js 9 bytes {3} {4} {5} [built] + [1] ./a.js 9 bytes {3} {4} {5} [built] + [4] ./h.js 9 bytes {0} {5} [built] + [12] ./e3.js 108 bytes {5} [built] + [13] ./g.js 9 bytes {5} [built] \ No newline at end of file diff --git a/test/statsCases/module-deduplication/expected.txt b/test/statsCases/module-deduplication/expected.txt index f9a25238a..fe5cd0993 100644 --- a/test/statsCases/module-deduplication/expected.txt +++ b/test/statsCases/module-deduplication/expected.txt @@ -12,35 +12,35 @@ Entrypoint e1 = e1.js Entrypoint e2 = e2.js Entrypoint e3 = e3.js chunk {0} 0.js 37 bytes <{7}> <{8}> [rendered] - [2] ./d.js 9 bytes {0} {6} [built] - [5] ./async1.js 28 bytes {0} {5} [built] + [2] ./d.js 9 bytes {0} {6} [built] + [5] ./async1.js 28 bytes {0} {5} [built] chunk {1} 1.js 37 bytes <{6}> <{8}> [rendered] - [3] ./f.js 9 bytes {1} {7} [built] - [6] ./async2.js 28 bytes {1} {4} [built] + [3] ./f.js 9 bytes {1} {7} [built] + [6] ./async2.js 28 bytes {1} {4} [built] chunk {2} 2.js 37 bytes <{6}> <{7}> [rendered] - [4] ./h.js 9 bytes {2} {8} [built] - [7] ./async3.js 28 bytes {2} {3} [built] + [4] ./h.js 9 bytes {2} {8} [built] + [7] ./async3.js 28 bytes {2} {3} [built] chunk {3} 3.js 28 bytes <{8}> [rendered] - [7] ./async3.js 28 bytes {2} {3} [built] + [7] ./async3.js 28 bytes {2} {3} [built] chunk {4} 4.js 28 bytes <{7}> [rendered] - [6] ./async2.js 28 bytes {1} {4} [built] + [6] ./async2.js 28 bytes {1} {4} [built] chunk {5} 5.js 28 bytes <{6}> [rendered] - [5] ./async1.js 28 bytes {0} {5} [built] + [5] ./async1.js 28 bytes {0} {5} [built] chunk {6} e1.js (e1) 152 bytes >{1}< >{2}< >{5}< [entry] [rendered] - [0] ./b.js 9 bytes {6} {7} {8} [built] - [1] ./a.js 9 bytes {6} {7} {8} [built] - [2] ./d.js 9 bytes {0} {6} [built] - [8] ./e1.js 116 bytes {6} [built] - [9] ./c.js 9 bytes {6} [built] + [0] ./b.js 9 bytes {6} {7} {8} [built] + [1] ./a.js 9 bytes {6} {7} {8} [built] + [2] ./d.js 9 bytes {0} {6} [built] + [8] ./e1.js 116 bytes {6} [built] + [9] ./c.js 9 bytes {6} [built] chunk {7} e2.js (e2) 152 bytes >{0}< >{2}< >{4}< [entry] [rendered] - [0] ./b.js 9 bytes {6} {7} {8} [built] - [1] ./a.js 9 bytes {6} {7} {8} [built] - [3] ./f.js 9 bytes {1} {7} [built] - [10] ./e2.js 116 bytes {7} [built] - [11] ./e.js 9 bytes {7} [built] + [0] ./b.js 9 bytes {6} {7} {8} [built] + [1] ./a.js 9 bytes {6} {7} {8} [built] + [3] ./f.js 9 bytes {1} {7} [built] + [10] ./e2.js 116 bytes {7} [built] + [11] ./e.js 9 bytes {7} [built] chunk {8} e3.js (e3) 152 bytes >{0}< >{1}< >{3}< [entry] [rendered] - [0] ./b.js 9 bytes {6} {7} {8} [built] - [1] ./a.js 9 bytes {6} {7} {8} [built] - [4] ./h.js 9 bytes {2} {8} [built] - [12] ./e3.js 116 bytes {8} [built] - [13] ./g.js 9 bytes {8} [built] \ No newline at end of file + [0] ./b.js 9 bytes {6} {7} {8} [built] + [1] ./a.js 9 bytes {6} {7} {8} [built] + [4] ./h.js 9 bytes {2} {8} [built] + [12] ./e3.js 116 bytes {8} [built] + [13] ./g.js 9 bytes {8} [built] \ No newline at end of file diff --git a/test/statsCases/module-trace-disabled-in-error/expected.txt b/test/statsCases/module-trace-disabled-in-error/expected.txt index 103e60f89..4331cd169 100644 --- a/test/statsCases/module-trace-disabled-in-error/expected.txt +++ b/test/statsCases/module-trace-disabled-in-error/expected.txt @@ -3,7 +3,7 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.79 KiB 0 main Entrypoint main = main.js - [0] ./index.js 25 bytes {0} [built] +[0] ./index.js 25 bytes {0} [built] ERROR in ./index.js Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-disabled-in-error' \ No newline at end of file diff --git a/test/statsCases/module-trace-enabled-in-error/expected.txt b/test/statsCases/module-trace-enabled-in-error/expected.txt index d76fcbffa..8b4bf5134 100644 --- a/test/statsCases/module-trace-enabled-in-error/expected.txt +++ b/test/statsCases/module-trace-enabled-in-error/expected.txt @@ -3,7 +3,7 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 2.79 KiB 0 main Entrypoint main = main.js - [0] ./index.js 25 bytes {0} [built] +[0] ./index.js 25 bytes {0} [built] ERROR in ./index.js Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-enabled-in-error' diff --git a/test/statsCases/named-chunks-plugin-async/expected.txt b/test/statsCases/named-chunks-plugin-async/expected.txt index f5d8b300c..23359057f 100644 --- a/test/statsCases/named-chunks-plugin-async/expected.txt +++ b/test/statsCases/named-chunks-plugin-async/expected.txt @@ -6,6 +6,6 @@ chunk-containing-__a_js.js 509 bytes chunk-containing-__a_js [emitted] chunk-containing-__b_js.js 173 bytes chunk-containing-__b_js [emitted] entry.js 7.28 KiB entry [emitted] entry Entrypoint entry = entry.js - [0] ./modules/b.js 22 bytes {chunk-containing-__b_js} [built] - [1] ./modules/a.js 37 bytes {chunk-containing-__a_js} [built] - [2] ./entry.js 47 bytes {entry} [built] \ No newline at end of file +[0] ./modules/b.js 22 bytes {chunk-containing-__b_js} [built] +[1] ./modules/a.js 37 bytes {chunk-containing-__a_js} [built] +[2] ./entry.js 47 bytes {entry} [built] \ No newline at end of file diff --git a/test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt b/test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt index 514bf18be..72101dbc3 100644 --- a/test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt +++ b/test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt @@ -5,7 +5,7 @@ Built at: Thu Jan 01 1970 00:00:00 GMT child.js 2.61 KiB bundle.js 2.61 KiB 0 main Entrypoint main = bundle.js - [0] ./index.js 0 bytes {0} [built] +[0] ./index.js 0 bytes {0} [built] WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. @@ -14,6 +14,6 @@ Child child: Asset Size Chunks Chunk Names child.js 2.61 KiB 0 child Entrypoint child = child.js - [0] ./index.js 0 bytes {0} [built] + [0] ./index.js 0 bytes {0} [built] ERROR in forced error \ No newline at end of file diff --git a/test/statsCases/optimize-chunks/expected.txt b/test/statsCases/optimize-chunks/expected.txt index 34f15dbf8..c75ed93a6 100644 --- a/test/statsCases/optimize-chunks/expected.txt +++ b/test/statsCases/optimize-chunks/expected.txt @@ -15,33 +15,33 @@ chunk {0} cir1.js (cir1) 81 bytes <{3}> <{4}> <{5}> >{5}< [rendered] > [3] ./circular2.js 1:0-79 > [3] ./circular2.js 1:0-79 > [8] ./index.js 13:0-54 - [2] ./circular1.js 81 bytes {0} [built] + [2] ./circular1.js 81 bytes {0} [built] chunk {1} ab.js (ab) 0 bytes <{4}> >{7}< [rendered] > [8] ./index.js 1:0-6:8 - [0] ./modules/a.js 0 bytes {1} {2} [built] - [1] ./modules/b.js 0 bytes {1} {2} [built] + [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 <{4}> >{6}< [rendered] > [8] ./index.js 8:0-11:9 - [0] ./modules/a.js 0 bytes {1} {2} [built] - [1] ./modules/b.js 0 bytes {1} {2} [built] - [6] ./modules/d.js 0 bytes {2} {6} [built] + [0] ./modules/a.js 0 bytes {1} {2} [built] + [1] ./modules/b.js 0 bytes {1} {2} [built] + [6] ./modules/d.js 0 bytes {2} {6} [built] chunk {3} cir2.js (cir2) 81 bytes <{4}> >{0}< [rendered] > [8] ./index.js 14:0-54 - [3] ./circular2.js 81 bytes {3} {5} [built] + [3] ./circular2.js 81 bytes {3} {5} [built] chunk {4} main.js (main) 523 bytes >{0}< >{1}< >{2}< >{3}< [entry] [rendered] > ./index main - [4] ./modules/f.js 0 bytes {4} [built] - [8] ./index.js 523 bytes {4} [built] + [4] ./modules/f.js 0 bytes {4} [built] + [8] ./index.js 523 bytes {4} [built] chunk {5} cir2 from cir1.js (cir2 from cir1) 81 bytes <{0}> >{0}< [rendered] > [2] ./circular1.js 1:0-79 > [2] ./circular1.js 1:0-79 - [3] ./circular2.js 81 bytes {3} {5} [built] - [7] ./modules/e.js 0 bytes {5} [built] + [3] ./circular2.js 81 bytes {3} {5} [built] + [7] ./modules/e.js 0 bytes {5} [built] chunk {6} chunk.js (chunk) 0 bytes <{2}> <{7}> [rendered] > [8] ./index.js 3:2-4:13 > [8] ./index.js 9:1-10:12 - [5] ./modules/c.js 0 bytes {6} {7} [built] - [6] ./modules/d.js 0 bytes {2} {6} [built] + [5] ./modules/c.js 0 bytes {6} {7} [built] + [6] ./modules/d.js 0 bytes {2} {6} [built] chunk {7} ac in ab.js (ac in ab) 0 bytes <{1}> >{6}< [rendered] > [8] ./index.js 2:1-5:15 - [5] ./modules/c.js 0 bytes {6} {7} [built] \ No newline at end of file + [5] ./modules/c.js 0 bytes {6} {7} [built] \ No newline at end of file diff --git a/test/statsCases/parse-error/expected.txt b/test/statsCases/parse-error/expected.txt index 9415f39a1..fb2938a35 100644 --- a/test/statsCases/parse-error/expected.txt +++ b/test/statsCases/parse-error/expected.txt @@ -1,10 +1,10 @@ Asset Size Chunks Chunk Names main.js 3.05 KiB 0 main Entrypoint main = main.js - [0] ./b.js 169 bytes {0} [built] [failed] [1 error] - [1] ./index.js + 1 modules 35 bytes {0} [built] - | ./index.js 15 bytes [built] - | ./a.js 15 bytes [built] +[0] ./b.js 169 bytes {0} [built] [failed] [1 error] +[1] ./index.js + 1 modules 35 bytes {0} [built] + | ./index.js 15 bytes [built] + | ./a.js 15 bytes [built] ERROR in ./b.js Module parse failed: Unexpected token (6:7) diff --git a/test/statsCases/performance-different-mode-and-target/expected.txt b/test/statsCases/performance-different-mode-and-target/expected.txt index 9aaff8332..56a60aab9 100644 --- a/test/statsCases/performance-different-mode-and-target/expected.txt +++ b/test/statsCases/performance-different-mode-and-target/expected.txt @@ -6,7 +6,7 @@ Child Asset Size Chunks Chunk Names warning.pro-web.js 296 KiB 0 [emitted] [big] main Entrypoint main [big] = warning.pro-web.js - [0] ./index.js 293 KiB {0} [built] + [0] ./index.js 293 KiB {0} [built] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. @@ -29,7 +29,7 @@ Child Asset Size Chunks Chunk Names warning.pro-webworker.js 296 KiB 0 [emitted] [big] main Entrypoint main [big] = warning.pro-webworker.js - [0] ./index.js 293 KiB {0} [built] + [0] ./index.js 293 KiB {0} [built] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. @@ -52,7 +52,7 @@ Child Asset Size Chunks Chunk Names no-warning.pro-node.js 296 KiB 0 [emitted] main Entrypoint main = no-warning.pro-node.js - [0] ./index.js 293 KiB {0} [built] + [0] ./index.js 293 KiB {0} [built] Child Hash: 23ef01d5f7db6f7b0912 Time: Xms @@ -84,7 +84,7 @@ Child Asset Size Chunks Chunk Names warning.pro-node-with-hints-set.js 296 KiB 0 [emitted] [big] main Entrypoint main [big] = warning.pro-node-with-hints-set.js - [0] ./index.js 293 KiB {0} [built] + [0] ./index.js 293 KiB {0} [built] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. diff --git a/test/statsCases/performance-disabled/expected.txt b/test/statsCases/performance-disabled/expected.txt index 311838388..8747d941a 100644 --- a/test/statsCases/performance-disabled/expected.txt +++ b/test/statsCases/performance-disabled/expected.txt @@ -6,9 +6,9 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js 300 KiB 2 [emitted] main 3.js 227 bytes 3 [emitted] Entrypoint main = main.js - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 52 bytes {2} [built] - [5] ./a.js 293 KiB {2} [built] \ No newline at end of file +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 52 bytes {2} [built] +[5] ./a.js 293 KiB {2} [built] \ No newline at end of file diff --git a/test/statsCases/performance-error/expected.txt b/test/statsCases/performance-error/expected.txt index f9b67149c..bb67d7656 100644 --- a/test/statsCases/performance-error/expected.txt +++ b/test/statsCases/performance-error/expected.txt @@ -6,12 +6,12 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js 300 KiB 2 [emitted] [big] main 3.js 227 bytes 3 [emitted] Entrypoint main [big] = main.js - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 52 bytes {2} [built] - [5] ./a.js 293 KiB {2} [built] +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 52 bytes {2} [built] +[5] ./a.js 293 KiB {2} [built] ERROR in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. diff --git a/test/statsCases/performance-no-async-chunks-shown/expected.txt b/test/statsCases/performance-no-async-chunks-shown/expected.txt index 1ec302a09..d3e498d8a 100644 --- a/test/statsCases/performance-no-async-chunks-shown/expected.txt +++ b/test/statsCases/performance-no-async-chunks-shown/expected.txt @@ -5,12 +5,12 @@ Built at: Thu Jan 01 1970 00:00:00 GMT sec.js 2.95 KiB 1 [emitted] sec Entrypoint main [big] = main.js Entrypoint sec = sec.js - [0] ./b.js 22 bytes {0} {1} [built] - [1] ./index.js 32 bytes {0} [built] - [2] ./a.js 293 KiB {0} [built] - [3] ./index2.js 48 bytes {1} [built] - [4] ./c.js 22 bytes {1} [built] - [5] ./d.js 22 bytes {1} [built] +[0] ./b.js 22 bytes {0} {1} [built] +[1] ./index.js 32 bytes {0} [built] +[2] ./a.js 293 KiB {0} [built] +[3] ./index2.js 48 bytes {1} [built] +[4] ./c.js 22 bytes {1} [built] +[5] ./d.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. diff --git a/test/statsCases/performance-no-hints/expected.txt b/test/statsCases/performance-no-hints/expected.txt index 00f1efafc..1181b98c5 100644 --- a/test/statsCases/performance-no-hints/expected.txt +++ b/test/statsCases/performance-no-hints/expected.txt @@ -6,9 +6,9 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js 300 KiB 2 [emitted] [big] main 3.js 227 bytes 3 [emitted] Entrypoint main [big] = main.js - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 52 bytes {2} [built] - [5] ./a.js 293 KiB {2} [built] \ No newline at end of file +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 52 bytes {2} [built] +[5] ./a.js 293 KiB {2} [built] \ No newline at end of file diff --git a/test/statsCases/performance-oversize-limit-error/expected.txt b/test/statsCases/performance-oversize-limit-error/expected.txt index 23e8b18d7..288a58cd7 100644 --- a/test/statsCases/performance-oversize-limit-error/expected.txt +++ b/test/statsCases/performance-oversize-limit-error/expected.txt @@ -5,9 +5,9 @@ Built at: Thu Jan 01 1970 00:00:00 GMT sec.js 296 KiB 1 [emitted] [big] sec Entrypoint main [big] = main.js Entrypoint sec [big] = sec.js - [0] ./a.js 293 KiB {0} {1} [built] - [1] ./index.js 16 bytes {0} [built] - [2] ./index2.js 16 bytes {1} [built] +[0] ./a.js 293 KiB {0} {1} [built] +[1] ./index.js 16 bytes {0} [built] +[2] ./index2.js 16 bytes {1} [built] ERROR in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. diff --git a/test/statsCases/preset-detailed/expected.txt b/test/statsCases/preset-detailed/expected.txt index b9479c247..809e2d594 100644 --- a/test/statsCases/preset-detailed/expected.txt +++ b/test/statsCases/preset-detailed/expected.txt @@ -15,15 +15,15 @@ chunk {2} main.js (main) 73 bytes >{0}< >{1}< [entry] [rendered] > ./index main chunk {3} 3.js 44 bytes <{1}> [rendered] > [3] ./c.js 1:0-52 - [0] ./d.js 22 bytes {3} [depth 2] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [1] ./e.js 22 bytes {3} [depth 2] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [2] ./b.js 22 bytes {0} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [3] ./c.js 54 bytes {1} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [4] ./index.js 51 bytes {2} [depth 0] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [5] ./a.js 22 bytes {2} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module \ No newline at end of file +[0] ./d.js 22 bytes {3} [depth 2] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[1] ./e.js 22 bytes {3} [depth 2] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[2] ./b.js 22 bytes {0} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[3] ./c.js 54 bytes {1} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[4] ./index.js 51 bytes {2} [depth 0] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[5] ./a.js 22 bytes {2} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module \ No newline at end of file diff --git a/test/statsCases/preset-mixed-array/expected.txt b/test/statsCases/preset-mixed-array/expected.txt index 061367f34..119f7a1be 100644 --- a/test/statsCases/preset-mixed-array/expected.txt +++ b/test/statsCases/preset-mixed-array/expected.txt @@ -2,4 +2,4 @@ Child minimal: 1 module Child verbose: Entrypoint main = main.js - [0] ./index.js 8 bytes {0} [built] \ No newline at end of file + [0] ./index.js 8 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt b/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt index 2b0180443..a3ff9d555 100644 --- a/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt +++ b/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt @@ -10,12 +10,12 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js.map 1.72 MiB 2 [emitted] main 3.js.map 214 bytes 3 [emitted] Entrypoint main [big] = main.js main.js.map - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 52 bytes {2} [built] - [5] ./a.js 293 KiB {2} [built] +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 52 bytes {2} [built] +[5] ./a.js 293 KiB {2} [built] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. diff --git a/test/statsCases/preset-normal-performance/expected.txt b/test/statsCases/preset-normal-performance/expected.txt index 2eb11a5e6..3054babb3 100644 --- a/test/statsCases/preset-normal-performance/expected.txt +++ b/test/statsCases/preset-normal-performance/expected.txt @@ -6,12 +6,12 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js 300 KiB 2 [emitted] [big] main 3.js 227 bytes 3 [emitted] Entrypoint main [big] = main.js - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 52 bytes {2} [built] - [5] ./a.js 293 KiB {2} [built] +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 52 bytes {2} [built] +[5] ./a.js 293 KiB {2} [built] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. diff --git a/test/statsCases/preset-normal/expected.txt b/test/statsCases/preset-normal/expected.txt index 8fd9bdd87..1fafbce3e 100644 --- a/test/statsCases/preset-normal/expected.txt +++ b/test/statsCases/preset-normal/expected.txt @@ -7,9 +7,9 @@ Built at: Thu Jan 01 1970 00:00:00 GMT main.js 7.01 KiB 2 [emitted] main 3.js 227 bytes 3 [emitted] Entrypoint main = main.js - [0] ./d.js 22 bytes {3} [built] - [1] ./e.js 22 bytes {3} [built] - [2] ./b.js 22 bytes {0} [built] - [3] ./c.js 54 bytes {1} [built] - [4] ./index.js 51 bytes {2} [built] - [5] ./a.js 22 bytes {2} [built] \ No newline at end of file +[0] ./d.js 22 bytes {3} [built] +[1] ./e.js 22 bytes {3} [built] +[2] ./b.js 22 bytes {0} [built] +[3] ./c.js 54 bytes {1} [built] +[4] ./index.js 51 bytes {2} [built] +[5] ./a.js 22 bytes {2} [built] \ No newline at end of file diff --git a/test/statsCases/preset-verbose/expected.txt b/test/statsCases/preset-verbose/expected.txt index 50f688017..a013e663b 100644 --- a/test/statsCases/preset-verbose/expected.txt +++ b/test/statsCases/preset-verbose/expected.txt @@ -9,33 +9,33 @@ main.js 7.01 KiB 2 [emitted] main Entrypoint main = main.js chunk {0} 0.js 22 bytes <{2}> [rendered] > ./b [4] ./index.js 2:0-16 - [2] ./b.js 22 bytes {0} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - amd require ./b [4] ./index.js 2:0-16 - [4] Xms -> factory:Xms building:Xms = Xms + [2] ./b.js 22 bytes {0} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module + amd require ./b [4] ./index.js 2:0-16 + [4] Xms -> factory:Xms building:Xms = Xms chunk {1} 1.js 54 bytes <{2}> >{3}< [rendered] > ./c [4] ./index.js 3:0-16 - [3] ./c.js 54 bytes {1} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - amd require ./c [4] ./index.js 3:0-16 - [4] Xms -> factory:Xms building:Xms = Xms + [3] ./c.js 54 bytes {1} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module + amd require ./c [4] ./index.js 3:0-16 + [4] Xms -> factory:Xms building:Xms = Xms chunk {2} main.js (main) 73 bytes >{0}< >{1}< [entry] [rendered] > ./index main - [4] ./index.js 51 bytes {2} [depth 0] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - single entry ./index main - factory:Xms building:Xms = Xms - [5] ./a.js 22 bytes {2} [depth 1] [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - cjs require ./a [4] ./index.js 1:0-14 - [4] Xms -> factory:Xms building:Xms = Xms + [4] ./index.js 51 bytes {2} [depth 0] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module + single entry ./index main + factory:Xms building:Xms = Xms + [5] ./a.js 22 bytes {2} [depth 1] [built] + ModuleConcatenation bailout: Module is not an ECMAScript module + cjs require ./a [4] ./index.js 1:0-14 + [4] Xms -> factory:Xms building:Xms = Xms chunk {3} 3.js 44 bytes <{1}> [rendered] > [3] ./c.js 1:0-52 - [0] ./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 - [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms - [1] ./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 - [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms \ No newline at end of file + [0] ./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 + [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms + [1] ./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 + [4] Xms -> [3] Xms -> factory:Xms building:Xms = Xms \ No newline at end of file diff --git a/test/statsCases/resolve-plugin-context/expected.txt b/test/statsCases/resolve-plugin-context/expected.txt index 4831d728b..ee27654fc 100644 --- a/test/statsCases/resolve-plugin-context/expected.txt +++ b/test/statsCases/resolve-plugin-context/expected.txt @@ -4,8 +4,8 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names bundle.js 3.01 KiB 0 [emitted] main Entrypoint main = bundle.js - [0] ./node_modules/xyz/index.js 0 bytes {0} [built] - [1] ./index.js 48 bytes {0} [built] - [2] ./node_modules/abc/index.js 16 bytes {0} [built] - [3] ./node_modules/def/index.js 16 bytes {0} [built] - [4] ./node_modules/def/node_modules/xyz/index.js 0 bytes {0} [built] \ No newline at end of file +[0] ./node_modules/xyz/index.js 0 bytes {0} [built] +[1] ./index.js 48 bytes {0} [built] +[2] ./node_modules/abc/index.js 16 bytes {0} [built] +[3] ./node_modules/def/index.js 16 bytes {0} [built] +[4] ./node_modules/def/node_modules/xyz/index.js 0 bytes {0} [built] \ No newline at end of file diff --git a/test/statsCases/reverse-sort-modules/expected.txt b/test/statsCases/reverse-sort-modules/expected.txt index 4280dd705..4eb744a13 100644 --- a/test/statsCases/reverse-sort-modules/expected.txt +++ b/test/statsCases/reverse-sort-modules/expected.txt @@ -4,24 +4,24 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names main.js 5.85 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] - [19] ./c.js?5 33 bytes {0} [built] - [17] ./c.js?4 33 bytes {0} [built] - [15] ./c.js?3 33 bytes {0} [built] - [13] ./c.js?2 33 bytes {0} [built] - [11] ./c.js?1 33 bytes {0} [built] - [10] ./index.js 181 bytes {0} [built] - [9] ./a.js?10 33 bytes {0} [built] - [8] ./a.js?9 33 bytes {0} [built] - [7] ./a.js?8 33 bytes {0} [built] - [6] ./a.js?7 33 bytes {0} [built] - [5] ./a.js?6 33 bytes {0} [built] - [4] ./a.js?5 33 bytes {0} [built] - [3] ./a.js?4 33 bytes {0} [built] - [2] ./a.js?3 33 bytes {0} [built] - [1] ./a.js?2 33 bytes {0} [built] - [0] ./a.js?1 33 bytes {0} [built] +[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] +[19] ./c.js?5 33 bytes {0} [built] +[17] ./c.js?4 33 bytes {0} [built] +[15] ./c.js?3 33 bytes {0} [built] +[13] ./c.js?2 33 bytes {0} [built] +[11] ./c.js?1 33 bytes {0} [built] +[10] ./index.js 181 bytes {0} [built] + [9] ./a.js?10 33 bytes {0} [built] + [8] ./a.js?9 33 bytes {0} [built] + [7] ./a.js?8 33 bytes {0} [built] + [6] ./a.js?7 33 bytes {0} [built] + [5] ./a.js?6 33 bytes {0} [built] + [4] ./a.js?5 33 bytes {0} [built] + [3] ./a.js?4 33 bytes {0} [built] + [2] ./a.js?3 33 bytes {0} [built] + [1] ./a.js?2 33 bytes {0} [built] + [0] ./a.js?1 33 bytes {0} [built] + 11 hidden modules \ No newline at end of file diff --git a/test/statsCases/scope-hoisting-bailouts/expected.txt b/test/statsCases/scope-hoisting-bailouts/expected.txt index f61b7e1bb..464871507 100644 --- a/test/statsCases/scope-hoisting-bailouts/expected.txt +++ b/test/statsCases/scope-hoisting-bailouts/expected.txt @@ -3,27 +3,27 @@ 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 {1} {2} [built] - ModuleConcatenation bailout: Module is an entry point - [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] external "external" 42 bytes {1} [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [3] ./concatenated.js + 2 modules 116 bytes {0} [built] - ModuleConcatenation bailout: Cannot concat with external "external" (<- Module is not an ECMAScript module) - | ./concatenated.js 26 bytes [built] - | ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./index.js (referenced with import()) - | ./concatenated1.js 37 bytes [built] - | ./concatenated2.js 48 bytes [built] - [4] ./index.js 176 bytes {1} [built] - ModuleConcatenation bailout: Module is an entry point - [5] ./cjs.js 59 bytes {1} [built] - ModuleConcatenation bailout: Module is not an ECMAScript module - [6] ./eval.js 35 bytes {1} [built] - ModuleConcatenation bailout: Module uses eval() - [7] ./injected-vars.js 40 bytes {1} [built] - ModuleConcatenation bailout: Module uses injected variables (__dirname, __filename) - [8] ./module-id.js 26 bytes {1} [built] - ModuleConcatenation bailout: Module uses module.id - [9] ./module-loaded.js 30 bytes {1} [built] - ModuleConcatenation bailout: Module uses module.loaded \ No newline at end of file +[0] ./entry.js 32 bytes {1} {2} [built] + ModuleConcatenation bailout: Module is an entry point +[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] external "external" 42 bytes {1} [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[3] ./concatenated.js + 2 modules 116 bytes {0} [built] + ModuleConcatenation bailout: Cannot concat with external "external" (<- Module is not an ECMAScript module) + | ./concatenated.js 26 bytes [built] + | ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./index.js (referenced with import()) + | ./concatenated1.js 37 bytes [built] + | ./concatenated2.js 48 bytes [built] +[4] ./index.js 176 bytes {1} [built] + ModuleConcatenation bailout: Module is an entry point +[5] ./cjs.js 59 bytes {1} [built] + ModuleConcatenation bailout: Module is not an ECMAScript module +[6] ./eval.js 35 bytes {1} [built] + ModuleConcatenation bailout: Module uses eval() +[7] ./injected-vars.js 40 bytes {1} [built] + ModuleConcatenation bailout: Module uses injected variables (__dirname, __filename) +[8] ./module-id.js 26 bytes {1} [built] + ModuleConcatenation bailout: Module uses module.id +[9] ./module-loaded.js 30 bytes {1} [built] + ModuleConcatenation bailout: Module uses module.loaded \ No newline at end of file diff --git a/test/statsCases/scope-hoisting-multi/expected.txt b/test/statsCases/scope-hoisting-multi/expected.txt index 18d84f35c..14805f624 100644 --- a/test/statsCases/scope-hoisting-multi/expected.txt +++ b/test/statsCases/scope-hoisting-multi/expected.txt @@ -5,40 +5,40 @@ Child Built at: Thu Jan 01 1970 00:00:00 GMT Entrypoint first = vendor.js first.js Entrypoint second = vendor.js second.js - [0] ./common_lazy_shared.js 25 bytes {0} {1} {2} [built] - [1] ./common2.js 25 bytes {4} {5} [built] - [2] ./common_lazy.js 25 bytes {1} {2} [built] - [3] ./common.js 37 bytes {4} {5} [built] - [4] ./lazy_shared.js 31 bytes {0} [built] - [5] ./vendor.js 25 bytes {3} [built] - [6] ./lazy_first.js 55 bytes {2} [built] - [7] ./lazy_second.js 55 bytes {1} [built] - [8] ./first.js 207 bytes {4} [built] - [9] ./module_first.js 31 bytes {4} [built] - [10] ./second.js 177 bytes {5} [built] + [0] ./common_lazy_shared.js 25 bytes {0} {1} {2} [built] + [1] ./common2.js 25 bytes {4} {5} [built] + [2] ./common_lazy.js 25 bytes {1} {2} [built] + [3] ./common.js 37 bytes {4} {5} [built] + [4] ./lazy_shared.js 31 bytes {0} [built] + [5] ./vendor.js 25 bytes {3} [built] + [6] ./lazy_first.js 55 bytes {2} [built] + [7] ./lazy_second.js 55 bytes {1} [built] + [8] ./first.js 207 bytes {4} [built] + [9] ./module_first.js 31 bytes {4} [built] + [10] ./second.js 177 bytes {5} [built] Child Hash: e3bbe6aa8fb8e8ec3bd9 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_lazy_shared.js 25 bytes {0} {1} {2} [built] - [1] ./common_lazy.js 25 bytes {1} {2} [built] - [2] ./common.js + 1 modules 62 bytes {4} {5} [built] - | ./common.js 37 bytes [built] - | ./common2.js 25 bytes [built] - [3] ./vendor.js 25 bytes {3} [built] - [4] ./lazy_shared.js 31 bytes {0} [built] - ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./first.js (referenced with import()), ./second.js (referenced with import()) - [5] ./lazy_second.js 55 bytes {1} [built] - ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./second.js (referenced with import()) - [6] ./second.js 177 bytes {5} [built] - ModuleConcatenation bailout: Module is an entry point - [7] ./first.js + 1 modules 248 bytes {4} [built] - ModuleConcatenation bailout: Cannot concat with ./common.js - ModuleConcatenation bailout: Cannot concat with ./vendor.js - | ./first.js 207 bytes [built] - | ModuleConcatenation bailout: Module is an entry point - | ./module_first.js 31 bytes [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()) \ No newline at end of file + [0] ./common_lazy_shared.js 25 bytes {0} {1} {2} [built] + [1] ./common_lazy.js 25 bytes {1} {2} [built] + [2] ./common.js + 1 modules 62 bytes {4} {5} [built] + | ./common.js 37 bytes [built] + | ./common2.js 25 bytes [built] + [3] ./vendor.js 25 bytes {3} [built] + [4] ./lazy_shared.js 31 bytes {0} [built] + ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./first.js (referenced with import()), ./second.js (referenced with import()) + [5] ./lazy_second.js 55 bytes {1} [built] + ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./second.js (referenced with import()) + [6] ./second.js 177 bytes {5} [built] + ModuleConcatenation bailout: Module is an entry point + [7] ./first.js + 1 modules 248 bytes {4} [built] + ModuleConcatenation bailout: Cannot concat with ./common.js + ModuleConcatenation bailout: Cannot concat with ./vendor.js + | ./first.js 207 bytes [built] + | ModuleConcatenation bailout: Module is an entry point + | ./module_first.js 31 bytes [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()) \ No newline at end of file diff --git a/test/statsCases/simple-more-info/expected.txt b/test/statsCases/simple-more-info/expected.txt index b1a4338fb..49e2bef32 100644 --- a/test/statsCases/simple-more-info/expected.txt +++ b/test/statsCases/simple-more-info/expected.txt @@ -4,6 +4,6 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names bundle.js 2.61 KiB 0 [emitted] main Entrypoint main = bundle.js - [0] ./index.js 0 bytes {0} [built] - single entry ./index main - factory:Xms building:Xms = Xms \ No newline at end of file +[0] ./index.js 0 bytes {0} [built] + single entry ./index main + factory:Xms building:Xms = Xms \ No newline at end of file diff --git a/test/statsCases/split-chunks-combinations/expected.txt b/test/statsCases/split-chunks-combinations/expected.txt index 1ebfc3cc9..2debb7214 100644 --- a/test/statsCases/split-chunks-combinations/expected.txt +++ b/test/statsCases/split-chunks-combinations/expected.txt @@ -2,34 +2,34 @@ Entrypoint main = main.js 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 [9] ./index.js 1:0-47 > ./b [9] ./index.js 2:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [1] ./y.js 67 bytes {0} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [1] ./y.js 67 bytes {0} [built] chunk {1} async-a.js (async-a) 48 bytes <{8}> ={0}= [rendered] > ./a [9] ./index.js 1:0-47 - [2] ./a.js 48 bytes {1} [built] + [2] ./a.js 48 bytes {1} [built] chunk {2} async-b.js (async-b) 48 bytes <{8}> ={0}= [rendered] > ./b [9] ./index.js 2:0-47 - [3] ./b.js 48 bytes {2} [built] + [3] ./b.js 48 bytes {2} [built] chunk {3} async-c.js (async-c) 101 bytes <{8}> [rendered] > ./c [9] ./index.js 3:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [4] ./c.js 34 bytes {3} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [4] ./c.js 34 bytes {3} [built] chunk {4} async-d.js (async-d) 101 bytes <{8}> [rendered] > ./d [9] ./index.js 4:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [5] ./d.js 34 bytes {4} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [5] ./d.js 34 bytes {4} [built] chunk {5} async-e.js (async-e) 101 bytes <{8}> [rendered] > ./e [9] ./index.js 5:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [6] ./e.js 34 bytes {5} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [6] ./e.js 34 bytes {5} [built] chunk {6} async-f.js (async-f) 101 bytes <{8}> [rendered] > ./f [9] ./index.js 6:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [7] ./f.js 34 bytes {6} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [7] ./f.js 34 bytes {6} [built] chunk {7} async-g.js (async-g) 101 bytes <{8}> [rendered] > ./g [9] ./index.js 7:0-47 - [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] - [8] ./g.js 34 bytes {7} [built] + [0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built] + [8] ./g.js 34 bytes {7} [built] chunk {8} main.js (main) 343 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered] > ./ main - [9] ./index.js 343 bytes {8} [built] \ No newline at end of file + [9] ./index.js 343 bytes {8} [built] \ No newline at end of file diff --git a/test/statsCases/split-chunks-issue-6413/expected.txt b/test/statsCases/split-chunks-issue-6413/expected.txt index 0ed29a058..c97025236 100644 --- a/test/statsCases/split-chunks-issue-6413/expected.txt +++ b/test/statsCases/split-chunks-issue-6413/expected.txt @@ -3,21 +3,21 @@ chunk {0} vendors~async-a~async-b~async-c.js (vendors~async-a~async-b~async-c > ./a [5] ./index.js 1:0-47 > ./b [5] ./index.js 2:0-47 > ./c [5] ./index.js 3:0-47 - [1] ./node_modules/x.js 20 bytes {0} [built] + [1] ./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 <{5}> ={0}= ={2}= ={3}= ={4}= [rendered] split chunk (cache group: default) (name: async-a~async-b~async-c) > ./a [5] ./index.js 1:0-47 > ./b [5] ./index.js 2:0-47 > ./c [5] ./index.js 3:0-47 - [0] ./common.js 11 bytes {1} [built] + [0] ./common.js 11 bytes {1} [built] chunk {2} async-a.js (async-a) 19 bytes <{5}> ={0}= ={1}= [rendered] > ./a [5] ./index.js 1:0-47 - [2] ./a.js 19 bytes {2} [built] + [2] ./a.js 19 bytes {2} [built] chunk {3} async-b.js (async-b) 19 bytes <{5}> ={0}= ={1}= [rendered] > ./b [5] ./index.js 2:0-47 - [3] ./b.js 19 bytes {3} [built] + [3] ./b.js 19 bytes {3} [built] chunk {4} async-c.js (async-c) 19 bytes <{5}> ={0}= ={1}= [rendered] > ./c [5] ./index.js 3:0-47 - [4] ./c.js 19 bytes {4} [built] + [4] ./c.js 19 bytes {4} [built] chunk {5} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< [entry] [rendered] > ./ main - [5] ./index.js 147 bytes {5} [built] \ No newline at end of file + [5] ./index.js 147 bytes {5} [built] \ No newline at end of file diff --git a/test/statsCases/split-chunks-issue-6696/expected.txt b/test/statsCases/split-chunks-issue-6696/expected.txt index 783724c34..6f6eb840d 100644 --- a/test/statsCases/split-chunks-issue-6696/expected.txt +++ b/test/statsCases/split-chunks-issue-6696/expected.txt @@ -1,15 +1,15 @@ Entrypoint main = vendors.js main.js chunk {0} async-a.js (async-a) 32 bytes <{2}> <{3}> [rendered] > ./a [3] ./index.js 2:0-47 - [0] ./node_modules/x.js 20 bytes {0} {1} [built] - [1] ./a.js 12 bytes {0} [built] + [0] ./node_modules/x.js 20 bytes {0} {1} [built] + [1] ./a.js 12 bytes {0} [built] chunk {1} async-b.js (async-b) 32 bytes <{2}> <{3}> [rendered] > ./b [3] ./index.js 3:0-47 - [0] ./node_modules/x.js 20 bytes {0} {1} [built] - [2] ./b.js 12 bytes {1} [built] + [0] ./node_modules/x.js 20 bytes {0} {1} [built] + [2] ./b.js 12 bytes {1} [built] chunk {2} main.js (main) 110 bytes ={3}= >{0}< >{1}< [entry] [rendered] > ./ main - [3] ./index.js 110 bytes {2} [built] + [3] ./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 - [4] ./node_modules/y.js 20 bytes {3} [built] \ No newline at end of file + [4] ./node_modules/y.js 20 bytes {3} [built] \ No newline at end of file diff --git a/test/statsCases/split-chunks-prefer-bigger-splits/expected.txt b/test/statsCases/split-chunks-prefer-bigger-splits/expected.txt index 09548ddd4..4d49ccaae 100644 --- a/test/statsCases/split-chunks-prefer-bigger-splits/expected.txt +++ b/test/statsCases/split-chunks-prefer-bigger-splits/expected.txt @@ -2,20 +2,20 @@ Entrypoint main = default/main.js 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 [6] ./index.js 2:0-47 > ./c [6] ./index.js 3:0-47 - [0] ./d.js 43 bytes {0} {1} [built] - [2] ./f.js 67 bytes {0} [built] + [0] ./d.js 43 bytes {0} {1} [built] + [2] ./f.js 67 bytes {0} [built] chunk {1} default/async-a.js (async-a) 134 bytes <{4}> [rendered] > ./a [6] ./index.js 1:0-47 - [0] ./d.js 43 bytes {0} {1} [built] - [1] ./e.js 43 bytes {1} {2} [built] - [3] ./a.js 48 bytes {1} [built] + [0] ./d.js 43 bytes {0} {1} [built] + [1] ./e.js 43 bytes {1} {2} [built] + [3] ./a.js 48 bytes {1} [built] chunk {2} default/async-b.js (async-b) 105 bytes <{4}> ={0}= [rendered] > ./b [6] ./index.js 2:0-47 - [1] ./e.js 43 bytes {1} {2} [built] - [4] ./b.js 62 bytes {2} [built] + [1] ./e.js 43 bytes {1} {2} [built] + [4] ./b.js 62 bytes {2} [built] chunk {3} default/async-c.js (async-c) 48 bytes <{4}> ={0}= [rendered] > ./c [6] ./index.js 3:0-47 - [5] ./c.js 48 bytes {3} [built] + [5] ./c.js 48 bytes {3} [built] chunk {4} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< [entry] [rendered] > ./ main - [6] ./index.js 147 bytes {4} [built] \ No newline at end of file + [6] ./index.js 147 bytes {4} [built] \ No newline at end of file diff --git a/test/statsCases/split-chunks/expected.txt b/test/statsCases/split-chunks/expected.txt index f52ced5e6..154a23943 100644 --- a/test/statsCases/split-chunks/expected.txt +++ b/test/statsCases/split-chunks/expected.txt @@ -7,65 +7,65 @@ Child default: > ./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} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] chunk {1} default/async-a~async-b~async-c.js (async-a~async-b~async-c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={5}= ={6}= ={7}= ={8}= >{2}< >{4}< [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 {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} default/async-b~async-c~async-g.js (async-b~async-c~async-g) 20 bytes <{0}> <{1}> <{10}> <{3}> <{5}> <{9}> ={0}= ={1}= ={3}= ={4}= ={6}= ={7}= ={8}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [2] ./f.js 20 bytes {2} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} default/vendors~async-a~async-b.js (vendors~async-a~async-b) 20 bytes <{9}> ={0}= ={1}= ={2}= ={5}= ={6}= >{2}< >{4}< [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} {10} {11} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] chunk {4} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{5}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {4} [built] + [9] ./g.js 34 bytes {4} [built] chunk {5} default/async-a.js (async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{4}< [rendered] > ./a [8] ./index.js 1:0-47 - [7] ./a.js + 1 modules 156 bytes {5} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [7] ./a.js + 1 modules 156 bytes {5} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {6} default/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [5] ./b.js 72 bytes {6} {11} [built] + [5] ./b.js 72 bytes {6} {11} [built] chunk {7} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={8}= [rendered] > ./c [8] ./index.js 3:0-47 - [6] ./c.js 72 bytes {7} {12} [built] + [6] ./c.js 72 bytes {7} {12} [built] chunk {8} default/vendors~async-c.js (vendors~async-c) 20 bytes <{9}> ={0}= ={1}= ={2}= ={7}= [rendered] split chunk (cache group: vendors) (name: vendors~async-c) > ./c [8] ./index.js 3:0-47 - [4] ./node_modules/z.js 20 bytes {8} {12} [built] + [4] ./node_modules/z.js 20 bytes {8} {12} [built] chunk {9} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{5}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} default/a.js (a) 216 bytes >{2}< >{4}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] - [7] ./a.js + 1 modules 156 bytes {5} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] + [7] ./a.js + 1 modules 156 bytes {5} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} default/b.js (b) 152 bytes [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [2] ./f.js 20 bytes {2} {11} {12} [built] - [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] - [5] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} {11} [built] + [5] ./b.js 72 bytes {6} {11} [built] chunk {12} default/c.js (c) 152 bytes [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] - [2] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./node_modules/z.js 20 bytes {8} {12} [built] - [6] ./c.js 72 bytes {7} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./node_modules/x.js 20 bytes {0} {10} {11} {12} [built] + [2] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./node_modules/z.js 20 bytes {8} {12} [built] + [6] ./c.js 72 bytes {7} {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 @@ -78,62 +78,62 @@ Child all-chunks: > ./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] + [2] ./node_modules/x.js 20 bytes {0} [built] chunk {1} default/a~async-a~async-b~async-c~b~c.js (a~async-a~async-b~async-c~b~c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: 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 - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} default/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{1}> <{10}> <{3}> <{8}> <{9}> ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [1] ./f.js 20 bytes {2} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} default/vendors~a~async-a~async-b~b.js (vendors~a~async-a~async-b~b) 20 bytes <{9}> ={0}= ={1}= ={10}= ={11}= ={2}= ={6}= ={8}= >{2}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b) > ./a a > ./b b > ./a [8] ./index.js 1:0-47 > ./b [8] ./index.js 2:0-47 - [3] ./node_modules/y.js 20 bytes {3} [built] + [3] ./node_modules/y.js 20 bytes {3} [built] chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={1}= ={12}= ={2}= ={7}= [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] + [7] ./node_modules/z.js 20 bytes {4} [built] chunk {5} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{8}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {5} [built] + [9] ./g.js 34 bytes {5} [built] chunk {6} default/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [4] ./b.js 72 bytes {6} {11} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {7} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={4}= [rendered] > ./c [8] ./index.js 3:0-47 - [5] ./c.js 72 bytes {7} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] chunk {8} default/a~async-a.js (a~async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: a~async-a) > ./a [8] ./index.js 1:0-47 - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {9} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} default/a.js (a) 176 bytes ={0}= ={3}= >{2}< >{5}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} default/b.js (b) 112 bytes ={0}= ={3}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {12} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [5] ./c.js 72 bytes {7} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] Child manual: Entrypoint main = default/main.js Entrypoint a = default/vendors.js default/a.js @@ -146,50 +146,50 @@ Child manual: > ./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] - [3] ./node_modules/y.js 20 bytes {0} [built] - [6] ./node_modules/z.js 20 bytes {0} [built] - [10] multi x y z 52 bytes {0} [built] + [2] ./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] + [10] multi x y z 52 bytes {0} [built] chunk {1} default/async-g.js (async-g) 54 bytes <{0}> <{2}> <{6}> [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [9] ./g.js 34 bytes {1} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [9] ./g.js 34 bytes {1} [built] chunk {2} default/async-a.js (async-a) 176 bytes <{5}> ={0}= >{1}< [rendered] > ./a [8] ./index.js 1:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [7] ./a.js + 1 modules 156 bytes {2} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [7] ./a.js + 1 modules 156 bytes {2} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {3} default/async-b.js (async-b) 112 bytes <{5}> ={0}= [rendered] > ./b [8] ./index.js 2:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [4] ./b.js 72 bytes {3} {7} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [4] ./b.js 72 bytes {3} {7} [built] chunk {4} default/async-c.js (async-c) 112 bytes <{5}> ={0}= [rendered] > ./c [8] ./index.js 3:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [5] ./c.js 72 bytes {4} {8} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [5] ./c.js 72 bytes {4} {8} [built] chunk {5} default/main.js (main) 147 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {5} [built] + [8] ./index.js 147 bytes {5} [built] chunk {6} default/a.js (a) 176 bytes ={0}= >{1}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [7] ./a.js + 1 modules 156 bytes {2} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [7] ./a.js + 1 modules 156 bytes {2} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {7} default/b.js (b) 112 bytes ={0}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [4] ./b.js 72 bytes {3} {7} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [4] ./b.js 72 bytes {3} {7} [built] chunk {8} default/c.js (c) 112 bytes ={0}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [5] ./c.js 72 bytes {4} {8} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [5] ./c.js 72 bytes {4} {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.js @@ -202,62 +202,62 @@ Child name-too-long: > ./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] + [2] ./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 <{9}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~async-c~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccc~18066793) > ./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 {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc.js (async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc) 20 bytes <{0}> <{1}> <{10}> <{3}> <{8}> <{9}> ={0}= ={1}= ={3}= ={4}= ={5}= ={6}= ={7}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb~cccccccccccccccccccccccccccccc) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [1] ./f.js 20 bytes {2} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js (vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) 20 bytes <{9}> ={0}= ={1}= ={10}= ={11}= ={2}= ={6}= ={8}= >{2}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a~async-b~bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) > ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb > ./a [8] ./index.js 1:0-47 > ./b [8] ./index.js 2:0-47 - [3] ./node_modules/y.js 20 bytes {3} [built] + [3] ./node_modules/y.js 20 bytes {3} [built] chunk {4} vendors~async-c~cccccccccccccccccccccccccccccc.js (vendors~async-c~cccccccccccccccccccccccccccccc) 20 bytes <{9}> ={0}= ={1}= ={12}= ={2}= ={7}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~cccccccccccccccccccccccccccccc) > ./c cccccccccccccccccccccccccccccc > ./c [8] ./index.js 3:0-47 - [7] ./node_modules/z.js 20 bytes {4} [built] + [7] ./node_modules/z.js 20 bytes {4} [built] chunk {5} async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{8}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {5} [built] + [9] ./g.js 34 bytes {5} [built] chunk {6} async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [4] ./b.js 72 bytes {6} {11} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {7} async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={4}= [rendered] > ./c [8] ./index.js 3:0-47 - [5] ./c.js 72 bytes {7} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] chunk {8} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~async-a) > ./a [8] ./index.js 1:0-47 - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {9} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.js (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) 176 bytes ={0}= ={3}= >{2}< >{5}< [entry] [rendered] > ./a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [6] ./a.js + 1 modules 156 bytes {8} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [6] ./a.js + 1 modules 156 bytes {8} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.js (bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) 112 bytes ={0}= ={3}= [entry] [rendered] > ./b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./b.js 72 bytes {6} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./b.js 72 bytes {6} {11} [built] chunk {12} cccccccccccccccccccccccccccccc.js (cccccccccccccccccccccccccccccc) 112 bytes ={0}= ={4}= [entry] [rendered] > ./c cccccccccccccccccccccccccccccc - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [5] ./c.js 72 bytes {7} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [5] ./c.js 72 bytes {7} {12} [built] Child custom-chunks-filter: Entrypoint main = default/main.js Entrypoint a = default/a.js @@ -269,63 +269,63 @@ Child custom-chunks-filter: > ./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} {10} [built] + [2] ./node_modules/x.js 20 bytes {0} {10} [built] chunk {1} default/async-a~async-b~async-c~b~c.js (async-a~async-b~async-c~b~c) 20 bytes <{9}> ={0}= ={2}= ={3}= ={4}= ={6}= ={7}= ={8}= >{2}< >{5}< [rendered] split chunk (cache group: default) (name: 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 - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] chunk {2} default/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{1}> <{10}> <{3}> <{6}> <{9}> ={0}= ={1}= ={3}= ={4}= ={5}= ={7}= ={8}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c) > ./g [] 6:0-47 > ./g [] 6:0-47 > ./b [8] ./index.js 2:0-47 > ./c [8] ./index.js 3:0-47 - [1] ./f.js 20 bytes {2} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] chunk {3} default/vendors~async-a~async-b~b.js (vendors~async-a~async-b~b) 20 bytes <{9}> ={0}= ={1}= ={11}= ={2}= ={6}= ={7}= >{2}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-a~async-b~b) > ./b b > ./a [8] ./index.js 1:0-47 > ./b [8] ./index.js 2:0-47 - [3] ./node_modules/y.js 20 bytes {3} {10} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} [built] chunk {4} default/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={1}= ={12}= ={2}= ={8}= [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] + [7] ./node_modules/z.js 20 bytes {4} [built] chunk {5} default/async-g.js (async-g) 34 bytes <{0}> <{1}> <{10}> <{3}> <{6}> ={2}= [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [9] ./g.js 34 bytes {5} [built] + [9] ./g.js 34 bytes {5} [built] chunk {6} default/async-a.js (async-a) 156 bytes <{9}> ={0}= ={1}= ={3}= >{2}< >{5}< [rendered] > ./a [8] ./index.js 1:0-47 - [6] ./a.js + 1 modules 156 bytes {6} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [6] ./a.js + 1 modules 156 bytes {6} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {7} default/async-b.js (async-b) 72 bytes <{9}> ={0}= ={1}= ={2}= ={3}= [rendered] > ./b [8] ./index.js 2:0-47 - [4] ./b.js 72 bytes {7} {11} [built] + [4] ./b.js 72 bytes {7} {11} [built] chunk {8} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={1}= ={2}= ={4}= [rendered] > ./c [8] ./index.js 3:0-47 - [5] ./c.js 72 bytes {8} {12} [built] + [5] ./c.js 72 bytes {8} {12} [built] chunk {9} default/main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{6}< >{7}< >{8}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {9} [built] + [8] ./index.js 147 bytes {9} [built] chunk {10} default/a.js (a) 216 bytes >{2}< >{5}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [2] ./node_modules/x.js 20 bytes {0} {10} [built] - [3] ./node_modules/y.js 20 bytes {3} {10} [built] - [6] ./a.js + 1 modules 156 bytes {6} {10} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [2] ./node_modules/x.js 20 bytes {0} {10} [built] + [3] ./node_modules/y.js 20 bytes {3} {10} [built] + [6] ./a.js + 1 modules 156 bytes {6} {10} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {11} default/b.js (b) 112 bytes ={0}= ={3}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [4] ./b.js 72 bytes {7} {11} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [4] ./b.js 72 bytes {7} {11} [built] chunk {12} default/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {1} {10} {11} {12} [built] - [1] ./f.js 20 bytes {2} {11} {12} [built] - [5] ./c.js 72 bytes {8} {12} [built] + [0] ./d.js 20 bytes {1} {10} {11} {12} [built] + [1] ./f.js 20 bytes {2} {11} {12} [built] + [5] ./c.js 72 bytes {8} {12} [built] Child custom-chunks-filter-in-cache-groups: Entrypoint main = default/main.js Entrypoint a = default/a.js @@ -337,49 +337,49 @@ Child custom-chunks-filter-in-cache-groups: > ./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} {6} [built] - [3] ./node_modules/y.js 20 bytes {0} {6} [built] - [6] ./node_modules/z.js 20 bytes {0} [built] - [10] multi x y z 52 bytes {0} [built] + [2] ./node_modules/x.js 20 bytes {0} {6} [built] + [3] ./node_modules/y.js 20 bytes {0} {6} [built] + [6] ./node_modules/z.js 20 bytes {0} [built] + [10] multi x y z 52 bytes {0} [built] chunk {1} default/async-g.js (async-g) 54 bytes <{0}> <{2}> <{6}> [rendered] > ./g [] 6:0-47 > ./g [] 6:0-47 - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [9] ./g.js 34 bytes {1} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [9] ./g.js 34 bytes {1} [built] chunk {2} default/async-a.js (async-a) 176 bytes <{5}> ={0}= >{1}< [rendered] > ./a [8] ./index.js 1:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [7] ./a.js + 1 modules 156 bytes {2} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [7] ./a.js + 1 modules 156 bytes {2} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {3} default/async-b.js (async-b) 112 bytes <{5}> ={0}= [rendered] > ./b [8] ./index.js 2:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [4] ./b.js 72 bytes {3} {7} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [4] ./b.js 72 bytes {3} {7} [built] chunk {4} default/async-c.js (async-c) 112 bytes <{5}> ={0}= [rendered] > ./c [8] ./index.js 3:0-47 - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [5] ./c.js 72 bytes {4} {8} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [5] ./c.js 72 bytes {4} {8} [built] chunk {5} default/main.js (main) 147 bytes >{0}< >{2}< >{3}< >{4}< [entry] [rendered] > ./ main - [8] ./index.js 147 bytes {5} [built] + [8] ./index.js 147 bytes {5} [built] chunk {6} default/a.js (a) 216 bytes >{1}< [entry] [rendered] > ./a a - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [2] ./node_modules/x.js 20 bytes {0} {6} [built] - [3] ./node_modules/y.js 20 bytes {0} {6} [built] - [7] ./a.js + 1 modules 156 bytes {2} {6} [built] - | ./a.js 121 bytes [built] - | ./e.js 20 bytes [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [2] ./node_modules/x.js 20 bytes {0} {6} [built] + [3] ./node_modules/y.js 20 bytes {0} {6} [built] + [7] ./a.js + 1 modules 156 bytes {2} {6} [built] + | ./a.js 121 bytes [built] + | ./e.js 20 bytes [built] chunk {7} default/b.js (b) 112 bytes ={0}= [entry] [rendered] > ./b b - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [4] ./b.js 72 bytes {3} {7} [built] + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [4] ./b.js 72 bytes {3} {7} [built] chunk {8} default/c.js (c) 112 bytes ={0}= [entry] [rendered] > ./c c - [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] - [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] - [5] ./c.js 72 bytes {4} {8} [built] \ No newline at end of file + [0] ./d.js 20 bytes {2} {3} {4} {6} {7} {8} [built] + [1] ./f.js 20 bytes {1} {3} {4} {7} {8} [built] + [5] ./c.js 72 bytes {4} {8} [built] \ No newline at end of file diff --git a/test/statsCases/tree-shaking/expected.txt b/test/statsCases/tree-shaking/expected.txt index 6941c6aa0..dd5e2423b 100644 --- a/test/statsCases/tree-shaking/expected.txt +++ b/test/statsCases/tree-shaking/expected.txt @@ -4,31 +4,31 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names bundle.js 7.27 KiB 0 [emitted] main Entrypoint main = bundle.js - [0] ./a.js 13 bytes {0} [built] - [exports: a] - [only some exports used: a] - [1] ./b.js 13 bytes {0} [built] - [exports: b] - [no exports used] - [2] ./unknown.js 0 bytes {0} [built] - [only some exports used: c] - [3] ./unknown2.js 0 bytes {0} [built] - [only some exports used: y] - [4] ./index.js 315 bytes {0} [built] - [no exports] - [5] ./require.include.js 36 bytes {0} [built] - [exports: a, default] - [no exports used] - [6] ./reexport-known.js 49 bytes {0} [built] - [exports: a, b] - [only some exports used: a] - [7] ./reexport-star-known.js 41 bytes {0} [built] - [exports: a, b] - [only some exports used: a] - [8] ./edge.js 45 bytes {0} [built] - [only some exports used: y] - [9] ./reexport-unknown.js 83 bytes {0} [built] - [exports: a, b, c, d] - [only some exports used: a, c] - [10] ./reexport-star-unknown.js 68 bytes {0} [built] - [only some exports used: a, c] \ No newline at end of file + [0] ./a.js 13 bytes {0} [built] + [exports: a] + [only some exports used: a] + [1] ./b.js 13 bytes {0} [built] + [exports: b] + [no exports used] + [2] ./unknown.js 0 bytes {0} [built] + [only some exports used: c] + [3] ./unknown2.js 0 bytes {0} [built] + [only some exports used: y] + [4] ./index.js 315 bytes {0} [built] + [no exports] + [5] ./require.include.js 36 bytes {0} [built] + [exports: a, default] + [no exports used] + [6] ./reexport-known.js 49 bytes {0} [built] + [exports: a, b] + [only some exports used: a] + [7] ./reexport-star-known.js 41 bytes {0} [built] + [exports: a, b] + [only some exports used: a] + [8] ./edge.js 45 bytes {0} [built] + [only some exports used: y] + [9] ./reexport-unknown.js 83 bytes {0} [built] + [exports: a, b, c, d] + [only some exports used: a, c] +[10] ./reexport-star-unknown.js 68 bytes {0} [built] + [only some exports used: a, c] \ No newline at end of file diff --git a/test/statsCases/warnings-uglifyjs/expected.txt b/test/statsCases/warnings-uglifyjs/expected.txt index f10b033cd..41e24319d 100644 --- a/test/statsCases/warnings-uglifyjs/expected.txt +++ b/test/statsCases/warnings-uglifyjs/expected.txt @@ -4,9 +4,9 @@ Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names bundle.js 2.19 KiB 0 [emitted] main Entrypoint main = bundle.js - [0] ./index.js 299 bytes {0} [built] - [1] ./a.js 249 bytes {0} [built] - [2] (webpack)/buildin/module.js 497 bytes {0} [built] +[0] ./index.js 299 bytes {0} [built] +[1] ./a.js 249 bytes {0} [built] +[2] (webpack)/buildin/module.js 497 bytes {0} [built] WARNING in bundle.js from UglifyJs Dropping unused function someUnRemoteUsedFunction1 [./a.js:3,0]