mirror of https://github.com/webpack/webpack.git
update test case to be more complex
This commit is contained in:
parent
7d2a4e5af5
commit
cc0d29a90e
|
@ -1,3 +1,3 @@
|
||||||
import "./d";
|
import "./x";
|
||||||
import "./e";
|
import "./y";
|
||||||
export default "a";
|
export default "a";
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
import "./d";
|
import "./x";
|
||||||
import "./e";
|
import "./y";
|
||||||
export default "b";
|
export default "b";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
import "./d";
|
import "./x";
|
||||||
export default "a";
|
export default "c";
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
// content content content content content content content content
|
import "./x";
|
||||||
|
export default "d";
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
// content content content content content content content content
|
import "./x";
|
||||||
|
export default "e";
|
||||||
|
|
|
@ -1,19 +1,35 @@
|
||||||
Entrypoint main = main.js
|
Entrypoint main = main.js
|
||||||
chunk {0} async-a~async-b.js (async-a~async-b) 134 bytes <{4}> ={1}= ={2}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
|
chunk {0} async-a~async-b.js (async-a~async-b) 134 bytes <{8}> ={1}= ={2}= [rendered] split chunk (cache group: default) (name: async-a~async-b)
|
||||||
> ./a [5] ./index.js 1:0-47
|
> ./a [9] ./index.js 1:0-47
|
||||||
> ./b [5] ./index.js 2:0-47
|
> ./b [9] ./index.js 2:0-47
|
||||||
[0] ./d.js 67 bytes {0} {3} [built]
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
[1] ./e.js 67 bytes {0} [built]
|
[1] ./y.js 67 bytes {0} [built]
|
||||||
chunk {1} async-a.js (async-a) 48 bytes <{4}> ={0}= [rendered]
|
chunk {1} async-a.js (async-a) 48 bytes <{8}> ={0}= [rendered]
|
||||||
> ./a [5] ./index.js 1:0-47
|
> ./a [9] ./index.js 1:0-47
|
||||||
[2] ./a.js 48 bytes {1} [built]
|
[2] ./a.js 48 bytes {1} [built]
|
||||||
chunk {2} async-b.js (async-b) 48 bytes <{4}> ={0}= [rendered]
|
chunk {2} async-b.js (async-b) 48 bytes <{8}> ={0}= [rendered]
|
||||||
> ./b [5] ./index.js 2:0-47
|
> ./b [9] ./index.js 2:0-47
|
||||||
[3] ./b.js 48 bytes {2} [built]
|
[3] ./b.js 48 bytes {2} [built]
|
||||||
chunk {3} async-c.js (async-c) 101 bytes <{4}> [rendered]
|
chunk {3} async-c.js (async-c) 101 bytes <{8}> [rendered]
|
||||||
> ./c [5] ./index.js 3:0-47
|
> ./c [9] ./index.js 3:0-47
|
||||||
[0] ./d.js 67 bytes {0} {3} [built]
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
[4] ./c.js 34 bytes {3} [built]
|
[4] ./c.js 34 bytes {3} [built]
|
||||||
chunk {4} main.js (main) 147 bytes >{0}< >{1}< >{2}< >{3}< [entry] [rendered]
|
chunk {4} async-d.js (async-d) 101 bytes <{8}> [rendered]
|
||||||
|
> ./d [9] ./index.js 4:0-47
|
||||||
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
|
[5] ./d.js 34 bytes {4} [built]
|
||||||
|
chunk {5} async-e.js (async-e) 101 bytes <{8}> [rendered]
|
||||||
|
> ./e [9] ./index.js 5:0-47
|
||||||
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
|
[6] ./e.js 34 bytes {5} [built]
|
||||||
|
chunk {6} async-f.js (async-f) 101 bytes <{8}> [rendered]
|
||||||
|
> ./f [9] ./index.js 6:0-47
|
||||||
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
|
[7] ./f.js 34 bytes {6} [built]
|
||||||
|
chunk {7} async-g.js (async-g) 101 bytes <{8}> [rendered]
|
||||||
|
> ./g [9] ./index.js 7:0-47
|
||||||
|
[0] ./x.js 67 bytes {0} {3} {4} {5} {6} {7} [built]
|
||||||
|
[8] ./g.js 34 bytes {7} [built]
|
||||||
|
chunk {8} main.js (main) 343 bytes >{0}< >{1}< >{2}< >{3}< >{4}< >{5}< >{6}< >{7}< [entry] [rendered]
|
||||||
> ./ main
|
> ./ main
|
||||||
[5] ./index.js 147 bytes {4} [built]
|
[9] ./index.js 343 bytes {8} [built]
|
|
@ -1 +1,2 @@
|
||||||
// content content content content content
|
import "./x";
|
||||||
|
export default "f";
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
import "./x";
|
||||||
|
export default "g";
|
|
@ -1,3 +1,7 @@
|
||||||
import(/* webpackChunkName: "async-a" */ "./a");
|
import(/* webpackChunkName: "async-a" */ "./a");
|
||||||
import(/* webpackChunkName: "async-b" */ "./b");
|
import(/* webpackChunkName: "async-b" */ "./b");
|
||||||
import(/* webpackChunkName: "async-c" */ "./c");
|
import(/* webpackChunkName: "async-c" */ "./c");
|
||||||
|
import(/* webpackChunkName: "async-d" */ "./d");
|
||||||
|
import(/* webpackChunkName: "async-e" */ "./e");
|
||||||
|
import(/* webpackChunkName: "async-f" */ "./f");
|
||||||
|
import(/* webpackChunkName: "async-g" */ "./g");
|
||||||
|
|
|
@ -18,6 +18,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
|
maxComplexity: 100,
|
||||||
minSize: 100
|
minSize: 100
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
// content content content content content content content content
|
|
@ -0,0 +1 @@
|
||||||
|
// content content content content content content content content
|
Loading…
Reference in New Issue