@@ -4097,6 +4097,29 @@ chunk (runtime: main) 914.js X bytes <{792}> ={60}= ={263}= [rendered] split chu
4097
4097
webpack x.x.x compiled successfully"
4098
4098
`;
4099
4099
4100
+ exports[`StatsTestCases should print correct stats for split-chunks-dedup 1`] = `
4101
+ "asset main.js X KiB [emitted] (name: main) (id hint: main)
4102
+ asset table-643--shared.js X bytes [emitted]
4103
+ asset row-359--shared.js X bytes [emitted]
4104
+ asset cell--shared.js X bytes [emitted]
4105
+ asset templater--shared.js X bytes [emitted]
4106
+ runtime modules X KiB 11 modules
4107
+ built modules X bytes (javascript) X bytes (share-init) X bytes (consume-shared) [built]
4108
+ cacheable modules X bytes
4109
+ modules by path ./node_modules/ X bytes 4 modules
4110
+ modules by path ./*.js X bytes 2 modules
4111
+ provide-module modules X bytes
4112
+ provide shared module (default) cell@1.0.0 = ./node_modules/cell/index.js X bytes [built] [code generated]
4113
+ provide shared module (default) row@1.0.0 = ./node_modules/row/index.js X bytes [built] [code generated]
4114
+ + 2 modules
4115
+ consume-shared-module modules X bytes
4116
+ consume shared module (default) table@=1.0.0 (strict) (fallback: ./node_modules/...(truncated) X bytes [built] [code generated]
4117
+ consume shared module (default) row@=1.0.0 (strict) (fallback: ./node_modules...(truncated) X bytes [built] [code generated]
4118
+ consume shared module (default) templater@=1.0.0 (strict) (fallback: ./node_modu...(truncated) X bytes [built] [code generated]
4119
+ consume shared module (default) cell@=1.0.0 (strict) (fallback: ./node_modules/...(truncated) X bytes [built] [code generated]
4120
+ webpack x.x.x compiled successfully in X ms"
4121
+ `;
4122
+
4100
4123
exports[`StatsTestCases should print correct stats for split-chunks-issue-6413 1`] = `
4101
4124
"Entrypoint main X KiB = main.js
4102
4125
chunk (runtime: main) async-b.js (async-b) X bytes <{ 792 } > ={ 476 } = ={ 628 } = [rendered]
@@ -4790,22 +4813,22 @@ assets by path *.wasm X KiB
4790
4813
asset XXXXXXXXXXXXXXXXXXXX.module.wasm X bytes [emitted] [immutable]
4791
4814
asset XXXXXXXXXXXXXXXXXXXX.module.wasm X bytes [emitted] [immutable]
4792
4815
asset XXXXXXXXXXXXXXXXXXXX.module.wasm X bytes [emitted] [immutable]
4793
- chunk (runtime: main) 573.bundle.js X bytes (javascript) X bytes (webassembly) [rendered]
4816
+ chunk (runtime: main) 573.bundle.js X bytes (javascript) X bytes (webassembly) [rendered] reused as split chunk (cache group: default)
4794
4817
./Q_rsqrt.wasm X bytes (javascript) X bytes (webassembly) [built] [code generated]
4795
- chunk (runtime: main) 672.bundle.js X bytes (javascript) X bytes (webassembly) [rendered]
4818
+ chunk (runtime: main) 672.bundle.js X bytes (javascript) X bytes (webassembly) [rendered] reused as split chunk (cache group: default)
4796
4819
./duff.wasm X bytes (javascript) X bytes (webassembly) [built] [code generated]
4797
4820
chunk (runtime: main) 787.bundle.js (id hint: vendors) X bytes [rendered] split chunk (cache group: defaultVendors)
4798
4821
./node_modules/env.js X bytes [built] [code generated]
4799
4822
chunk (runtime: main) bundle.js (main) X bytes (javascript) X KiB (runtime) [entry] [rendered]
4800
4823
runtime modules X KiB 11 modules
4801
4824
./index.js X bytes [built] [code generated]
4802
- chunk (runtime: main) 836.bundle.js X KiB (javascript) X bytes (webassembly) [rendered]
4825
+ chunk (runtime: main) 836.bundle.js X KiB (javascript) X bytes (webassembly) [rendered] reused as split chunk (cache group: default)
4803
4826
./testFunction.wasm X bytes (javascript) X bytes (webassembly) [dependent] [built] [code generated]
4804
4827
./tests.js X KiB [built] [code generated]
4805
- chunk (runtime: main) 946.bundle.js X bytes (javascript) X bytes (webassembly) [rendered]
4828
+ chunk (runtime: main) 946.bundle.js X bytes (javascript) X bytes (webassembly) [rendered] reused as split chunk (cache group: default)
4806
4829
./fact.wasm X bytes (javascript) X bytes (webassembly) [built] [code generated]
4807
4830
./fast-math.wasm X bytes (javascript) X bytes (webassembly) [built] [code generated]
4808
- chunk (runtime: main) 989.bundle.js X bytes (javascript) X bytes (webassembly) [rendered]
4831
+ chunk (runtime: main) 989.bundle.js X bytes (javascript) X bytes (webassembly) [rendered] reused as split chunk (cache group: default)
4809
4832
./popcnt.wasm X bytes (javascript) X bytes (webassembly) [built] [code generated]
4810
4833
runtime modules X KiB 11 modules
4811
4834
cacheable modules X KiB (javascript) X KiB (webassembly)
0 commit comments