Skip to content

Commit a91d923

Browse files
authoredNov 9, 2022
Merge pull request #16458 from webpack/bugfix/semi
fix semicolon position
2 parents 4608b11 + 761a542 commit a91d923

File tree

2 files changed

+89
-89
lines changed

2 files changed

+89
-89
lines changed
 

‎lib/runtime/LoadScriptRuntimeModule.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class LoadScriptRuntimeModule extends HelperRuntimeModule {
146146
)});`,
147147
"if(prev) return prev(event);"
148148
])
149-
),
150-
";",
149+
) +
150+
";",
151151
`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${loadTimeout});`,
152152
"script.onerror = onScriptComplete.bind(null, script.onerror);",
153153
"script.onload = onScriptComplete.bind(null, script.onload);",

‎test/__snapshots__/StatsTestCases.basictest.js.snap

+87-87
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
exports[`StatsTestCases should print correct stats for aggressive-splitting-entry 1`] = `
44
"fitting:
55
PublicPath: auto
6-
asset fitting-b29b201896658775937e.js 16.1 KiB [emitted] [immutable]
6+
asset fitting-7287b3126510b3ba1197.js 16.1 KiB [emitted] [immutable]
77
asset fitting-50595d23e8f97d7ccd2a.js 1.9 KiB [emitted] [immutable]
88
asset fitting-5bc77880fdc9e2bf09ee.js 1.9 KiB [emitted] [immutable]
99
asset fitting-72afdc913f6cf884b457.js 1.08 KiB [emitted] [immutable]
10-
Entrypoint main 19.9 KiB = fitting-50595d23e8f97d7ccd2a.js 1.9 KiB fitting-5bc77880fdc9e2bf09ee.js 1.9 KiB fitting-b29b201896658775937e.js 16.1 KiB
11-
chunk (runtime: main) fitting-b29b201896658775937e.js 1.87 KiB (javascript) 8.65 KiB (runtime) [entry] [rendered]
10+
Entrypoint main 19.9 KiB = fitting-50595d23e8f97d7ccd2a.js 1.9 KiB fitting-5bc77880fdc9e2bf09ee.js 1.9 KiB fitting-7287b3126510b3ba1197.js 16.1 KiB
11+
chunk (runtime: main) fitting-7287b3126510b3ba1197.js 1.87 KiB (javascript) 8.65 KiB (runtime) [entry] [rendered]
1212
> ./index main
1313
runtime modules 8.65 KiB 11 modules
1414
cacheable modules 1.87 KiB
@@ -30,12 +30,12 @@ exports[`StatsTestCases should print correct stats for aggressive-splitting-entr
3030
3131
content-change:
3232
PublicPath: auto
33-
asset content-change-0f45784341116b92349f.js 16.1 KiB [emitted] [immutable]
33+
asset content-change-8d02d3f29ce2746961bb.js 16.1 KiB [emitted] [immutable]
3434
asset content-change-50595d23e8f97d7ccd2a.js 1.9 KiB [emitted] [immutable]
3535
asset content-change-5bc77880fdc9e2bf09ee.js 1.9 KiB [emitted] [immutable]
3636
asset content-change-72afdc913f6cf884b457.js 1.08 KiB [emitted] [immutable]
37-
Entrypoint main 19.9 KiB = content-change-50595d23e8f97d7ccd2a.js 1.9 KiB content-change-5bc77880fdc9e2bf09ee.js 1.9 KiB content-change-0f45784341116b92349f.js 16.1 KiB
38-
chunk (runtime: main) content-change-0f45784341116b92349f.js 1.87 KiB (javascript) 8.66 KiB (runtime) [entry] [rendered]
37+
Entrypoint main 19.9 KiB = content-change-50595d23e8f97d7ccd2a.js 1.9 KiB content-change-5bc77880fdc9e2bf09ee.js 1.9 KiB content-change-8d02d3f29ce2746961bb.js 16.1 KiB
38+
chunk (runtime: main) content-change-8d02d3f29ce2746961bb.js 1.87 KiB (javascript) 8.66 KiB (runtime) [entry] [rendered]
3939
> ./index main
4040
runtime modules 8.66 KiB 11 modules
4141
cacheable modules 1.87 KiB
@@ -58,7 +58,7 @@ content-change:
5858

5959
exports[`StatsTestCases should print correct stats for aggressive-splitting-on-demand 1`] = `
6060
"PublicPath: auto
61-
asset 765acd6985b8297d8cb6.js 11.6 KiB [emitted] [immutable] (name: main)
61+
asset 47d8091c27bf6f3a2e25.js 11.6 KiB [emitted] [immutable] (name: main)
6262
asset 3fc6535262efa7e4fa3b.js 1.91 KiB [emitted] [immutable]
6363
asset 56815935c535fbc0e462.js 1.91 KiB [emitted] [immutable]
6464
asset 2b8c8882bd4326b27013.js 1.9 KiB [emitted] [immutable]
@@ -70,12 +70,12 @@ asset f79c60cc3faba968a476.js 1.9 KiB [emitted] [immutable]
7070
asset 7294786e49319a98f5af.js 1010 bytes [emitted] [immutable]
7171
asset c5861419d7f3f6ea6c19.js 1010 bytes [emitted] [immutable]
7272
asset f897ac9956540163d002.js 1010 bytes [emitted] [immutable]
73-
Entrypoint main 11.6 KiB = 765acd6985b8297d8cb6.js
73+
Entrypoint main 11.6 KiB = 47d8091c27bf6f3a2e25.js
7474
chunk (runtime: main) 5bc77880fdc9e2bf09ee.js 1.76 KiB [rendered] [recorded] aggressive splitted
7575
> ./c ./d ./e ./index.js 3:0-30
7676
./c.js 899 bytes [built] [code generated]
7777
./d.js 899 bytes [built] [code generated]
78-
chunk (runtime: main) 765acd6985b8297d8cb6.js (main) 248 bytes (javascript) 6.31 KiB (runtime) [entry] [rendered]
78+
chunk (runtime: main) 47d8091c27bf6f3a2e25.js (main) 248 bytes (javascript) 6.31 KiB (runtime) [entry] [rendered]
7979
> ./index main
8080
runtime modules 6.31 KiB 7 modules
8181
./index.js 248 bytes [built] [code generated]
@@ -318,9 +318,9 @@ vendors:
318318
> ./g ./a.js 6:0-47
319319
dependent modules 20 bytes [dependent] 1 module
320320
./g.js 45 bytes [built] [code generated]
321-
chunk (runtime: main) vendors/main.js (main) 147 bytes (javascript) 6.65 KiB (runtime) [entry] [rendered]
321+
chunk (runtime: main) vendors/main.js (main) 147 bytes (javascript) 6.64 KiB (runtime) [entry] [rendered]
322322
> ./ main
323-
runtime modules 6.65 KiB 9 modules
323+
runtime modules 6.64 KiB 9 modules
324324
./index.js 147 bytes [built] [code generated]
325325
chunk (runtime: a, b, c) vendors/vendors.js (vendors) (id hint: vendors) 60 bytes [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
326326
> ./a a
@@ -427,7 +427,7 @@ multiple-vendors:
427427
428428
all:
429429
Entrypoint main 11.5 KiB = all/main.js
430-
Entrypoint a 15 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/390.js 414 bytes all/a.js 13.4 KiB
430+
Entrypoint a 15 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/390.js 414 bytes all/a.js 13.3 KiB
431431
Entrypoint b 8.14 KiB = all/282.js 414 bytes all/954.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/b.js 6.52 KiB
432432
Entrypoint c 8.14 KiB = all/282.js 414 bytes all/769.js 414 bytes all/767.js 414 bytes all/568.js 414 bytes all/c.js 6.52 KiB
433433
chunk (runtime: b) all/b.js (b) 116 bytes (javascript) 2.76 KiB (runtime) [entry] [rendered]
@@ -437,9 +437,9 @@ all:
437437
chunk (runtime: a, main) all/async-g.js (async-g) 45 bytes [rendered]
438438
> ./g ./a.js 6:0-47
439439
./g.js 45 bytes [built] [code generated]
440-
chunk (runtime: main) all/main.js (main) 147 bytes (javascript) 6.66 KiB (runtime) [entry] [rendered]
440+
chunk (runtime: main) all/main.js (main) 147 bytes (javascript) 6.65 KiB (runtime) [entry] [rendered]
441441
> ./ main
442-
runtime modules 6.66 KiB 9 modules
442+
runtime modules 6.65 KiB 9 modules
443443
./index.js 147 bytes [built] [code generated]
444444
chunk (runtime: a, b, c, main) all/282.js (id hint: vendors) 20 bytes [initial] [rendered] split chunk (cache group: vendors)
445445
> ./a ./index.js 1:0-47
@@ -621,9 +621,9 @@ chunk (runtime: main) d_js-e_js.bundle.js 60 bytes <{c_js}> [rendered]
621621
cjs self exports reference ./e.js 2:0-14
622622
X ms -> X ms ->
623623
X ms (resolving: X ms, restoring: X ms, integration: X ms, building: X ms, storing: X ms)
624-
chunk (runtime: main) bundle.js (main) 73 bytes (javascript) 6.01 KiB (runtime) >{b_js}< >{c_js}< [entry] [rendered]
624+
chunk (runtime: main) bundle.js (main) 73 bytes (javascript) 6 KiB (runtime) >{b_js}< >{c_js}< [entry] [rendered]
625625
> ./index main
626-
runtime modules 6.01 KiB 7 modules
626+
runtime modules 6 KiB 7 modules
627627
cacheable modules 73 bytes
628628
./a.js 22 bytes [dependent] [built] [code generated]
629629
cjs self exports reference ./a.js 1:0-14
@@ -640,8 +640,8 @@ webpack x.x.x compiled successfully in X ms"
640640
exports[`StatsTestCases should print correct stats for circular-correctness 1`] = `
641641
"chunk (runtime: main) 128.bundle.js (b) 49 bytes <{179}> <{459}> >{459}< [rendered]
642642
./module-b.js 49 bytes [built] [code generated]
643-
chunk (runtime: main) bundle.js (main) 98 bytes (javascript) 7.69 KiB (runtime) >{128}< >{786}< [entry] [rendered]
644-
runtime modules 7.69 KiB 10 modules
643+
chunk (runtime: main) bundle.js (main) 98 bytes (javascript) 7.68 KiB (runtime) >{128}< >{786}< [entry] [rendered]
644+
runtime modules 7.68 KiB 10 modules
645645
./index.js 98 bytes [built] [code generated]
646646
chunk (runtime: main) 459.bundle.js (c) 98 bytes <{128}> <{786}> >{128}< >{786}< [rendered]
647647
./module-c.js 98 bytes [built] [code generated]
@@ -753,11 +753,11 @@ exports[`StatsTestCases should print correct stats for concat-and-sideeffects 1`
753753
`;
754754

755755
exports[`StatsTestCases should print correct stats for context-independence 1`] = `
756-
"asset main-1aad2f42f93e93c4e0b4.js 12.7 KiB [emitted] [immutable] (name: main)
757-
sourceMap main-1aad2f42f93e93c4e0b4.js.map 11 KiB [emitted] [dev] (auxiliary name: main)
756+
"asset main-c9ce622840ffef9b8560.js 12.7 KiB [emitted] [immutable] (name: main)
757+
sourceMap main-c9ce622840ffef9b8560.js.map 11 KiB [emitted] [dev] (auxiliary name: main)
758758
asset 695-4dd37417c69a0af66bac.js 455 bytes [emitted] [immutable]
759759
sourceMap 695-4dd37417c69a0af66bac.js.map 342 bytes [emitted] [dev]
760-
runtime modules 6.6 KiB 9 modules
760+
runtime modules 6.59 KiB 9 modules
761761
orphan modules 19 bytes [orphan] 1 module
762762
built modules 500 bytes [built]
763763
modules by layer 234 bytes
@@ -769,11 +769,11 @@ built modules 500 bytes [built]
769769
./a/chunk.js + 1 modules (in Xdir/context-independence/a) 66 bytes [built] [code generated]
770770
webpack x.x.x compiled successfully in X ms
771771
772-
asset main-1aad2f42f93e93c4e0b4.js 12.7 KiB [emitted] [immutable] (name: main)
773-
sourceMap main-1aad2f42f93e93c4e0b4.js.map 11 KiB [emitted] [dev] (auxiliary name: main)
772+
asset main-c9ce622840ffef9b8560.js 12.7 KiB [emitted] [immutable] (name: main)
773+
sourceMap main-c9ce622840ffef9b8560.js.map 11 KiB [emitted] [dev] (auxiliary name: main)
774774
asset 695-4dd37417c69a0af66bac.js 455 bytes [emitted] [immutable]
775775
sourceMap 695-4dd37417c69a0af66bac.js.map 342 bytes [emitted] [dev]
776-
runtime modules 6.6 KiB 9 modules
776+
runtime modules 6.59 KiB 9 modules
777777
orphan modules 19 bytes [orphan] 1 module
778778
built modules 500 bytes [built]
779779
modules by layer 234 bytes
@@ -785,9 +785,9 @@ built modules 500 bytes [built]
785785
./b/chunk.js + 1 modules (in Xdir/context-independence/b) 66 bytes [built] [code generated]
786786
webpack x.x.x compiled successfully in X ms
787787
788-
asset main-488feb13e36da3e337fa.js 14.9 KiB [emitted] [immutable] (name: main)
788+
asset main-6fe9478fbece50724f14.js 14.8 KiB [emitted] [immutable] (name: main)
789789
asset 695-828eb5c7418e1b8270bb.js 1.5 KiB [emitted] [immutable]
790-
runtime modules 6.6 KiB 9 modules
790+
runtime modules 6.59 KiB 9 modules
791791
orphan modules 19 bytes [orphan] 1 module
792792
built modules 500 bytes [built]
793793
modules by layer 234 bytes
@@ -799,9 +799,9 @@ built modules 500 bytes [built]
799799
./a/chunk.js + 1 modules (in Xdir/context-independence/a) 66 bytes [built] [code generated]
800800
webpack x.x.x compiled successfully in X ms
801801
802-
asset main-488feb13e36da3e337fa.js 14.9 KiB [emitted] [immutable] (name: main)
802+
asset main-6fe9478fbece50724f14.js 14.8 KiB [emitted] [immutable] (name: main)
803803
asset 695-828eb5c7418e1b8270bb.js 1.5 KiB [emitted] [immutable]
804-
runtime modules 6.6 KiB 9 modules
804+
runtime modules 6.59 KiB 9 modules
805805
orphan modules 19 bytes [orphan] 1 module
806806
built modules 500 bytes [built]
807807
modules by layer 234 bytes
@@ -813,9 +813,9 @@ built modules 500 bytes [built]
813813
./b/chunk.js + 1 modules (in Xdir/context-independence/b) 66 bytes [built] [code generated]
814814
webpack x.x.x compiled successfully in X ms
815815
816-
asset main-c96ffcbdb3eefd9ed7c6.js 13.7 KiB [emitted] [immutable] (name: main)
816+
asset main-dab0773b873a912c8caa.js 13.7 KiB [emitted] [immutable] (name: main)
817817
asset 695-ace208366ce0ce2556ef.js 1.01 KiB [emitted] [immutable]
818-
runtime modules 6.6 KiB 9 modules
818+
runtime modules 6.59 KiB 9 modules
819819
orphan modules 19 bytes [orphan] 1 module
820820
built modules 500 bytes [built]
821821
modules by layer 234 bytes
@@ -827,9 +827,9 @@ built modules 500 bytes [built]
827827
./a/chunk.js + 1 modules (in Xdir/context-independence/a) 66 bytes [built] [code generated]
828828
webpack x.x.x compiled successfully in X ms
829829
830-
asset main-c96ffcbdb3eefd9ed7c6.js 13.7 KiB [emitted] [immutable] (name: main)
830+
asset main-dab0773b873a912c8caa.js 13.7 KiB [emitted] [immutable] (name: main)
831831
asset 695-ace208366ce0ce2556ef.js 1.01 KiB [emitted] [immutable]
832-
runtime modules 6.6 KiB 9 modules
832+
runtime modules 6.59 KiB 9 modules
833833
orphan modules 19 bytes [orphan] 1 module
834834
built modules 500 bytes [built]
835835
modules by layer 234 bytes
@@ -1179,7 +1179,7 @@ webpack x.x.x compiled with 2 warnings in X ms"
11791179
`;
11801180

11811181
exports[`StatsTestCases should print correct stats for immutable 1`] = `
1182-
"asset 0e05fd23a5dbc3703724.js 13.4 KiB [emitted] [immutable] (name: main)
1182+
"asset 3d65ee71fc9f53a687bd.js 13.3 KiB [emitted] [immutable] (name: main)
11831183
asset 22c24a3b26d46118dc06.js 809 bytes [emitted] [immutable]"
11841184
`;
11851185

@@ -1188,7 +1188,7 @@ exports[`StatsTestCases should print correct stats for import-context-filter 1`]
11881188
asset 398.js 482 bytes [emitted]
11891189
asset 544.js 482 bytes [emitted]
11901190
asset 718.js 482 bytes [emitted]
1191-
runtime modules 6.57 KiB 9 modules
1191+
runtime modules 6.56 KiB 9 modules
11921192
built modules 724 bytes [built]
11931193
modules by path ./templates/*.js 114 bytes
11941194
./templates/bar.js 38 bytes [optional] [built] [code generated]
@@ -1269,11 +1269,11 @@ webpack x.x.x compiled successfully in X ms
12691269
assets by chunk 895 bytes (id hint: all)
12701270
asset c-all-b_js-d2d64fdaadbf1936503b.js 502 bytes [emitted] [immutable] (id hint: all)
12711271
asset c-all-c_js-0552c7cbb8c1a12b6b9c.js 393 bytes [emitted] [immutable] (id hint: all)
1272-
asset c-runtime~main-9feecb76e2fda0c5fc0d.js 13.5 KiB [emitted] [immutable] (name: runtime~main)
1272+
asset c-runtime~main-51dac241c7dc65379790.js 13.5 KiB [emitted] [immutable] (name: runtime~main)
12731273
asset c-main-463838c803f48fe97bb6.js 680 bytes [emitted] [immutable] (name: main)
12741274
asset c-vendors-node_modules_vendor_js-7320f018dbab7e34ead5.js 185 bytes [emitted] [immutable] (id hint: vendors)
1275-
Entrypoint main 14.6 KiB = c-runtime~main-9feecb76e2fda0c5fc0d.js 13.5 KiB c-all-c_js-0552c7cbb8c1a12b6b9c.js 393 bytes c-main-463838c803f48fe97bb6.js 680 bytes
1276-
runtime modules 8.67 KiB 13 modules
1275+
Entrypoint main 14.6 KiB = c-runtime~main-51dac241c7dc65379790.js 13.5 KiB c-all-c_js-0552c7cbb8c1a12b6b9c.js 393 bytes c-main-463838c803f48fe97bb6.js 680 bytes
1276+
runtime modules 8.66 KiB 13 modules
12771277
cacheable modules 101 bytes
12781278
./c.js 61 bytes [built] [code generated]
12791279
./b.js 17 bytes [built] [code generated]
@@ -1296,7 +1296,7 @@ exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin
12961296
1 chunks (webpack x.x.x) compiled successfully in X ms
12971297
12981298
2 chunks:
1299-
asset bundle2.js 12.6 KiB [emitted] (name: main)
1299+
asset bundle2.js 12.5 KiB [emitted] (name: main)
13001300
asset 459.bundle2.js 664 bytes [emitted] (name: c)
13011301
chunk (runtime: main) bundle2.js (main) 101 bytes (javascript) 7.69 KiB (runtime) >{459}< [entry] [rendered]
13021302
runtime modules 7.69 KiB 10 modules
@@ -1311,7 +1311,7 @@ exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin
13111311
2 chunks (webpack x.x.x) compiled successfully in X ms
13121312
13131313
3 chunks:
1314-
asset bundle3.js 12.6 KiB [emitted] (name: main)
1314+
asset bundle3.js 12.5 KiB [emitted] (name: main)
13151315
asset 459.bundle3.js 528 bytes [emitted] (name: c)
13161316
asset 524.bundle3.js 206 bytes [emitted]
13171317
chunk (runtime: main) bundle3.js (main) 101 bytes (javascript) 7.69 KiB (runtime) >{459}< [entry] [rendered]
@@ -1327,7 +1327,7 @@ exports[`StatsTestCases should print correct stats for limit-chunk-count-plugin
13271327
3 chunks (webpack x.x.x) compiled successfully in X ms
13281328
13291329
4 chunks:
1330-
asset bundle4.js 12.6 KiB [emitted] (name: main)
1330+
asset bundle4.js 12.5 KiB [emitted] (name: main)
13311331
asset 459.bundle4.js 392 bytes [emitted] (name: c)
13321332
asset 394.bundle4.js 206 bytes [emitted]
13331333
asset 524.bundle4.js 206 bytes [emitted]
@@ -1512,9 +1512,9 @@ webpack x.x.x compiled successfully in X ms"
15121512
`;
15131513

15141514
exports[`StatsTestCases should print correct stats for module-deduplication 1`] = `
1515-
"asset e1.js 12.2 KiB [emitted] (name: e1)
1516-
asset e2.js 12.2 KiB [emitted] (name: e2)
1517-
asset e3.js 12.2 KiB [emitted] (name: e3)
1515+
"asset e1.js 12.1 KiB [emitted] (name: e1)
1516+
asset e2.js 12.1 KiB [emitted] (name: e2)
1517+
asset e3.js 12.1 KiB [emitted] (name: e3)
15181518
asset 172.js 858 bytes [emitted]
15191519
asset 326.js 858 bytes [emitted]
15201520
asset 923.js 858 bytes [emitted]
@@ -1523,17 +1523,17 @@ asset 593.js 524 bytes [emitted]
15231523
asset 716.js 524 bytes [emitted]
15241524
chunk (runtime: e1) 114.js 61 bytes [rendered]
15251525
./async1.js 61 bytes [built] [code generated]
1526-
chunk (runtime: e3) e3.js (e3) 249 bytes (javascript) 6.57 KiB (runtime) [entry] [rendered]
1527-
runtime modules 6.57 KiB 9 modules
1526+
chunk (runtime: e3) e3.js (e3) 249 bytes (javascript) 6.56 KiB (runtime) [entry] [rendered]
1527+
runtime modules 6.56 KiB 9 modules
15281528
cacheable modules 249 bytes
15291529
./b.js 20 bytes [dependent] [built] [code generated]
15301530
./e3.js + 2 modules 209 bytes [built] [code generated]
15311531
./h.js 20 bytes [dependent] [built] [code generated]
15321532
chunk (runtime: e1, e3) 172.js 81 bytes [rendered]
15331533
./async2.js 61 bytes [built] [code generated]
15341534
./f.js 20 bytes [dependent] [built] [code generated]
1535-
chunk (runtime: e1) e1.js (e1) 249 bytes (javascript) 6.57 KiB (runtime) [entry] [rendered]
1536-
runtime modules 6.57 KiB 9 modules
1535+
chunk (runtime: e1) e1.js (e1) 249 bytes (javascript) 6.56 KiB (runtime) [entry] [rendered]
1536+
runtime modules 6.56 KiB 9 modules
15371537
cacheable modules 249 bytes
15381538
./b.js 20 bytes [dependent] [built] [code generated]
15391539
./d.js 20 bytes [dependent] [built] [code generated]
@@ -1543,8 +1543,8 @@ chunk (runtime: e1, e2) 326.js 81 bytes [rendered]
15431543
./h.js 20 bytes [dependent] [built] [code generated]
15441544
chunk (runtime: e3) 593.js 61 bytes [rendered]
15451545
./async3.js 61 bytes [built] [code generated]
1546-
chunk (runtime: e2) e2.js (e2) 249 bytes (javascript) 6.57 KiB (runtime) [entry] [rendered]
1547-
runtime modules 6.57 KiB 9 modules
1546+
chunk (runtime: e2) e2.js (e2) 249 bytes (javascript) 6.56 KiB (runtime) [entry] [rendered]
1547+
runtime modules 6.56 KiB 9 modules
15481548
cacheable modules 249 bytes
15491549
./b.js 20 bytes [dependent] [built] [code generated]
15501550
./e2.js + 2 modules 209 bytes [built] [code generated]
@@ -1703,9 +1703,9 @@ chunk (runtime: main) a-52.js 149 bytes [rendered] split chunk (cache group: def
17031703
> ./a ./index.js 1:0-47
17041704
> ./b ./index.js 2:0-47
17051705
./shared.js 149 bytes [built] [code generated]
1706-
chunk (runtime: main) a-main.js (main) 146 bytes (javascript) 6.91 KiB (runtime) [entry] [rendered]
1706+
chunk (runtime: main) a-main.js (main) 146 bytes (javascript) 6.9 KiB (runtime) [entry] [rendered]
17071707
> ./ main
1708-
runtime modules 6.91 KiB 10 modules
1708+
runtime modules 6.9 KiB 10 modules
17091709
./index.js 146 bytes [built] [code generated]
17101710
chunk (runtime: main) a-vendors.js (vendors) (id hint: vendors) 40 bytes [rendered] split chunk (cache group: vendors) (name: vendors)
17111711
> ./c ./index.js 3:0-47
@@ -1730,9 +1730,9 @@ chunk (runtime: main) b-52.js 149 bytes [rendered] split chunk (cache group: def
17301730
> ./a ./index.js 1:0-47
17311731
> ./b ./index.js 2:0-47
17321732
./shared.js 149 bytes [built] [code generated]
1733-
chunk (runtime: main) b-main.js (main) 146 bytes (javascript) 6.91 KiB (runtime) [entry] [rendered]
1733+
chunk (runtime: main) b-main.js (main) 146 bytes (javascript) 6.9 KiB (runtime) [entry] [rendered]
17341734
> ./ main
1735-
runtime modules 6.91 KiB 10 modules
1735+
runtime modules 6.9 KiB 10 modules
17361736
./index.js 146 bytes [built] [code generated]
17371737
chunk (runtime: main) b-vendors.js (vendors) (id hint: vendors) 40 bytes [rendered] split chunk (cache group: vendors) (name: vendors)
17381738
> ./c ./index.js 3:0-47
@@ -1789,7 +1789,7 @@ webpack x.x.x compiled with 1 error and 1 warning in X ms"
17891789
`;
17901790

17911791
exports[`StatsTestCases should print correct stats for optimize-chunks 1`] = `
1792-
"asset main.js 11.1 KiB {179} [emitted] (name: main)
1792+
"asset main.js 11 KiB {179} [emitted] (name: main)
17931793
asset cir2 from cir1.js 377 bytes {288}, {289} [emitted] (name: cir2 from cir1)
17941794
asset cir1.js 333 bytes {592} [emitted] (name: cir1)
17951795
asset cir2.js 333 bytes {289} [emitted] (name: cir2)
@@ -2154,7 +2154,7 @@ runtime modules 6 KiB
21542154
webpack/runtime/jsonp chunk loading 3 KiB {179} [code generated]
21552155
[no exports]
21562156
[used exports unknown]
2157-
webpack/runtime/load script 1.37 KiB {179} [code generated]
2157+
webpack/runtime/load script 1.36 KiB {179} [code generated]
21582158
[no exports]
21592159
[used exports unknown]
21602160
webpack/runtime/publicPath 867 bytes {179} [code generated]
@@ -2228,7 +2228,7 @@ LOG from webpack.FileSystemInfo
22282228
Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations
22292229
Managed items info in cache: 0 items
22302230
2231-
1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (e660cd491247c45742cc)"
2231+
1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (5966d7136f537890a286)"
22322232
`;
22332233
22342234
exports[`StatsTestCases should print correct stats for preset-errors-only 1`] = `""`;
@@ -2424,7 +2424,7 @@ chunk {179} (runtime: main) main.js (main) 73 bytes (javascript) 6 KiB (runtime)
24242424
webpack/runtime/jsonp chunk loading 3 KiB {179} [code generated]
24252425
[no exports]
24262426
[used exports unknown]
2427-
webpack/runtime/load script 1.37 KiB {179} [code generated]
2427+
webpack/runtime/load script 1.36 KiB {179} [code generated]
24282428
[no exports]
24292429
[used exports unknown]
24302430
webpack/runtime/publicPath 867 bytes {179} [code generated]
@@ -2604,7 +2604,7 @@ LOG from webpack.FileSystemInfo
26042604
Directory info in cache: 0 timestamps 0 hashes 0 timestamp hash combinations
26052605
Managed items info in cache: 0 items
26062606
2607-
1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (e660cd491247c45742cc)"
2607+
1970-04-20 12:42:42: webpack x.x.x compiled successfully in X ms (5966d7136f537890a286)"
26082608
`;
26092609
26102610
exports[`StatsTestCases should print correct stats for real-content-hash 1`] = `
@@ -2665,7 +2665,7 @@ b-normal:
26652665
a-source-map:
26662666
assets by path *.js 3.42 KiB
26672667
asset 1289a35df2e6455ef167-1289a3.js 2.8 KiB [emitted] [immutable] [minimized] (name: runtime)
2668-
sourceMap 1289a35df2e6455ef167-1289a3.js.map 14.5 KiB [emitted] [dev] (auxiliary name: runtime)
2668+
sourceMap 1289a35df2e6455ef167-1289a3.js.map 14.4 KiB [emitted] [dev] (auxiliary name: runtime)
26692669
asset 0a8aef384737d9f64f44-0a8aef.js 288 bytes [emitted] [immutable] [minimized] (name: lazy)
26702670
sourceMap 0a8aef384737d9f64f44-0a8aef.js.map 409 bytes [emitted] [dev] (auxiliary name: lazy)
26712671
asset da629d4acf5998c06668-da629d.js 268 bytes [emitted] [immutable] [minimized] (name: index)
@@ -2696,7 +2696,7 @@ a-source-map:
26962696
b-source-map:
26972697
assets by path *.js 3.42 KiB
26982698
asset 1289a35df2e6455ef167-1289a3.js 2.8 KiB [emitted] [immutable] [minimized] (name: runtime)
2699-
sourceMap 1289a35df2e6455ef167-1289a3.js.map 14.5 KiB [emitted] [dev] (auxiliary name: runtime)
2699+
sourceMap 1289a35df2e6455ef167-1289a3.js.map 14.4 KiB [emitted] [dev] (auxiliary name: runtime)
27002700
asset 0a8aef384737d9f64f44-0a8aef.js 288 bytes [emitted] [immutable] [minimized] (name: lazy)
27012701
sourceMap 0a8aef384737d9f64f44-0a8aef.js.map 405 bytes [emitted] [dev] (auxiliary name: lazy)
27022702
asset da629d4acf5998c06668-da629d.js 268 bytes [emitted] [immutable] [minimized] (name: index)
@@ -2707,7 +2707,7 @@ b-source-map:
27072707
asset 89a353e9c515885abd8e.png 14.6 KiB [emitted] [immutable] [from: file.png] (auxiliary name: lazy)
27082708
asset 7382fad5b015914e0811.jpg?query 5.89 KiB [cached] [immutable] [from: file.jpg?query] (auxiliary name: lazy)
27092709
asset 7382fad5b015914e0811.jpg 5.89 KiB [emitted] [immutable] [from: file.jpg] (auxiliary name: index)
2710-
Entrypoint index 3.06 KiB (20.7 KiB) = 1289a35df2e6455ef167-1289a3.js 2.8 KiB da629d4acf5998c06668-da629d.js 268 bytes 3 auxiliary assets
2710+
Entrypoint index 3.06 KiB (20.6 KiB) = 1289a35df2e6455ef167-1289a3.js 2.8 KiB da629d4acf5998c06668-da629d.js 268 bytes 3 auxiliary assets
27112711
Entrypoint a 77 bytes (254 bytes) = 222c2acc68675174e6b2-222c2a.js 1 auxiliary asset
27122712
Entrypoint b 77 bytes (254 bytes) = 222c2acc68675174e6b2-222c2a.js 1 auxiliary asset
27132713
runtime modules 7.28 KiB 9 modules
@@ -2735,7 +2735,7 @@ exports[`StatsTestCases should print correct stats for related-assets 1`] = `
27352735
asset default-main.css 69 bytes [emitted] (name: main) 3 related assets
27362736
27372737
relatedAssets:
2738-
assets by path *.js 15.3 KiB
2738+
assets by path *.js 15.2 KiB
27392739
asset relatedAssets-main.js 14.5 KiB [emitted] (name: main)
27402740
compressed relatedAssets-main.js.br 14.5 KiB [emitted]
27412741
compressed relatedAssets-main.js.gz 14.5 KiB [emitted]
@@ -2764,10 +2764,10 @@ relatedAssets:
27642764
27652765
exclude1:
27662766
assets by path *.js 15.2 KiB
2767-
asset exclude1-main.js 14.5 KiB [emitted] (name: main)
2767+
asset exclude1-main.js 14.4 KiB [emitted] (name: main)
27682768
hidden assets 28.9 KiB 2 assets
27692769
sourceMap exclude1-main.js.map 12.5 KiB [emitted] [dev] (auxiliary name: main)
2770-
hidden assets 25 KiB 2 assets
2770+
hidden assets 24.9 KiB 2 assets
27712771
+ 1 related asset
27722772
+ 1 related asset
27732773
asset exclude1-chunk_js.js 804 bytes [emitted]
@@ -2792,10 +2792,10 @@ exclude1:
27922792
27932793
exclude2:
27942794
assets by path *.js 15.2 KiB
2795-
asset exclude2-main.js 14.5 KiB [emitted] (name: main)
2795+
asset exclude2-main.js 14.4 KiB [emitted] (name: main)
27962796
hidden assets 12.5 KiB 1 asset
2797-
compressed exclude2-main.js.br 14.5 KiB [emitted]
2798-
compressed exclude2-main.js.gz 14.5 KiB [emitted]
2797+
compressed exclude2-main.js.br 14.4 KiB [emitted]
2798+
compressed exclude2-main.js.gz 14.4 KiB [emitted]
27992799
asset exclude2-chunk_js.js 804 bytes [emitted]
28002800
hidden assets 295 bytes 1 asset
28012801
compressed exclude2-chunk_js.js.br 804 bytes [emitted]
@@ -2813,9 +2813,9 @@ exclude2:
28132813
exclude3:
28142814
hidden assets 878 bytes 2 assets
28152815
assets by status 14.5 KiB [emitted]
2816-
asset exclude3-main.js 14.5 KiB [emitted] (name: main)
2817-
compressed exclude3-main.js.br 14.5 KiB [emitted]
2818-
compressed exclude3-main.js.gz 14.5 KiB [emitted]
2816+
asset exclude3-main.js 14.4 KiB [emitted] (name: main)
2817+
compressed exclude3-main.js.br 14.4 KiB [emitted]
2818+
compressed exclude3-main.js.gz 14.4 KiB [emitted]
28192819
sourceMap exclude3-main.js.map 12.5 KiB [emitted] [dev] (auxiliary name: main)
28202820
compressed exclude3-main.js.map.br 12.5 KiB [emitted]
28212821
compressed exclude3-main.js.map.gz 12.5 KiB [emitted]
@@ -2956,8 +2956,8 @@ exports[`StatsTestCases should print correct stats for runtime-specific-used-exp
29562956
asset production-dy_js.js 1.14 KiB [emitted]
29572957
asset production-dz_js.js 1.14 KiB [emitted]
29582958
asset production-c.js 93 bytes [emitted] (name: c)
2959-
chunk (runtime: a) production-a.js (a) 605 bytes (javascript) 6.58 KiB (runtime) [entry] [rendered]
2960-
runtime modules 6.58 KiB 9 modules
2959+
chunk (runtime: a) production-a.js (a) 605 bytes (javascript) 6.57 KiB (runtime) [entry] [rendered]
2960+
runtime modules 6.57 KiB 9 modules
29612961
cacheable modules 605 bytes
29622962
./a.js 261 bytes [built] [code generated]
29632963
[no exports used]
@@ -2969,8 +2969,8 @@ exports[`StatsTestCases should print correct stats for runtime-specific-used-exp
29692969
[only some exports used: x]
29702970
./reexport.js 37 bytes [dependent] [built] [code generated]
29712971
[only some exports used: x]
2972-
chunk (runtime: b) production-b.js (b) 605 bytes (javascript) 6.58 KiB (runtime) [entry] [rendered]
2973-
runtime modules 6.58 KiB 9 modules
2972+
chunk (runtime: b) production-b.js (b) 605 bytes (javascript) 6.57 KiB (runtime) [entry] [rendered]
2973+
runtime modules 6.57 KiB 9 modules
29742974
cacheable modules 605 bytes
29752975
./b.js 261 bytes [built] [code generated]
29762976
[no exports used]
@@ -3005,7 +3005,7 @@ exports[`StatsTestCases should print correct stats for runtime-specific-used-exp
30053005
./dz.js 46 bytes [built] [code generated]
30063006
./module.js?chunk 122 bytes [dependent] [built] [code generated]
30073007
[only some exports used: identity, w, x, z]
3008-
runtime modules 13.2 KiB 18 modules
3008+
runtime modules 13.1 KiB 18 modules
30093009
cacheable modules 1.15 KiB
30103010
./a.js 261 bytes [built] [code generated]
30113011
[no exports used]
@@ -3193,7 +3193,7 @@ global:
31933193
`;
31943194
31953195
exports[`StatsTestCases should print correct stats for scope-hoisting-bailouts 1`] = `
3196-
"runtime modules 6.83 KiB 10 modules
3196+
"runtime modules 6.82 KiB 10 modules
31973197
built modules 615 bytes [built]
31983198
code generated modules 530 bytes [code generated]
31993199
./index.js 150 bytes [built] [code generated]
@@ -3566,9 +3566,9 @@ all-chunks:
35663566
> ./c ./index.js 3:0-47
35673567
> ./c c
35683568
./node_modules/z.js 20 bytes [built] [code generated]
3569-
chunk (runtime: a) all-chunks/a.js (a) 165 bytes (javascript) 7.58 KiB (runtime) ={282}= ={390}= ={767}= ={954}= >{137}< >{568}< [entry] [rendered]
3569+
chunk (runtime: a) all-chunks/a.js (a) 165 bytes (javascript) 7.57 KiB (runtime) ={282}= ={390}= ={767}= ={954}= >{137}< >{568}< [entry] [rendered]
35703570
> ./a a
3571-
runtime modules 7.58 KiB 10 modules
3571+
runtime modules 7.57 KiB 10 modules
35723572
./a.js 165 bytes [built] [code generated]
35733573
chunk (runtime: main) all-chunks/async-a.js (async-a) 165 bytes <{179}> ={282}= ={390}= ={767}= ={954}= >{137}< >{568}< [rendered]
35743574
> ./a ./index.js 1:0-47
@@ -3659,9 +3659,9 @@ name-too-long:
36593659
chunk (runtime: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, main) name-too-long/async-g.js (async-g) 45 bytes <{282}> <{390}> <{751}> <{767}> <{794}> <{954}> ={568}= [rendered]
36603660
> ./g ./a.js 6:0-47
36613661
./g.js 45 bytes [built] [code generated]
3662-
chunk (runtime: main) name-too-long/main.js (main) 147 bytes (javascript) 6.67 KiB (runtime) >{282}< >{334}< >{383}< >{390}< >{568}< >{767}< >{769}< >{794}< >{954}< [entry] [rendered]
3662+
chunk (runtime: main) name-too-long/main.js (main) 147 bytes (javascript) 6.66 KiB (runtime) >{282}< >{334}< >{383}< >{390}< >{568}< >{767}< >{769}< >{794}< >{954}< [entry] [rendered]
36633663
> ./ main
3664-
runtime modules 6.67 KiB 9 modules
3664+
runtime modules 6.66 KiB 9 modules
36653665
./index.js 147 bytes [built] [code generated]
36663666
chunk (runtime: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb, cccccccccccccccccccccccccccccc, main) name-too-long/282.js (id hint: vendors) 20 bytes <{179}> ={334}= ={383}= ={390}= ={568}= ={658}= ={751}= ={766}= ={767}= ={769}= ={794}= ={954}= >{137}< >{568}< [initial] [rendered] split chunk (cache group: defaultVendors)
36673667
> ./a ./index.js 1:0-47
@@ -3724,8 +3724,8 @@ name-too-long:
37243724
name-too-long (webpack x.x.x) compiled successfully
37253725
37263726
custom-chunks-filter:
3727-
Entrypoint main 11.5 KiB = custom-chunks-filter/main.js
3728-
Entrypoint a 12.6 KiB = custom-chunks-filter/a.js
3727+
Entrypoint main 11.4 KiB = custom-chunks-filter/main.js
3728+
Entrypoint a 12.5 KiB = custom-chunks-filter/a.js
37293729
Entrypoint b 8.14 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/954.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/b.js 6.52 KiB
37303730
Entrypoint c 8.14 KiB = custom-chunks-filter/282.js 414 bytes custom-chunks-filter/769.js 414 bytes custom-chunks-filter/568.js 414 bytes custom-chunks-filter/767.js 414 bytes custom-chunks-filter/c.js 6.52 KiB
37313731
chunk (runtime: b) custom-chunks-filter/b.js (b) 116 bytes (javascript) 2.76 KiB (runtime) ={282}= ={568}= ={767}= ={954}= [entry] [rendered]
@@ -3790,8 +3790,8 @@ custom-chunks-filter:
37903790
custom-chunks-filter (webpack x.x.x) compiled successfully
37913791
37923792
custom-chunks-filter-in-cache-groups:
3793-
Entrypoint main 11.3 KiB = custom-chunks-filter-in-cache-groups/main.js
3794-
Entrypoint a 14.6 KiB = custom-chunks-filter-in-cache-groups/176.js 864 bytes custom-chunks-filter-in-cache-groups/a.js 13.7 KiB
3793+
Entrypoint main 11.2 KiB = custom-chunks-filter-in-cache-groups/main.js
3794+
Entrypoint a 14.5 KiB = custom-chunks-filter-in-cache-groups/176.js 864 bytes custom-chunks-filter-in-cache-groups/a.js 13.7 KiB
37953795
Entrypoint b 8.45 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.05 KiB custom-chunks-filter-in-cache-groups/b.js 7.4 KiB
37963796
Entrypoint c 8.45 KiB = custom-chunks-filter-in-cache-groups/vendors.js 1.05 KiB custom-chunks-filter-in-cache-groups/c.js 7.4 KiB
37973797
chunk (runtime: b) custom-chunks-filter-in-cache-groups/b.js (b) 156 bytes (javascript) 2.76 KiB (runtime) ={216}= [entry] [rendered]
@@ -3865,7 +3865,7 @@ custom-chunks-filter-in-cache-groups:
38653865
`;
38663866
38673867
exports[`StatsTestCases should print correct stats for split-chunks-automatic-name 1`] = `
3868-
"Entrypoint main 11.6 KiB = main.js
3868+
"Entrypoint main 11.5 KiB = main.js
38693869
chunk (runtime: main) async-a.js (async-a) 136 bytes <{main}> ={common-d_js}= ={common-node_modules_x_js}= ={common-node_modules_y_js}= [rendered]
38703870
> ./a ./index.js 1:0-47
38713871
./a.js + 1 modules 136 bytes [built] [code generated]
@@ -4012,7 +4012,7 @@ default (webpack x.x.x) compiled successfully"
40124012
40134013
exports[`StatsTestCases should print correct stats for split-chunks-issue-7401 1`] = `
40144014
"Entrypoint a 6.42 KiB = 282.js 414 bytes a.js 6.02 KiB
4015-
Entrypoint b 10.9 KiB = b.js
4015+
Entrypoint b 10.8 KiB = b.js
40164016
Chunk Group c 797 bytes = 282.js 414 bytes c.js 383 bytes
40174017
chunk (runtime: b) b.js (b) 43 bytes (javascript) 6.59 KiB (runtime) >{282}< >{459}< [entry] [rendered]
40184018
> ./b b
@@ -4470,7 +4470,7 @@ only-async:
44704470
`;
44714471
44724472
exports[`StatsTestCases should print correct stats for split-chunks-min-size-reduction 1`] = `
4473-
"Entrypoint main 11.5 KiB = default/main.js
4473+
"Entrypoint main 11.4 KiB = default/main.js
44744474
chunk (runtime: main) default/async-d.js (async-d) 50 bytes <{179}> ={821}= [rendered]
44754475
> ./d ./index.js 4:0-47
44764476
./d.js 50 bytes [built] [code generated]

0 commit comments

Comments
 (0)
Please sign in to comment.