33exports [` preload-remote inBrowser > 1 preload with default config 1` ] = `
44{
55 " links" : [
6+ {
7+ " href" : " http://localhost:1111/resources/preload/preload-resource/button.sync.js" ,
8+ " rel" : " preload" ,
9+ " type" : " script" ,
10+ },
11+ {
12+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub1-button/button.sync.js" ,
13+ " rel" : " preload" ,
14+ " type" : " script" ,
15+ },
616 {
717 " href" : " http://localhost:1111/resources/preload/preload-resource/button.sync.css" ,
18+ " rel" : " preload" ,
819 " type" : " style" ,
920 },
1021 ],
@@ -17,14 +28,6 @@ exports[`preload-remote inBrowser > 1 preload with default config 1`] = `
1728 " crossorigin" : " " ,
1829 " src" : " http://localhost:1111/resources/preload/preload-resource/sub1-button/federation-remote-entry.js" ,
1930 },
20- {
21- " crossorigin" : " " ,
22- " src" : " http://localhost:1111/resources/preload/preload-resource/button.sync.js" ,
23- },
24- {
25- " crossorigin" : " " ,
26- " src" : " http://localhost:1111/resources/preload/preload-resource/sub1-button/button.sync.js" ,
27- },
2831 ],
2932}
3033` ;
@@ -33,78 +36,90 @@ exports[`preload-remote inBrowser > 2 preload with all config 1`] = `
3336{
3437 " links" : [
3538 {
36- " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.async.css" ,
37- " type" : " style" ,
39+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.async.js" ,
40+ " rel" : " preload" ,
41+ " type" : " script" ,
3842 },
3943 {
40- " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.sync.css" ,
41- " type" : " style" ,
44+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.sync.js" ,
45+ " rel" : " preload" ,
46+ " type" : " script" ,
4247 },
43- ],
44- " scripts" : [
4548 {
46- " crossorigin" : " " ,
47- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2/federation-remote-entry.js" ,
49+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/button.async.js" ,
50+ " rel" : " preload" ,
51+ " type" : " script" ,
4852 },
4953 {
50- " crossorigin" : " " ,
51- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/federation-remote-entry.js" ,
54+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/button.sync.js" ,
55+ " rel" : " preload" ,
56+ " type" : " script" ,
5257 },
5358 {
54- " crossorigin" : " " ,
55- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.async.js" ,
59+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2-add/add.async.js" ,
60+ " rel" : " preload" ,
61+ " type" : " script" ,
5662 },
5763 {
58- " crossorigin" : " " ,
59- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.sync.js" ,
64+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2-add/add.sync.js" ,
65+ " rel" : " preload" ,
66+ " type" : " script" ,
6067 },
6168 {
62- " crossorigin" : " " ,
63- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/button.async.js" ,
69+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.async.css" ,
70+ " rel" : " preload" ,
71+ " type" : " style" ,
6472 },
6573 {
66- " crossorigin" : " " ,
67- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/button.sync.js" ,
74+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub2/button.sync.css" ,
75+ " rel" : " preload" ,
76+ " type" : " style" ,
6877 },
78+ ],
79+ " scripts" : [
6980 {
7081 " crossorigin" : " " ,
71- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-add/add.async .js" ,
82+ " src" : " http://localhost:1111/resources/preload/preload-resource/sub2/federation-remote-entry .js" ,
7283 },
7384 {
7485 " crossorigin" : " " ,
75- " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-add/add.sync .js" ,
86+ " src" : " http://localhost:1111/resources/preload/preload-resource/sub2-button/federation-remote-entry .js" ,
7687 },
7788 ],
7889}
7990` ;
8091
8192exports [` preload-remote inBrowser > 3 preload with expose config 1` ] = `
8293{
83- " links" : [],
84- " scripts" : [
94+ " links" : [
8595 {
86- " crossorigin" : " " ,
87- " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/federation-remote-entry.js" ,
96+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub3/add.sync.js" ,
97+ " rel" : " preload" ,
98+ " type" : " script" ,
8899 },
100+ ],
101+ " scripts" : [
89102 {
90103 " crossorigin" : " " ,
91- " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/add.sync .js" ,
104+ " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/federation-remote-entry .js" ,
92105 },
93106 ],
94107}
95108` ;
96109
97110exports [` preload-remote inBrowser > 3 preload with expose config 2` ] = `
98111{
99- " links" : [],
100- " scripts" : [
112+ " links" : [
101113 {
102- " crossorigin" : " " ,
103- " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/federation-remote-entry.js" ,
114+ " href" : " http://localhost:1111/resources/preload/preload-resource/sub3/add.sync.js" ,
115+ " rel" : " preload" ,
116+ " type" : " script" ,
104117 },
118+ ],
119+ " scripts" : [
105120 {
106121 " crossorigin" : " " ,
107- " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/add.sync .js" ,
122+ " src" : " http://localhost:1111/resources/preload/preload-resource/sub3/federation-remote-entry .js" ,
108123 },
109124 ],
110125}
0 commit comments