mirror of https://github.com/webpack/webpack.git
Merge pull request #6364 from michael-ciniawsky/patch
fix(lib/Chunk): typo in `getNumberOfGroups` return value
This commit is contained in:
commit
d575b78199
|
|
@ -162,7 +162,7 @@ class Chunk {
|
|||
}
|
||||
|
||||
getNumberOfGroups() {
|
||||
return this._groups.siz;
|
||||
return this._groups.size;
|
||||
}
|
||||
|
||||
get groupsIterable() {
|
||||
|
|
|
|||
|
|
@ -59,26 +59,42 @@ describe("Chunk", () => {
|
|||
describe("removeModule", function() {
|
||||
let module;
|
||||
let removeChunkSpy;
|
||||
|
||||
beforeEach(function() {
|
||||
removeChunkSpy = sinon.spy();
|
||||
|
||||
module = {
|
||||
removeChunk: removeChunkSpy
|
||||
};
|
||||
});
|
||||
|
||||
describe("and the chunk does not contain this module", function() {
|
||||
it("returns false", function() {
|
||||
ChunkInstance.removeModule(module).should.eql(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("and the chunk does contain this module", function() {
|
||||
beforeEach(function() {
|
||||
ChunkInstance._modules = new Set([module]);
|
||||
});
|
||||
|
||||
it("calls module.removeChunk with itself and returns true", function() {
|
||||
ChunkInstance.removeModule(module).should.eql(true);
|
||||
|
||||
removeChunkSpy.callCount.should.eql(1);
|
||||
removeChunkSpy.args[0][0].should.eql(ChunkInstance);
|
||||
});
|
||||
});
|
||||
|
||||
describe("getNumberOfGroups", function() {
|
||||
beforeEach(function() {
|
||||
ChunkInstance._groups = new Set();
|
||||
});
|
||||
|
||||
it("should return the number of chunk groups contained by the chunk", function() {
|
||||
ChunkInstance.getNumberOfGroups().should.eql(0);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -131,59 +131,59 @@ Child vendors:
|
|||
Entrypoint a = vendors/vendors.js vendors/a.js
|
||||
Entrypoint b = vendors/vendors.js vendors/b.js
|
||||
Entrypoint c = vendors/vendors.js vendors/c.js
|
||||
chunk {0} vendors/async-g.js (async-g) 54 bytes <{1}> <{8}> <{5}> [rendered]
|
||||
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} {6} {7} [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 <{4}> >{0}< [rendered]
|
||||
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} {5} {6} {7} [built]
|
||||
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
|
||||
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
|
||||
[7] ./a.js + 1 modules 156 bytes {1} {5} [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 <{4}> [rendered]
|
||||
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} {5} {6} {7} [built]
|
||||
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
|
||||
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
|
||||
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
|
||||
[5] ./b.js 72 bytes {2} {6} [built]
|
||||
chunk {3} vendors/async-c.js (async-c) 152 bytes <{4}> [rendered]
|
||||
[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} {5} {6} {7} [built]
|
||||
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
|
||||
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
|
||||
[4] ./node_modules/z.js 20 bytes {3} {8} [built]
|
||||
[6] ./c.js 72 bytes {3} {7} [built]
|
||||
chunk {4} vendors/main.js (main) 147 bytes >{1}< >{2}< >{3}< [entry] [rendered]
|
||||
> ./ main
|
||||
[8] ./index.js 147 bytes {4} [built]
|
||||
chunk {5} vendors/a.js (a) 176 bytes ={8}= >{0}< [entry] [rendered]
|
||||
[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 ={8}= ={7}= ={6}= >{0}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
|
||||
> ./c c
|
||||
> ./b b
|
||||
> ./a a
|
||||
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
|
||||
[7] ./a.js + 1 modules 156 bytes {1} {5} [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]
|
||||
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]
|
||||
chunk {6} vendors/b.js (b) 112 bytes ={8}= [entry] [rendered]
|
||||
chunk {7} vendors/b.js (b) 112 bytes ={4}= [entry] [rendered]
|
||||
> ./b b
|
||||
[0] ./d.js 20 bytes {1} {2} {3} {5} {6} {7} [built]
|
||||
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
|
||||
[5] ./b.js 72 bytes {2} {6} [built]
|
||||
chunk {7} vendors/c.js (c) 112 bytes ={8}= [entry] [rendered]
|
||||
[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} {5} {6} {7} [built]
|
||||
[2] ./f.js 20 bytes {0} {2} {3} {6} {7} [built]
|
||||
[6] ./c.js 72 bytes {3} {7} [built]
|
||||
chunk {8} vendors/vendors.js (vendors) 60 bytes ={7}= ={6}= ={5}= >{0}< [initial] [rendered] split chunk (cache group: vendors) (name: vendors)
|
||||
> ./c c
|
||||
> ./b b
|
||||
> ./a a
|
||||
[1] ./node_modules/x.js 20 bytes {1} {2} {3} {8} [built]
|
||||
[3] ./node_modules/y.js 20 bytes {1} {2} {8} [built]
|
||||
[4] ./node_modules/z.js 20 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/a.js
|
||||
|
|
@ -255,7 +255,7 @@ Child all:
|
|||
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
|
||||
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
|
||||
Entrypoint c = all/vendors~a~async-a~async-b~async-c~b~c.js all/vendors~async-c~c.js all/c.js
|
||||
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)
|
||||
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)
|
||||
> ./c c
|
||||
> ./b b
|
||||
> ./a a
|
||||
|
|
@ -263,59 +263,59 @@ Child all:
|
|||
> ./b [8] ./index.js 2:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
|
||||
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)
|
||||
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)
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
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)
|
||||
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)
|
||||
> ./b b
|
||||
> ./a a
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[3] ./node_modules/y.js 20 bytes {2} [built]
|
||||
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)
|
||||
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)
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
|
||||
chunk {4} all/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{5}> ={1}= [rendered]
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
[9] ./g.js 34 bytes {4} [built]
|
||||
chunk {5} all/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{4}< [rendered]
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[6] ./a.js + 1 modules 156 bytes {5} {10} [built]
|
||||
| ./a.js 121 bytes [built]
|
||||
| ./e.js 20 bytes [built]
|
||||
chunk {6} all/async-b.js (async-b) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {6} {11} [built]
|
||||
chunk {7} all/async-c.js (async-c) 72 bytes <{9}> ={0}= ={8}= ={1}= ={3}= [rendered]
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[5] ./c.js 72 bytes {7} {12} [built]
|
||||
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)
|
||||
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)
|
||||
> ./c c
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[7] ./node_modules/z.js 20 bytes {8} [built]
|
||||
chunk {9} all/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{6}< >{3}< >{5}< >{8}< >{7}< [entry] [rendered]
|
||||
[7] ./node_modules/z.js 20 bytes {4} [built]
|
||||
chunk {5} all/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{6}> ={1}= [rendered]
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
[9] ./g.js 34 bytes {5} [built]
|
||||
chunk {6} all/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{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]
|
||||
chunk {7} all/async-b.js (async-b) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {7} {11} [built]
|
||||
chunk {8} all/async-c.js (async-c) 72 bytes <{9}> ={0}= ={4}= ={1}= ={3}= [rendered]
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[5] ./c.js 72 bytes {8} {12} [built]
|
||||
chunk {9} all/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{7}< >{3}< >{6}< >{4}< >{8}< [entry] [rendered]
|
||||
> ./ main
|
||||
[8] ./index.js 147 bytes {9} [built]
|
||||
chunk {10} all/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{4}< [entry] [rendered]
|
||||
chunk {10} all/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{5}< [entry] [rendered]
|
||||
> ./a a
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[6] ./a.js + 1 modules 156 bytes {5} {10} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[6] ./a.js + 1 modules 156 bytes {6} {10} [built]
|
||||
| ./a.js 121 bytes [built]
|
||||
| ./e.js 20 bytes [built]
|
||||
chunk {11} all/b.js (b) 112 bytes ={0}= ={2}= [entry] [rendered]
|
||||
> ./b b
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {6} {11} [built]
|
||||
chunk {12} all/c.js (c) 112 bytes ={0}= ={8}= [entry] [rendered]
|
||||
[4] ./b.js 72 bytes {7} {11} [built]
|
||||
chunk {12} all/c.js (c) 112 bytes ={0}= ={4}= [entry] [rendered]
|
||||
> ./c c
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
[5] ./c.js 72 bytes {7} {12} [built]
|
||||
[5] ./c.js 72 bytes {8} {12} [built]
|
||||
|
|
@ -1,46 +1,46 @@
|
|||
Hash: d4d639483dab93af23e4
|
||||
Hash: 6032753dfe117b1c3893
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
ab.js 183 bytes 0 [emitted] ab
|
||||
abd.js 277 bytes 1, 0 [emitted] abd
|
||||
cir1.js 299 bytes 2 [emitted] cir1
|
||||
cir1.js 299 bytes 0 [emitted] cir1
|
||||
ab.js 183 bytes 1 [emitted] ab
|
||||
abd.js 277 bytes 2, 1 [emitted] abd
|
||||
cir2.js 299 bytes 3 [emitted] cir2
|
||||
main.js 7.8 KiB 4 [emitted] main
|
||||
cir2 from cir1.js 359 bytes 5, 3 [emitted] cir2 from cir1
|
||||
chunk.js 190 bytes 6, 7 [emitted] chunk
|
||||
ac in ab.js 130 bytes 7 [emitted] ac in ab
|
||||
Entrypoint main = main.js
|
||||
chunk {0} ab.js (ab) 0 bytes <{4}> >{7}< [rendered]
|
||||
> [8] ./index.js 1:0-6:8
|
||||
[0] ./modules/a.js 0 bytes {0} {1} [built]
|
||||
[1] ./modules/b.js 0 bytes {0} {1} [built]
|
||||
chunk {1} abd.js (abd) 0 bytes <{4}> >{6}< [rendered]
|
||||
> [8] ./index.js 8:0-11:9
|
||||
[0] ./modules/a.js 0 bytes {0} {1} [built]
|
||||
[1] ./modules/b.js 0 bytes {0} {1} [built]
|
||||
[6] ./modules/d.js 0 bytes {1} {6} [built]
|
||||
chunk {2} cir1.js (cir1) 81 bytes <{4}> <{3}> <{5}> >{5}< [rendered]
|
||||
chunk {0} cir1.js (cir1) 81 bytes <{4}> <{3}> <{5}> >{5}< [rendered]
|
||||
> [8] ./index.js 13:0-54
|
||||
> [3] ./circular2.js 1:0-79
|
||||
> [3] ./circular2.js 1:0-79
|
||||
[2] ./circular1.js 81 bytes {2} [built]
|
||||
chunk {3} cir2.js (cir2) 81 bytes <{4}> >{2}< [rendered]
|
||||
[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]
|
||||
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]
|
||||
chunk {3} cir2.js (cir2) 81 bytes <{4}> >{0}< [rendered]
|
||||
> [8] ./index.js 14:0-54
|
||||
[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]
|
||||
chunk {5} cir2 from cir1.js (cir2 from cir1) 81 bytes <{2}> >{2}< [rendered]
|
||||
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]
|
||||
chunk {6} chunk.js (chunk) 0 bytes <{1}> <{7}> [rendered]
|
||||
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 {1} {6} [built]
|
||||
chunk {7} ac in ab.js (ac in ab) 0 bytes <{0}> >{6}< [rendered]
|
||||
[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]
|
||||
|
|
@ -1,38 +1,38 @@
|
|||
Hash: 5374f3d607ef77b77b87b191764cf9a5b21374f0
|
||||
Hash: f987d10439866c1320274e05ad6ebdcc88f97d91
|
||||
Child
|
||||
Hash: 5374f3d607ef77b77b87
|
||||
Hash: f987d10439866c132027
|
||||
Time: Xms
|
||||
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 {3} {4} [built]
|
||||
[1] ./common2.js 25 bytes {4} {5} [built]
|
||||
[2] ./common_lazy.js 25 bytes {1} {2} [built]
|
||||
[3] ./common.js 37 bytes {3} {4} [built]
|
||||
[3] ./common.js 37 bytes {4} {5} [built]
|
||||
[4] ./lazy_shared.js 31 bytes {0} [built]
|
||||
[5] ./vendor.js 25 bytes {5} [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 {3} [built]
|
||||
[9] ./module_first.js 31 bytes {3} [built]
|
||||
[10] ./second.js 177 bytes {4} [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: b191764cf9a5b21374f0
|
||||
Hash: 4e05ad6ebdcc88f97d91
|
||||
Time: Xms
|
||||
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 {3} {4} [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 {5} [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 {4} [built]
|
||||
[6] ./second.js 177 bytes {5} [built]
|
||||
ModuleConcatenation bailout: Module is an entry point
|
||||
[7] ./first.js + 1 modules 248 bytes {3} [built]
|
||||
[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]
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ Child all-chunks:
|
|||
Entrypoint a = default/vendors~a~async-a~async-b~async-c~b~c.js default/a~async-a~async-b~b.js default/a.js
|
||||
Entrypoint b = default/vendors~a~async-a~async-b~async-c~b~c.js default/a~async-a~async-b~b.js default/b.js
|
||||
Entrypoint c = default/vendors~a~async-a~async-b~async-c~b~c.js default/vendors~async-c~c.js default/c.js
|
||||
chunk {0} default/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)
|
||||
chunk {0} default/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)
|
||||
> ./c c
|
||||
> ./b b
|
||||
> ./a a
|
||||
|
|
@ -80,62 +80,62 @@ Child all-chunks:
|
|||
> ./b [8] ./index.js 2:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
|
||||
chunk {1} default/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)
|
||||
chunk {1} default/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)
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
chunk {2} default/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)
|
||||
chunk {2} default/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)
|
||||
> ./b b
|
||||
> ./a a
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[3] ./node_modules/y.js 20 bytes {2} [built]
|
||||
chunk {3} default/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)
|
||||
chunk {3} default/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)
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[1] ./node_modules/x.js 20 bytes {0} {3} [built]
|
||||
chunk {4} default/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{5}> ={1}= [rendered]
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
[9] ./g.js 34 bytes {4} [built]
|
||||
chunk {5} default/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{4}< [rendered]
|
||||
> ./a [8] ./index.js 1:0-47
|
||||
[6] ./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) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {6} {11} [built]
|
||||
chunk {7} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={8}= ={1}= ={3}= [rendered]
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[5] ./c.js 72 bytes {7} {12} [built]
|
||||
chunk {8} default/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)
|
||||
chunk {4} default/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)
|
||||
> ./c c
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[7] ./node_modules/z.js 20 bytes {8} [built]
|
||||
chunk {9} default/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{6}< >{3}< >{5}< >{8}< >{7}< [entry] [rendered]
|
||||
[7] ./node_modules/z.js 20 bytes {4} [built]
|
||||
chunk {5} default/async-g.js (async-g) 34 bytes <{0}> <{2}> <{10}> <{3}> <{6}> ={1}= [rendered]
|
||||
> ./g [] 6:0-47
|
||||
> ./g [] 6:0-47
|
||||
[9] ./g.js 34 bytes {5} [built]
|
||||
chunk {6} default/async-a.js (async-a) 156 bytes <{9}> ={0}= ={2}= ={3}= >{1}< >{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]
|
||||
chunk {7} default/async-b.js (async-b) 92 bytes <{9}> ={0}= ={2}= ={1}= [rendered]
|
||||
> ./b [8] ./index.js 2:0-47
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {7} {11} [built]
|
||||
chunk {8} default/async-c.js (async-c) 72 bytes <{9}> ={0}= ={4}= ={1}= ={3}= [rendered]
|
||||
> ./c [8] ./index.js 3:0-47
|
||||
[5] ./c.js 72 bytes {8} {12} [built]
|
||||
chunk {9} default/main.js (main) 147 bytes >{0}< >{2}< >{1}< >{7}< >{3}< >{6}< >{4}< >{8}< [entry] [rendered]
|
||||
> ./ main
|
||||
[8] ./index.js 147 bytes {9} [built]
|
||||
chunk {10} default/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{4}< [entry] [rendered]
|
||||
chunk {10} default/a.js (a) 176 bytes ={0}= ={2}= >{1}< >{5}< [entry] [rendered]
|
||||
> ./a a
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[6] ./a.js + 1 modules 156 bytes {5} {10} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [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}= ={2}= [entry] [rendered]
|
||||
> ./b b
|
||||
[0] ./d.js 20 bytes {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
[4] ./b.js 72 bytes {6} {11} [built]
|
||||
chunk {12} default/c.js (c) 112 bytes ={0}= ={8}= [entry] [rendered]
|
||||
[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 {3} {6} {10} {11} {12} [built]
|
||||
[0] ./d.js 20 bytes {3} {7} {10} {11} {12} [built]
|
||||
[2] ./f.js 20 bytes {1} {11} {12} [built]
|
||||
[5] ./c.js 72 bytes {7} {12} [built]
|
||||
[5] ./c.js 72 bytes {8} {12} [built]
|
||||
Child manual:
|
||||
Entrypoint main = default/main.js
|
||||
Entrypoint a = default/vendors.js default/a.js
|
||||
|
|
|
|||
Loading…
Reference in New Issue