Skip to content

Commit d575b78

Browse files
authored
Merge pull request webpack#6364 from michael-ciniawsky/patch
fix(lib/Chunk): typo in `getNumberOfGroups` return value
2 parents e8c2596 + 390fac4 commit d575b78

File tree

6 files changed

+143
-127
lines changed

6 files changed

+143
-127
lines changed

lib/Chunk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Chunk {
162162
}
163163

164164
getNumberOfGroups() {
165-
return this._groups.siz;
165+
return this._groups.size;
166166
}
167167

168168
get groupsIterable() {

test/Chunk.unittest.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,26 +59,42 @@ describe("Chunk", () => {
5959
describe("removeModule", function() {
6060
let module;
6161
let removeChunkSpy;
62+
6263
beforeEach(function() {
6364
removeChunkSpy = sinon.spy();
65+
6466
module = {
6567
removeChunk: removeChunkSpy
6668
};
6769
});
70+
6871
describe("and the chunk does not contain this module", function() {
6972
it("returns false", function() {
7073
ChunkInstance.removeModule(module).should.eql(false);
7174
});
7275
});
76+
7377
describe("and the chunk does contain this module", function() {
7478
beforeEach(function() {
7579
ChunkInstance._modules = new Set([module]);
7680
});
81+
7782
it("calls module.removeChunk with itself and returns true", function() {
7883
ChunkInstance.removeModule(module).should.eql(true);
84+
7985
removeChunkSpy.callCount.should.eql(1);
8086
removeChunkSpy.args[0][0].should.eql(ChunkInstance);
8187
});
8288
});
89+
90+
describe("getNumberOfGroups", function() {
91+
beforeEach(function() {
92+
ChunkInstance._groups = new Set();
93+
});
94+
95+
it("should return the number of chunk groups contained by the chunk", function() {
96+
ChunkInstance.getNumberOfGroups().should.eql(0);
97+
});
98+
});
8399
});
84100
});

test/statsCases/async-commons-chunk-auto/expected.txt

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -131,59 +131,59 @@ Child vendors:
131131
Entrypoint a = vendors/vendors.js vendors/a.js
132132
Entrypoint b = vendors/vendors.js vendors/b.js
133133
Entrypoint c = vendors/vendors.js vendors/c.js
134-
chunk {0} vendors/async-g.js (async-g) 54 bytes <{1}> <{8}> <{5}> [rendered]
134+
chunk {0} vendors/async-g.js (async-g) 54 bytes <{1}> <{4}> <{6}> [rendered]
135135
> ./g [] 6:0-47
136136
> ./g [] 6:0-47
137-
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
137+
[2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built]
138138
[9] ./g.js 34 bytes {0} [built]
139-
chunk {1} vendors/async-a.js (async-a) 216 bytes <{4}> >{0}< [rendered]
139+
chunk {1} vendors/async-a.js (async-a) 216 bytes <{5}> >{0}< [rendered]
140140
> ./a [8] ./index.js 1:0-47
141-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
142-
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
143-
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
144-
[7] ./a.js + 1 modules 156 bytes {1} {5} [built]
141+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
142+
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built]
143+
[3] ./node_modules/y.js 20 bytes {1} {2} {4} [built]
144+
[7] ./a.js + 1 modules 156 bytes {1} {6} [built]
145145
| ./a.js 121 bytes [built]
146146
| ./e.js 20 bytes [built]
147-
chunk {2} vendors/async-b.js (async-b) 152 bytes <{4}> [rendered]
147+
chunk {2} vendors/async-b.js (async-b) 152 bytes <{5}> [rendered]
148148
> ./b [8] ./index.js 2:0-47
149-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
150-
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
151-
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
152-
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
153-
[5] ./b.js 72 bytes {2} {6} [built]
154-
chunk {3} vendors/async-c.js (async-c) 152 bytes <{4}> [rendered]
149+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
150+
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built]
151+
[2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built]
152+
[3] ./node_modules/y.js 20 bytes {1} {2} {4} [built]
153+
[5] ./b.js 72 bytes {2} {7} [built]
154+
chunk {3} vendors/async-c.js (async-c) 152 bytes <{5}> [rendered]
155155
> ./c [8] ./index.js 3:0-47
156-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
157-
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
158-
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
159-
[4] ./node_modules/z.js 20 bytes {3} {8} [built]
160-
[6] ./c.js 72 bytes {3} {7} [built]
161-
chunk {4} vendors/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered]
156+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
157+
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built]
158+
[2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built]
159+
[4] ./node_modules/z.js 20 bytes {3} {4} [built]
160+
[6] ./c.js 72 bytes {3} {8} [built]
161+
chunk {4} vendors/vendors.js (vendors) 60 bytes ={8}= ={7}= ={6}= >{0}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
162+
> ./c c
163+
> ./b b
164+
> ./a a
165+
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {4} [built]
166+
[3] ./node_modules/y.js 20 bytes {1} {2} {4} [built]
167+
[4] ./node_modules/z.js 20 bytes {3} {4} [built]
168+
chunk {5} vendors/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered]
162169
> ./ main
163-
[8] ./index.js 147 bytes {4} [built]
164-
chunk {5} vendors/a.js (a) 176 bytes ={8}= >{0}< [entry] [rendered]
170+
[8] ./index.js 147 bytes {5} [built]
171+
chunk {6} vendors/a.js (a) 176 bytes ={4}= >{0}< [entry] [rendered]
165172
> ./a a
166-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
167-
[7] ./a.js + 1 modules 156 bytes {1} {5} [built]
173+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
174+
[7] ./a.js + 1 modules 156 bytes {1} {6} [built]
168175
| ./a.js 121 bytes [built]
169176
| ./e.js 20 bytes [built]
170-
chunk {6} vendors/b.js (b) 112 bytes ={8}= [entry] [rendered]
177+
chunk {7} vendors/b.js (b) 112 bytes ={4}= [entry] [rendered]
171178
> ./b b
172-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
173-
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
174-
[5] ./b.js 72 bytes {2} {6} [built]
175-
chunk {7} vendors/c.js (c) 112 bytes ={8}= [entry] [rendered]
179+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
180+
[2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built]
181+
[5] ./b.js 72 bytes {2} {7} [built]
182+
chunk {8} vendors/c.js (c) 112 bytes ={4}= [entry] [rendered]
176183
> ./c c
177-
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
178-
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
179-
[6] ./c.js 72 bytes {3} {7} [built]
180-
chunk {8} vendors/vendors.js (vendors) 60 bytes ={7}= ={6}= ={5}= >{0}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
181-
> ./c c
182-
> ./b b
183-
> ./a a
184-
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
185-
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
186-
[4] ./node_modules/z.js 20 bytes {3} {8} [built]
184+
[0] ./d.js 20 bytes {1} {2} {3} {6} {7} {8} [built]
185+
[2] ./f.js 20 bytes {0} {2} {3} {7} {8} [built]
186+
[6] ./c.js 72 bytes {3} {8} [built]
187187
Child multiple-vendors:
188188
Entrypoint main = multiple-vendors/main.js
189189
Entrypoint a = multiple-vendors/libs-x.js multiple-vendors/a.js
@@ -255,67 +255,67 @@ Child all:
255255
Entrypoint a = all/vendors~a~async-a~async-b~async-c~b~c.js all/a~async-a~async-b~b.js all/a.js
256256
Entrypoint b = all/vendors~a~async-a~async-b~async-c~b~c.js all/a~async-a~async-b~b.js all/b.js
257257
Entrypoint c = all/vendors~a~async-a~async-b~async-c~b~c.js all/vendors~async-c~c.js all/c.js
258-
chunk {0} all/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{9}> ={8}= ={12}= ={2}= ={11}= ={10}= ={1}= ={3}= ={7}= ={6}= ={5}= >{1}< >{4}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
258+
chunk {0} all/vendors~a~async-a~async-b~async-c~b~c.js (vendors~a~async-a~async-b~async-c~b~c) 20 bytes <{9}> ={4}= ={12}= ={2}= ={11}= ={10}= ={1}= ={3}= ={8}= ={7}= ={6}= >{1}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~async-c~b~c)
259259
> ./c c
260260
> ./b b
261261
> ./a a
262262
> ./c [8] ./index.js 3:0-47
263263
> ./b [8] ./index.js 2:0-47
264264
> ./a [8] ./index.js 1:0-47
265265
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
266-
chunk {1} all/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{2}> <{10}> <{3}> <{5}> <{9}> ={4}= ={0}= ={8}= ={3}= ={7}= ={2}= ={6}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c)
266+
chunk {1} all/async-b~async-c~async-g~b~c.js (async-b~async-c~async-g~b~c) 20 bytes <{0}> <{2}> <{10}> <{3}> <{6}> <{9}> ={5}= ={0}= ={4}= ={3}= ={8}= ={2}= ={7}= [rendered] split chunk (cache group: default) (name: async-b~async-c~async-g~b~c)
267267
> ./g [] 6:0-47
268268
> ./g [] 6:0-47
269269
> ./c [8] ./index.js 3:0-47
270270
> ./b [8] ./index.js 2:0-47
271271
[2] ./f.js 20 bytes {1} {11} {12} [built]
272-
chunk {2} all/a~async-a~async-b~b.js (a~async-a~async-b~b) 20 bytes <{9}> ={0}= ={11}= ={10}= ={1}= ={6}= ={3}= ={5}= >{1}< >{4}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
272+
chunk {2} all/a~async-a~async-b~b.js (a~async-a~async-b~b) 20 bytes <{9}> ={0}= ={11}= ={10}= ={1}= ={7}= ={3}= ={6}= >{1}< >{5}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors~a~async-a~async-b~b)
273273
> ./b b
274274
> ./a a
275275
> ./b [8] ./index.js 2:0-47
276276
> ./a [8] ./index.js 1:0-47
277277
[3] ./node_modules/y.js 20 bytes {2} [built]
278-
chunk {3} all/a~async-a~async-b~async-c~b~c.js (a~async-a~async-b~async-c~b~c) 40 bytes <{9}> ={0}= ={8}= ={1}= ={7}= ={2}= ={5}= >{1}< >{4}< [rendered] split chunk (cache group: default) (name: a~async-a~async-b~async-c~b~c)
278+
chunk {3} all/a~async-a~async-b~async-c~b~c.js (a~async-a~async-b~async-c~b~c) 40 bytes <{9}> ={0}= ={4}= ={1}= ={8}= ={2}= ={6}= >{1}< >{5}< [rendered] split chunk (cache group: default) (name: a~async-a~async-b~async-c~b~c)
279279
> ./c [8] ./index.js 3:0-47
280280
> ./a [8] ./index.js 1:0-47
281-
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
281+
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
282282
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
283-
chunk {4} all/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{5}> ={1}= [rendered]
283+
chunk {4} all/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={12}= ={1}= ={3}= ={8}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
284+
> ./c c
285+
> ./c [8] ./index.js 3:0-47
286+
[7] ./node_modules/z.js 20 bytes {4} [built]
287+
chunk {5} all/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{6}> ={1}= [rendered]
284288
> ./g [] 6:0-47
285289
> ./g [] 6:0-47
286-
[9] ./g.js 34 bytes {4} [built]
287-
chunk {5} all/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{4}< [rendered]
290+
[9] ./g.js 34 bytes {5} [built]
291+
chunk {6} all/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{5}< [rendered]
288292
> ./a [8] ./index.js 1:0-47
289-
[6] ./a.js + 1 modules 156 bytes {5} {10} [built]
293+
[6] ./a.js + 1 modules 156 bytes {6} {10} [built]
290294
| ./a.js 121 bytes [built]
291295
| ./e.js 20 bytes [built]
292-
chunk {6} all/async-b.js (async-b) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
296+
chunk {7} all/async-b.js (async-b) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
293297
> ./b [8] ./index.js 2:0-47
294-
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
295-
[4] ./b.js 72 bytes {6} {11} [built]
296-
chunk {7} all/async-c.js (async-c) 72 bytes <{9}> ={0}= ={8}= ={1}= ={3}= [rendered]
297-
> ./c [8] ./index.js 3:0-47
298-
[5] ./c.js 72 bytes {7} {12} [built]
299-
chunk {8} all/vendors~async-c~c.js (vendors~async-c~c) 20 bytes <{9}> ={0}= ={12}= ={1}= ={3}= ={7}= [initial] [rendered] split chunk (cache group: vendors) (name: vendors~async-c~c)
300-
> ./c c
298+
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
299+
[4] ./b.js 72 bytes {7} {11} [built]
300+
chunk {8} all/async-c.js (async-c) 72 bytes <{9}> ={0}= ={4}= ={1}= ={3}= [rendered]
301301
> ./c [8] ./index.js 3:0-47
302-
[7] ./node_modules/z.js 20 bytes {8} [built]
303-
chunk {9} all/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{6}< >{3}< >{5}< >{8}< >{7}< [entry] [rendered]
302+
[5] ./c.js 72 bytes {8} {12} [built]
303+
chunk {9} all/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{7}< >{3}< >{6}< >{4}< >{8}< [entry] [rendered]
304304
> ./ main
305305
[8] ./index.js 147 bytes {9} [built]
306-
chunk {10} all/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{4}< [entry] [rendered]
306+
chunk {10} all/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{5}< [entry] [rendered]
307307
> ./a a
308-
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
309-
[6] ./a.js + 1 modules 156 bytes {5} {10} [built]
308+
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
309+
[6] ./a.js + 1 modules 156 bytes {6} {10} [built]
310310
| ./a.js 121 bytes [built]
311311
| ./e.js 20 bytes [built]
312312
chunk {11} all/b.js (b) 112 bytes ={0}= ={2}= [entry] [rendered]
313313
> ./b b
314-
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
314+
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
315315
[2] ./f.js 20 bytes {1} {11} {12} [built]
316-
[4] ./b.js 72 bytes {6} {11} [built]
317-
chunk {12} all/c.js (c) 112 bytes ={0}= ={8}= [entry] [rendered]
316+
[4] ./b.js 72 bytes {7} {11} [built]
317+
chunk {12} all/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
318318
> ./c c
319-
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
319+
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
320320
[2] ./f.js 20 bytes {1} {11} {12} [built]
321-
[5] ./c.js 72 bytes {7} {12} [built]
321+
[5] ./c.js 72 bytes {8} {12} [built]
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
Hash: d4d639483dab93af23e4
1+
Hash: 6032753dfe117b1c3893
22
Time: Xms
33
Asset Size Chunks Chunk Names
4-
ab.js 183 bytes 0 [emitted] ab
5-
abd.js 277 bytes 1, 0 [emitted] abd
6-
cir1.js 299 bytes 2 [emitted] cir1
4+
cir1.js 299 bytes 0 [emitted] cir1
5+
ab.js 183 bytes 1 [emitted] ab
6+
abd.js 277 bytes 2, 1 [emitted] abd
77
cir2.js 299 bytes 3 [emitted] cir2
88
main.js 7.8 KiB 4 [emitted] main
99
cir2 from cir1.js 359 bytes 5, 3 [emitted] cir2 from cir1
1010
chunk.js 190 bytes 6, 7 [emitted] chunk
1111
ac in ab.js 130 bytes 7 [emitted] ac in ab
1212
Entrypoint main = main.js
13-
chunk {0} ab.js (ab) 0 bytes <{4}> >{7}< [rendered]
14-
> [8] ./index.js 1:0-6:8
15-
[0] ./modules/a.js 0 bytes {0} {1} [built]
16-
[1] ./modules/b.js 0 bytes {0} {1} [built]
17-
chunk {1} abd.js (abd) 0 bytes <{4}> >{6}< [rendered]
18-
> [8] ./index.js 8:0-11:9
19-
[0] ./modules/a.js 0 bytes {0} {1} [built]
20-
[1] ./modules/b.js 0 bytes {0} {1} [built]
21-
[6] ./modules/d.js 0 bytes {1} {6} [built]
22-
chunk {2} cir1.js (cir1) 81 bytes <{4}> <{3}> <{5}> >{5}< [rendered]
13+
chunk {0} cir1.js (cir1) 81 bytes <{4}> <{3}> <{5}> >{5}< [rendered]
2314
> [8] ./index.js 13:0-54
2415
> [3] ./circular2.js 1:0-79
2516
> [3] ./circular2.js 1:0-79
26-
[2] ./circular1.js 81 bytes {2} [built]
27-
chunk {3} cir2.js (cir2) 81 bytes <{4}> >{2}< [rendered]
17+
[2] ./circular1.js 81 bytes {0} [built]
18+
chunk {1} ab.js (ab) 0 bytes <{4}> >{7}< [rendered]
19+
> [8] ./index.js 1:0-6:8
20+
[0] ./modules/a.js 0 bytes {1} {2} [built]
21+
[1] ./modules/b.js 0 bytes {1} {2} [built]
22+
chunk {2} abd.js (abd) 0 bytes <{4}> >{6}< [rendered]
23+
> [8] ./index.js 8:0-11:9
24+
[0] ./modules/a.js 0 bytes {1} {2} [built]
25+
[1] ./modules/b.js 0 bytes {1} {2} [built]
26+
[6] ./modules/d.js 0 bytes {2} {6} [built]
27+
chunk {3} cir2.js (cir2) 81 bytes <{4}> >{0}< [rendered]
2828
> [8] ./index.js 14:0-54
2929
[3] ./circular2.js 81 bytes {3} {5} [built]
3030
chunk {4} main.js (main) 523 bytes >{0}< >{1}< >{2}< >{3}< [entry] [rendered]
3131
> ./index main
3232
[4] ./modules/f.js 0 bytes {4} [built]
3333
[8] ./index.js 523 bytes {4} [built]
34-
chunk {5} cir2 from cir1.js (cir2 from cir1) 81 bytes <{2}> >{2}< [rendered]
34+
chunk {5} cir2 from cir1.js (cir2 from cir1) 81 bytes <{0}> >{0}< [rendered]
3535
> [2] ./circular1.js 1:0-79
3636
> [2] ./circular1.js 1:0-79
3737
[3] ./circular2.js 81 bytes {3} {5} [built]
3838
[7] ./modules/e.js 0 bytes {5} [built]
39-
chunk {6} chunk.js (chunk) 0 bytes <{1}> <{7}> [rendered]
39+
chunk {6} chunk.js (chunk) 0 bytes <{2}> <{7}> [rendered]
4040
> [8] ./index.js 3:2-4:13
4141
> [8] ./index.js 9:1-10:12
4242
[5] ./modules/c.js 0 bytes {6} {7} [built]
43-
[6] ./modules/d.js 0 bytes {1} {6} [built]
44-
chunk {7} ac in ab.js (ac in ab) 0 bytes <{0}> >{6}< [rendered]
43+
[6] ./modules/d.js 0 bytes {2} {6} [built]
44+
chunk {7} ac in ab.js (ac in ab) 0 bytes <{1}> >{6}< [rendered]
4545
> [8] ./index.js 2:1-5:15
4646
[5] ./modules/c.js 0 bytes {6} {7} [built]

test/statsCases/scope-hoisting-multi/expected.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
Hash: 5374f3d607ef77b77b87b191764cf9a5b21374f0
1+
Hash: f987d10439866c1320274e05ad6ebdcc88f97d91
22
Child
3-
Hash: 5374f3d607ef77b77b87
3+
Hash: f987d10439866c132027
44
Time: Xms
55
Entrypoint first = vendor.js first.js
66
Entrypoint second = vendor.js second.js
77
[0] ./common_lazy_shared.js 25 bytes {0} {1} {2} [built]
8-
[1] ./common2.js 25 bytes {3} {4} [built]
8+
[1] ./common2.js 25 bytes {4} {5} [built]
99
[2] ./common_lazy.js 25 bytes {1} {2} [built]
10-
[3] ./common.js 37 bytes {3} {4} [built]
10+
[3] ./common.js 37 bytes {4} {5} [built]
1111
[4] ./lazy_shared.js 31 bytes {0} [built]
12-
[5] ./vendor.js 25 bytes {5} [built]
12+
[5] ./vendor.js 25 bytes {3} [built]
1313
[6] ./lazy_first.js 55 bytes {2} [built]
1414
[7] ./lazy_second.js 55 bytes {1} [built]
15-
[8] ./first.js 207 bytes {3} [built]
16-
[9] ./module_first.js 31 bytes {3} [built]
17-
[10] ./second.js 177 bytes {4} [built]
15+
[8] ./first.js 207 bytes {4} [built]
16+
[9] ./module_first.js 31 bytes {4} [built]
17+
[10] ./second.js 177 bytes {5} [built]
1818
Child
19-
Hash: b191764cf9a5b21374f0
19+
Hash: 4e05ad6ebdcc88f97d91
2020
Time: Xms
2121
Entrypoint first = vendor.js first.js
2222
Entrypoint second = vendor.js second.js
2323
[0] ./common_lazy_shared.js 25 bytes {0} {1} {2} [built]
2424
[1] ./common_lazy.js 25 bytes {1} {2} [built]
25-
[2] ./common.js + 1 modules 62 bytes {3} {4} [built]
25+
[2] ./common.js + 1 modules 62 bytes {4} {5} [built]
2626
| ./common.js 37 bytes [built]
2727
| ./common2.js 25 bytes [built]
28-
[3] ./vendor.js 25 bytes {5} [built]
28+
[3] ./vendor.js 25 bytes {3} [built]
2929
[4] ./lazy_shared.js 31 bytes {0} [built]
3030
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./first.js (referenced with import()), ./second.js (referenced with import())
3131
[5] ./lazy_second.js 55 bytes {1} [built]
3232
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./second.js (referenced with import())
33-
[6] ./second.js 177 bytes {4} [built]
33+
[6] ./second.js 177 bytes {5} [built]
3434
ModuleConcatenation bailout: Module is an entry point
35-
[7] ./first.js + 1 modules 248 bytes {3} [built]
35+
[7] ./first.js + 1 modules 248 bytes {4} [built]
3636
ModuleConcatenation bailout: Cannot concat with ./common.js
3737
ModuleConcatenation bailout: Cannot concat with ./vendor.js
3838
| ./first.js 207 bytes [built]

0 commit comments

Comments
 (0)