Skip to content

Commit d1ae14b

Browse files
fix(manifest-webpack-host): lazy-load optional modernjs provider to avoid dev React mismatch in e2e
1 parent cd13051 commit d1ae14b

10 files changed

+584
-3
lines changed

.ci-logs/host.pid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5669
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
2+
NX Running target build for project 3009-webpack-provider and 18 tasks it depends on:
3+
4+
5+
6+
> nx run sdk:build [local cache]
7+
8+
9+
> nx run error-codes:build [local cache]
10+
11+
12+
> nx run third-party-dts-extractor:build [local cache]
13+
14+
15+
> nx run managers:build [local cache]
16+
17+
18+
> nx run bridge-react-webpack-plugin:build [local cache]
19+
20+
21+
> nx run runtime-core:build [local cache]
22+
23+
24+
> nx run runtime:build [local cache]
25+
26+
27+
> nx run typescript:build [local cache]
28+
29+
30+
> nx run core:build [local cache]
31+
32+
33+
> nx run dts-plugin:build [local cache]
34+
35+
36+
> nx run webpack-bundler-runtime:build [local cache]
37+
38+
39+
> nx run data-prefetch:build [local cache]
40+
41+
42+
> nx run runtime-tools:build [local cache]
43+
44+
45+
> nx run manifest:build [local cache]
46+
47+
48+
> nx run cli:build [local cache]
49+
50+
51+
> nx run inject-external-runtime-core-plugin:build [local cache]
52+
53+
54+
> nx run rspack:build [local cache]
55+
56+
57+
> nx run enhanced:build [local cache]
58+
59+
60+
> nx run 3009-webpack-provider:build:development
61+
62+
[ Module Federation Manifest Plugin ] Manifest will use absolute path resolution via its host at runtime, reason: publicPath='auto'
63+
[ Module Federation DTS ] Federated types created correctly
64+
chunk (runtime: webpack_provider) __federation_expose_useCustomRemoteHook.js (__federation_expose_useCustomRemoteHook) 308 bytes (javascript) 42 bytes (consume-shared) [rendered]
65+
chunk (runtime: main, webpack_provider) 245.js 6.95 KiB [rendered]
66+
chunk (runtime: main, webpack_provider) 402.js 134 KiB (javascript) 42 bytes (consume-shared) [rendered]
67+
chunk (runtime: webpack_provider) __federation_expose_WebpackPng.js (__federation_expose_WebpackPng) 1.43 KiB (javascript) 13.6 KiB (asset) 42 bytes (consume-shared) [rendered]
68+
chunk (runtime: main) 432.js 2.58 KiB (javascript) 84 bytes (consume-shared) [rendered]
69+
chunk (runtime: main, webpack_provider) 643.js 619 bytes (javascript) 42 bytes (consume-shared) [rendered]
70+
chunk (runtime: webpack_provider) remoteEntry.js (webpack_provider) 49.6 KiB (javascript) 168 bytes (share-init) 12.4 KiB (runtime) [entry] [rendered]
71+
chunk (runtime: main, webpack_provider) 721.js 1.05 KiB (javascript) 42 bytes (consume-shared) [rendered]
72+
chunk (runtime: main) main.js (main) 49.6 KiB (javascript) 168 bytes (share-init) 12.2 KiB (runtime) [entry] [rendered]
73+
chunk (runtime: webpack_provider) __federation_expose_WebpackSvg.js (__federation_expose_WebpackSvg) 3.53 KiB (javascript) 42 bytes (consume-shared) [rendered]
74+
webpack compiled successfully (f3ef33cf81406122)
75+
76+
77+
78+
NX Successfully ran target build for project 3009-webpack-provider and 18 tasks it depends on
79+
80+
Nx read the output from the cache instead of running the command for 18 out of 19 tasks.
81+
82+
View logs and investigate cache misses at https://cloud.nx.app/runs/8l1plVVOpz
83+
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
NX Running target build for project 3010-rspack-provider and 16 tasks it depends on:
3+
4+
5+
6+
> nx run sdk:build [local cache]
7+
8+
9+
> nx run error-codes:build [local cache]
10+
11+
12+
> nx run third-party-dts-extractor:build [local cache]
13+
14+
15+
> nx run managers:build [local cache]
16+
17+
18+
> nx run bridge-react-webpack-plugin:build [local cache]
19+
20+
21+
> nx run runtime-core:build [local cache]
22+
23+
24+
> nx run runtime:build [local cache]
25+
26+
27+
> nx run dts-plugin:build [local cache]
28+
29+
30+
> nx run webpack-bundler-runtime:build [local cache]
31+
32+
33+
> nx run data-prefetch:build [local cache]
34+
35+
36+
> nx run runtime-tools:build [local cache]
37+
38+
39+
> nx run manifest:build [local cache]
40+
41+
42+
> nx run cli:build [local cache]
43+
44+
45+
> nx run inject-external-runtime-core-plugin:build [local cache]
46+
47+
48+
> nx run rspack:build [local cache]
49+
50+
51+
> nx run enhanced:build [local cache]
52+
53+
54+
> nx run 3010-rspack-provider:build:production
55+
56+
[ Module Federation DTS ] Federated types created correctly
57+
chunk (runtime: rspack_provider) __federation_expose_ButtonOldAnt.085a8f45f46b72ca.css, __federation_expose_ButtonOldAnt.085a8f45f46b72ca.js (__federation_expose_ButtonOldAnt) 84 bytes (consume-shared) 37 bytes (css) 362 KiB (javascript) [rendered]
58+
chunk (runtime: rspack_provider) remoteEntry.js (rspack_provider) 42 bytes (expose) 65.9 KiB (javascript) 13.4 KiB (runtime) 84 bytes (share-init) [entry] [rendered]
59+
chunk (runtime: main) 287.1f111686e9d54cd3.js 84 bytes (consume-shared) 246 KiB (javascript) [rendered]
60+
chunk (runtime: main, rspack_provider) 336.be38923304e2d565.js 6.95 KiB [rendered]
61+
chunk (runtime: main, rspack_provider) 446.98422f794dee719b.js 42 bytes (consume-shared) 134 KiB (javascript) [rendered]
62+
chunk (runtime: main, rspack_provider) 63.4be7cba092a67ae0.js 134 KiB [rendered]
63+
chunk (runtime: main) main.a183ea859d855b20.js (main) 65.8 KiB (javascript) 8.34 KiB (runtime) 84 bytes (share-init) [entry] [rendered]
64+
Rspack compiled successfully (e6bb297ae82c92b2)
65+
66+
67+
68+
NX Successfully ran target build for project 3010-rspack-provider and 16 tasks it depends on
69+
70+
Nx read the output from the cache instead of running the command for 16 out of 17 tasks.
71+
72+
View logs and investigate cache misses at https://cloud.nx.app/runs/VBOkk2BekB
73+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
NX Running target build for project 3011-rspack-manifest-provider and 16 tasks it depends on:
3+
4+
5+
6+
> nx run sdk:build [local cache]
7+
8+
9+
> nx run error-codes:build [local cache]
10+
11+
12+
> nx run third-party-dts-extractor:build [local cache]
13+
14+
15+
> nx run managers:build [local cache]
16+
17+
18+
> nx run bridge-react-webpack-plugin:build [local cache]
19+
20+
21+
> nx run runtime-core:build [local cache]
22+
23+
24+
> nx run runtime:build [local cache]
25+
26+
27+
> nx run dts-plugin:build [local cache]
28+
29+
30+
> nx run webpack-bundler-runtime:build [local cache]
31+
32+
33+
> nx run data-prefetch:build [local cache]
34+
35+
36+
> nx run runtime-tools:build [local cache]
37+
38+
39+
> nx run manifest:build [local cache]
40+
41+
42+
> nx run cli:build [local cache]
43+
44+
45+
> nx run inject-external-runtime-core-plugin:build [local cache]
46+
47+
48+
> nx run rspack:build [local cache]
49+
50+
51+
> nx run enhanced:build [local cache]
52+
53+
54+
> nx run 3011-rspack-manifest-provider:build:production
55+
56+
[ Module Federation DTS ] Federated types created correctly
57+
chunk (runtime: rspack_manifest_provider) remoteEntry.js (rspack_manifest_provider) 42 bytes (expose) 65.9 KiB (javascript) 9.33 KiB (runtime) 126 bytes (share-init) [entry] [rendered]
58+
chunk (runtime: main) 215.8d365fe95a07c907.js 126 bytes (consume-shared) 3.83 MiB (javascript) [rendered]
59+
chunk (runtime: main, rspack_manifest_provider) 336.f9f4c925bad7106f.js 6.95 KiB [rendered]
60+
chunk (runtime: main, rspack_manifest_provider) 63.410b4634859fb6ae.js 42 bytes (consume-shared) 134 KiB (javascript) [rendered]
61+
chunk (runtime: main) 715.ef819ae6b53c948e.js 619 bytes [rendered]
62+
chunk (runtime: main, rspack_manifest_provider) 828.128de2326d5f90cc.js 42 bytes (consume-shared) 619 bytes (javascript) [rendered]
63+
chunk (runtime: rspack_manifest_provider) __federation_expose_Component.b211f691d6f797ef.js (__federation_expose_Component) 84 bytes (consume-shared) 3.83 MiB (javascript) [rendered]
64+
chunk (runtime: main) main.15bf8c988c7a439a.js (main) 65.8 KiB (javascript) 9.04 KiB (runtime) 126 bytes (share-init) [entry] [rendered]
65+
chunk (runtime: main, rspack_manifest_provider) 926.c078719f5869161d.js 29 bytes [rendered]
66+
Rspack compiled successfully (66d5d022210e4bf9)
67+
68+
69+
70+
NX Successfully ran target build for project 3011-rspack-manifest-provider and 16 tasks it depends on
71+
72+
Nx read the output from the cache instead of running the command for 16 out of 17 tasks.
73+
74+
View logs and investigate cache misses at https://cloud.nx.app/runs/cRfEKJICst
75+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
NX Running target build for project 3012-rspack-js-entry-provider and 16 tasks it depends on:
3+
4+
5+
6+
> nx run sdk:build [local cache]
7+
8+
9+
> nx run error-codes:build [local cache]
10+
11+
12+
> nx run third-party-dts-extractor:build [local cache]
13+
14+
15+
> nx run managers:build [local cache]
16+
17+
18+
> nx run bridge-react-webpack-plugin:build [local cache]
19+
20+
21+
> nx run runtime-core:build [local cache]
22+
23+
24+
> nx run runtime:build [local cache]
25+
26+
27+
> nx run dts-plugin:build [local cache]
28+
29+
30+
> nx run webpack-bundler-runtime:build [local cache]
31+
32+
33+
> nx run data-prefetch:build [local cache]
34+
35+
36+
> nx run runtime-tools:build [local cache]
37+
38+
39+
> nx run manifest:build [local cache]
40+
41+
42+
> nx run cli:build [local cache]
43+
44+
45+
> nx run inject-external-runtime-core-plugin:build [local cache]
46+
47+
48+
> nx run rspack:build [local cache]
49+
50+
51+
> nx run enhanced:build [local cache]
52+
53+
54+
> nx run 3012-rspack-js-entry-provider:build:production
55+
56+
[ Module Federation DTS ] Federated types created correctly
57+
chunk (runtime: main, rspack_js_entry_provider) 336.16cdd91ca11b82f5.js 6.95 KiB [rendered]
58+
chunk (runtime: rspack_js_entry_provider) 473.0bef347b982c931b.js 84 bytes (consume-shared) 3.83 MiB (javascript) [rendered]
59+
chunk (runtime: rspack_js_entry_provider) remoteEntry.js (rspack_js_entry_provider) 42 bytes (expose) 65.9 KiB (javascript) 9.23 KiB (runtime) 126 bytes (share-init) [entry] [rendered]
60+
chunk (runtime: main, rspack_js_entry_provider) 63.42e5e4202a428cf2.js 42 bytes (consume-shared) 134 KiB (javascript) [rendered]
61+
chunk (runtime: main) 68.ac2f0ffab85ef16b.js 126 bytes (consume-shared) 3.83 MiB (javascript) [rendered]
62+
chunk (runtime: main) 715.9472c0343f52679a.js 619 bytes [rendered]
63+
chunk (runtime: main, rspack_js_entry_provider) 828.c18a17eef1beb85b.js 42 bytes (consume-shared) 619 bytes (javascript) [rendered]
64+
chunk (runtime: main) main.281b576c166eb9a7.js (main) 65.8 KiB (javascript) 9.03 KiB (runtime) 126 bytes (share-init) [entry] [rendered]
65+
chunk (runtime: main, rspack_js_entry_provider) 926.4a67d2d541f0649d.js 29 bytes [rendered]
66+
Rspack compiled successfully (d6cb8daa3a9dfbda)
67+
68+
69+
70+
NX Successfully ran target build for project 3012-rspack-js-entry-provider and 16 tasks it depends on
71+
72+
Nx read the output from the cache instead of running the command for 16 out of 17 tasks.
73+
74+
View logs and investigate cache misses at https://cloud.nx.app/runs/basyC7HVdl
75+
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
NX Running target build for project manifest-webpack-host and 17 tasks it depends on:
3+
4+
5+
6+
> nx run sdk:build [local cache]
7+
8+
9+
> nx run error-codes:build [local cache]
10+
11+
12+
> nx run third-party-dts-extractor:build [local cache]
13+
14+
15+
> nx run managers:build [local cache]
16+
17+
18+
> nx run bridge-react-webpack-plugin:build [local cache]
19+
20+
21+
> nx run runtime-core:build [local cache]
22+
23+
24+
> nx run runtime:build [local cache]
25+
26+
27+
> nx run typescript:build [local cache]
28+
29+
30+
> nx run dts-plugin:build [local cache]
31+
32+
33+
> nx run webpack-bundler-runtime:build [local cache]
34+
35+
36+
> nx run data-prefetch:build [local cache]
37+
38+
39+
> nx run runtime-tools:build [local cache]
40+
41+
42+
> nx run manifest:build [local cache]
43+
44+
45+
> nx run cli:build [local cache]
46+
47+
48+
> nx run inject-external-runtime-core-plugin:build [local cache]
49+
50+
51+
> nx run rspack:build [local cache]
52+
53+
54+
> nx run enhanced:build [local cache]
55+
56+
57+
> nx run manifest-webpack-host:build:development
58+
59+
Entrypoint main [big] 1.08 MiB (14.2 KiB) = runtime.js 360 KiB main.css 43 bytes main.js 747 KiB 2 auxiliary assets
60+
chunk (runtime: runtime) main.css, main.js (main) 670 KiB (javascript) 13.6 KiB (asset) 84 bytes (consume-shared) 42 bytes (css/mini-extract) 306 bytes (share-init) 12 bytes (remote) [initial] [rendered]
61+
chunk (runtime: runtime) node_modules_pnpm_react-dom_18_3_1_react_18_3_1_node_modules_react-dom_index_js.js 134 KiB [rendered]
62+
chunk (runtime: runtime) node_modules_pnpm_react_18_3_1_node_modules_react_index_js.js 6.95 KiB [rendered]
63+
chunk (runtime: runtime) runtime.js (runtime) 324 KiB (javascript) 20.1 KiB (runtime) [entry] [rendered]
64+
chunk (runtime: runtime) src_Preload_tsx.js 4.31 KiB [rendered]
65+
chunk (runtime: runtime) 6 bytes (remote) 6 bytes (share-init)
66+
chunk (runtime: runtime) 6 bytes (remote) 6 bytes (share-init)
67+
chunk (runtime: runtime) 6 bytes (remote) 6 bytes (share-init)
68+
chunk (runtime: runtime) 6 bytes (remote) 6 bytes (share-init)
69+
WARNING in ./src/components/ButtonOldAnt.tsx 8:36-43
70+
Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)
71+
webpack compiled with 1 warning (3176861726ed541f)
72+
73+
74+
75+
NX Successfully ran target build for project manifest-webpack-host and 17 tasks it depends on
76+
77+
Nx read the output from the cache instead of running the command for 17 out of 18 tasks.
78+
79+
View logs and investigate cache misses at https://cloud.nx.app/runs/d3Godgzw6r
80+

0 commit comments

Comments
 (0)