Skip to content

Commit 1010f96

Browse files
authored
chore(modern-js-plugin): use bundlerChain (#3526)
1 parent 3c8bd83 commit 1010f96

File tree

24 files changed

+2127
-1549
lines changed

24 files changed

+2127
-1549
lines changed

.changeset/poor-mails-shave.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@module-federation/rsbuild-plugin': patch
3+
'@module-federation/modern-js': patch
4+
'@module-federation/modernjsapp': patch
5+
---
6+
7+
chore(modern-js-plugin): use bundlerChain instead of tools.webpack or tools.rspack

.github/workflows/e2e-modern-ssr.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
lsof -ti tcp:3050,3051,3052,3053,3054,3055,3056 | xargs -r kill &&
4949
pnpm run app:modern:dev &
5050
sleep 30 &&
51-
npx wait-on http://127.0.0.1:3050/ &&
52-
npx wait-on http://127.0.0.1:3051/ &&
53-
npx wait-on http://127.0.0.1:3052/ &&
54-
npx wait-on http://127.0.0.1:3053/ &&
55-
npx wait-on http://127.0.0.1:3054/ &&
56-
npx wait-on http://127.0.0.1:3055/ &&
57-
npx wait-on http://127.0.0.1:3056/ &&
51+
npx wait-on http://127.0.0.1:3050/mf-manifest.json &&
52+
npx wait-on http://127.0.0.1:3051/mf-manifest.json &&
53+
npx wait-on http://127.0.0.1:3052/mf-manifest.json &&
54+
npx wait-on http://127.0.0.1:3053/mf-manifest.json &&
55+
npx wait-on http://127.0.0.1:3054/mf-manifest.json &&
56+
npx wait-on http://127.0.0.1:3055/mf-manifest.json &&
57+
npx wait-on http://127.0.0.1:3056/mf-manifest.json &&
5858
npx nx run modernjs-ssr-host:e2e &&
5959
lsof -ti tcp:3050,3051,3052,3053,3054,3055,3056 | xargs kill

apps/modernjs-ssr/dynamic-nested-remote/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/dynamic-remote-new-version/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/dynamic-remote/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/host/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/nested-remote/modern.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
},
1818
plugins: [
1919
appTools({
20-
bundler: 'experimental-rspack',
20+
bundler: 'rspack',
2121
}),
2222
moduleFederationPlugin(),
2323
],

apps/modernjs-ssr/nested-remote/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/remote-new-version/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

apps/modernjs-ssr/remote/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
],
2727
"dependencies": {
2828
"@babel/runtime": "7.26.0",
29-
"@modern-js/runtime": "2.64.0",
29+
"@modern-js/runtime": "2.65.1",
3030
"@module-federation/modern-js": "workspace:*",
3131
"antd": "4.24.15",
3232
"react": "~18.3.1",
3333
"react-dom": "~18.3.1"
3434
},
3535
"devDependencies": {
3636
"@modern-js-app/eslint-config": "2.59.0",
37-
"@modern-js/app-tools": "2.64.0",
37+
"@modern-js/app-tools": "2.65.1",
3838
"@modern-js/eslint-config": "2.59.0",
39-
"@modern-js/tsconfig": "2.64.0",
39+
"@modern-js/tsconfig": "2.65.1",
4040
"@types/jest": "~29.5.0",
4141
"@types/node": "~16.11.7",
4242
"@types/react": "~18.2.0",

0 commit comments

Comments
 (0)