Skip to content

Commit 042e36a

Browse files
committed
update examples
1 parent bd5e885 commit 042e36a

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

examples/common-chunk-and-vendor-chunk/README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -683,42 +683,42 @@ chunk {5} vendor.js (vendor) 54 bytes ={3}= ={0}= ={4}= ={1}= [initial] [rend
683683
Hash: 0a1b2c3d4e5f6a7b8c9d
684684
Version: webpack next
685685
Asset Size Chunks Chunk Names
686-
vendor.js 134 bytes 0 [emitted] vendor
687-
commons~pageB~pageC.js 97 bytes 1 [emitted] commons~pageB~pageC
688-
commons~pageA~pageB~pageC.js 96 bytes 2 [emitted] commons~pageA~pageB~pageC
686+
commons~pageA~pageB~pageC.js 96 bytes 0 [emitted] commons~pageA~pageB~pageC
687+
vendor.js 134 bytes 1 [emitted] vendor
688+
commons~pageB~pageC.js 97 bytes 2 [emitted] commons~pageB~pageC
689689
pageC.js 1.1 KiB 3 [emitted] pageC
690690
pageB.js 1.11 KiB 4 [emitted] pageB
691691
pageA.js 1.15 KiB 5 [emitted] pageA
692692
Entrypoint pageA = commons~pageA~pageB~pageC.js vendor.js pageA.js
693693
Entrypoint pageB = commons~pageA~pageB~pageC.js commons~pageB~pageC.js vendor.js pageB.js
694694
Entrypoint pageC = commons~pageA~pageB~pageC.js commons~pageB~pageC.js pageC.js
695-
chunk {0} vendor.js (vendor) 54 bytes ={2}= ={5}= ={1}= ={4}= [initial] [rendered] split chunk (cache group: vendor) (name: vendor)
695+
chunk {0} commons~pageA~pageB~pageC.js (commons~pageA~pageB~pageC) 28 bytes ={2}= ={3}= ={1}= ={4}= ={5}= [initial] [rendered] split chunk (cache group: commons) (name: commons~pageA~pageB~pageC)
696+
> ./pageC pageC
697+
> ./pageB pageB
698+
> ./pageA pageA
699+
[0] ./utility2.js 28 bytes {0} [built]
700+
cjs require ./utility2 [2] ./pageC.js 1:15-36
701+
cjs require ./utility2 [4] ./pageB.js 2:15-36
702+
cjs require ./utility2 [7] ./pageA.js 3:15-36
703+
chunk {1} vendor.js (vendor) 54 bytes ={0}= ={5}= ={2}= ={4}= [initial] [rendered] split chunk (cache group: vendor) (name: vendor)
696704
> ./pageA pageA
697705
> ./pageB pageB
698706
2 modules
699-
chunk {1} commons~pageB~pageC.js (commons~pageB~pageC) 28 bytes ={2}= ={3}= ={0}= ={4}= [initial] [rendered] split chunk (cache group: commons) (name: commons~pageB~pageC)
707+
chunk {2} commons~pageB~pageC.js (commons~pageB~pageC) 28 bytes ={0}= ={3}= ={1}= ={4}= [initial] [rendered] split chunk (cache group: commons) (name: commons~pageB~pageC)
700708
> ./pageC pageC
701709
> ./pageB pageB
702-
[1] ./utility3.js 28 bytes {1} [built]
710+
[1] ./utility3.js 28 bytes {2} [built]
703711
cjs require ./utility3 [2] ./pageC.js 2:15-36
704712
cjs require ./utility3 [4] ./pageB.js 3:15-36
705-
chunk {2} commons~pageA~pageB~pageC.js (commons~pageA~pageB~pageC) 28 bytes ={1}= ={3}= ={0}= ={4}= ={5}= [initial] [rendered] split chunk (cache group: commons) (name: commons~pageA~pageB~pageC)
706-
> ./pageC pageC
707-
> ./pageB pageB
708-
> ./pageA pageA
709-
[0] ./utility2.js 28 bytes {2} [built]
710-
cjs require ./utility2 [2] ./pageC.js 1:15-36
711-
cjs require ./utility2 [4] ./pageB.js 2:15-36
712-
cjs require ./utility2 [7] ./pageA.js 3:15-36
713-
chunk {3} pageC.js (pageC) 105 bytes ={2}= ={1}= [entry] [rendered]
713+
chunk {3} pageC.js (pageC) 105 bytes ={0}= ={2}= [entry] [rendered]
714714
> ./pageC pageC
715715
[2] ./pageC.js 105 bytes {3} [built]
716716
single entry ./pageC pageC
717-
chunk {4} pageB.js (pageB) 142 bytes ={2}= ={1}= ={0}= [entry] [rendered]
717+
chunk {4} pageB.js (pageB) 142 bytes ={0}= ={2}= ={1}= [entry] [rendered]
718718
> ./pageB pageB
719719
[4] ./pageB.js 142 bytes {4} [built]
720720
single entry ./pageB pageB
721-
chunk {5} pageA.js (pageA) 170 bytes ={2}= ={0}= [entry] [rendered]
721+
chunk {5} pageA.js (pageA) 170 bytes ={0}= ={1}= [entry] [rendered]
722722
> ./pageA pageA
723723
[5] ./utility1.js 28 bytes {5} [built]
724724
cjs require ./utility1 [7] ./pageA.js 2:15-36

examples/http2-aggressive-splitting/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Hash: 0a1b2c3d4e5f6a7b8c9d
120120
Version: webpack next
121121
Asset Size Chunks Chunk Names
122122
7a1ec67d9e4e1019836a.js 14.8 KiB 7 [emitted]
123-
9baaf7bc0364c2600ef8.js 9.69 KiB 0 [emitted]
123+
9baaf7bc0364c2600ef8.js 9.7 KiB 0 [emitted]
124124
cf3beff30352265c3fae.js 13.1 KiB 2 [emitted]
125125
0bc9e49d2884c20a78ae.js 7.89 KiB 3 [emitted]
126126
408e20e95f946dedfdd3.js 8.14 KiB 4 [emitted]

examples/web-worker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ Version: webpack next
349349
hash.worker.js 4.02 KiB [emitted]
350350
output.js 3.46 KiB 0 [emitted] main
351351
Entrypoint main = output.js
352-
chunk {0} output.js (main) 326 bytes [entry] [rendered]
352+
chunk {0} output.js (main) 332 bytes [entry] [rendered]
353353
> .\example.js main
354354
[0] (webpack)/node_modules/worker-loader/dist/cjs.js?name=hash.worker.js!./worker.js 97 bytes {0} [not cacheable] [built]
355355
cjs require worker-loader?name=hash.worker.js!./worker [1] ./example.js 1:13-66
356-
[1] ./example.js 229 bytes {0} [built]
356+
[1] ./example.js 235 bytes {0} [built]
357357
single entry .\example.js main
358358
Child worker:
359359
Asset Size Chunks Chunk Names
@@ -389,11 +389,11 @@ Version: webpack next
389389
hash.worker.js 919 bytes [emitted]
390390
output.js 697 bytes 0 [emitted] main
391391
Entrypoint main = output.js
392-
chunk {0} output.js (main) 326 bytes [entry] [rendered]
392+
chunk {0} output.js (main) 332 bytes [entry] [rendered]
393393
> .\example.js main
394394
[0] (webpack)/node_modules/worker-loader/dist/cjs.js?name=hash.worker.js!./worker.js 97 bytes {0} [not cacheable] [built]
395395
cjs require worker-loader?name=hash.worker.js!./worker [1] ./example.js 1:13-66
396-
[1] ./example.js 229 bytes {0} [built]
396+
[1] ./example.js 235 bytes {0} [built]
397397
single entry .\example.js main
398398
Child worker:
399399
Asset Size Chunks Chunk Names

0 commit comments

Comments
 (0)