Skip to content

Use bundled polyfill #4262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions advanced-api/automatic-vendor-sharing/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5",
"webpack": "5.92.1",
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@module-federation/enhanced": "0.2.5"
"@module-federation/enhanced": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "rspack serve -c rspack.config.js",
Expand All @@ -27,4 +27,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
12 changes: 6 additions & 6 deletions advanced-api/automatic-vendor-sharing/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5",
"webpack": "5.92.1",
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@module-federation/enhanced": "0.2.5"
"@module-federation/enhanced": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "rspack serve -c rspack.config.js",
Expand All @@ -27,4 +27,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"html-webpack-plugin": "5.6.0",
"copy-webpack-plugin": "12.0.2",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5",
"@module-federation/enhanced": "0.2.5",
"@module-federation/runtime": "0.2.5"
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@module-federation/runtime": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "chmod +x ./env.sh && cp env-config.json ./public/ && rspack serve",
Expand All @@ -33,4 +33,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5",
"@module-federation/enhanced": "0.2.5"
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3",
"@module-federation/enhanced": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "chmod +x ./env.sh && cp env-config.json ./public/ && rspack serve",
Expand All @@ -32,4 +32,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@module-federation/enhanced": "0.2.5"
"@module-federation/enhanced": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "webpack-cli serve",
Expand All @@ -23,4 +23,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"@module-federation/enhanced": "0.2.5"
"@module-federation/enhanced": "0.0.0-next-20240906012942"
},
"scripts": {
"start": "webpack-cli serve",
Expand All @@ -25,4 +25,4 @@
"react-redux": "^7.2.0",
"redux": "^4.2.1"
}
}
}
14 changes: 7 additions & 7 deletions advanced-api/dynamic-remotes/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.2.5",
"@module-federation/runtime": "0.2.5",
"@rspack/cli": "0.7.5",
"@rspack/core": "0.7.5",
"@rspack/dev-server": "0.7.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@module-federation/runtime": "0.0.0-next-20240906012942",
"@rspack/cli": "1.0.3",
"@rspack/core": "1.0.3",
"@rspack/dev-server": "1.0.3",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand All @@ -28,4 +28,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
12 changes: 6 additions & 6 deletions advanced-api/dynamic-remotes/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.2.5",
"@rspack/cli": "0.7.5",
"@rspack/core": "0.7.5",
"@rspack/dev-server": "0.7.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@rspack/cli": "1.0.3",
"@rspack/core": "1.0.3",
"@rspack/dev-server": "1.0.3",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand All @@ -28,4 +28,4 @@
"react": "^16.13.0",
"react-dom": "^16.13.0"
}
}
}
12 changes: 6 additions & 6 deletions advanced-api/dynamic-remotes/app3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.2.5",
"@rspack/cli": "0.7.5",
"@rspack/core": "0.7.5",
"@rspack/dev-server": "0.7.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@rspack/cli": "1.0.3",
"@rspack/core": "1.0.3",
"@rspack/dev-server": "1.0.3",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand All @@ -30,4 +30,4 @@
"react-redux": "^7.2.0",
"redux": "^4.2.1"
}
}
}
4 changes: 2 additions & 2 deletions angular-universal-ssr/client-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "5.5.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4"
}
}
}
4 changes: 2 additions & 2 deletions angular-universal-ssr/host-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "5.5.3",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4"
}
}
}
12 changes: 6 additions & 6 deletions apollo-client/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
"@babel/preset-env": "7.24.7",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@module-federation/node": "2.3.2",
"@module-federation/node": "0.0.0-next-20240906012942",
"@types/express": "4.17.21",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-helmet": "6.1.11",
"@types/serialize-javascript": "5.0.4",
"babel-loader": "9.1.3",
"rimraf": "5.0.8",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-merge": "6.0.1",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5"
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3"
}
}
}
12 changes: 6 additions & 6 deletions apollo-client/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
"@babel/preset-env": "7.24.7",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@module-federation/node": "2.3.2",
"@module-federation/node": "0.0.0-next-20240906012942",
"@types/express": "4.17.21",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-helmet": "6.1.11",
"@types/serialize-javascript": "5.0.4",
"babel-loader": "9.1.3",
"rimraf": "5.0.8",
"webpack": "5.92.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-merge": "6.0.1",
"@rspack/core": "0.7.5",
"@rspack/cli": "0.7.5",
"@rspack/dev-server": "0.7.5"
"@rspack/core": "1.0.3",
"@rspack/cli": "1.0.3",
"@rspack/dev-server": "1.0.3"
}
}
}
2 changes: 1 addition & 1 deletion basic-host-remote/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react-dom": "~18.3.0"
},
"devDependencies": {
"@module-federation/enhanced": "0.2.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@modern-js/app-tools": "2.54.6",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
Expand Down
2 changes: 1 addition & 1 deletion basic-host-remote/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react-dom": "~18.3.0"
},
"devDependencies": {
"@module-federation/enhanced": "0.2.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@modern-js/app-tools": "2.54.6",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
Expand Down
2 changes: 1 addition & 1 deletion bi-directional/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
"@modern-js-app/eslint-config": "2.54.6",
"@module-federation/enhanced": "0.2.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"@modern-js/builder-rspack-provider": "2.46.1",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
Expand Down
8 changes: 4 additions & 4 deletions bi-directional/app1/single-runtime-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export default function () {
return args;
}

hostsRemote.entry = hostsRemote.entry.replace(
'remoteEntry',
`${hostName}_partial`,
);
// hostsRemote.entry = hostsRemote.entry.replace(
// 'remoteEntry',
// `${hostName}_partial`,
// );

console.log('hostsRemote', hostsRemote);
}
Expand Down
2 changes: 1 addition & 1 deletion bi-directional/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@modern-js/tsconfig": "2.54.6",
"@modern-js-app/eslint-config": "2.54.6",
"@modern-js/builder-rspack-provider": "2.46.1",
"@module-federation/enhanced": "0.2.5",
"@module-federation/enhanced": "0.0.0-next-20240906012942",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
"husky": "9.0.11",
Expand Down
8 changes: 4 additions & 4 deletions bi-directional/app2/single-runtime-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export default function () {
return args;
}

hostsRemote.entry = hostsRemote.entry.replace(
'remoteEntry',
`${hostName}_partial`,
);
// hostsRemote.entry = hostsRemote.entry.replace(
// 'remoteEntry',
// `${hostName}_partial`,
// );

console.log('hostsRemote', hostsRemote);
}
Expand Down
Loading
Loading