Skip to content

Commit f1983fd

Browse files
committed
build: vercel project
1 parent 7ab8225 commit f1983fd

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

vercel.shell.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"version": 2,
4-
"build": {
5-
"env": {
6-
"MFE_PROJECTA_URL": "https://pro-react-admin-ss8k.vercel.app/remoteEntry.js",
7-
"MFE_PROJECTB_URL": "https://pro-react-admin-y9h4.vercel.app/remoteEntry.js"
8-
}
9-
},
104
"buildCommand": "npm run build:mf:shell",
115
"outputDirectory": "dist-shell",
126
"rewrites": [

webpack/mfe.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
*/
1818
export const remoteProjects = [
1919
{
20-
name: 'projectA',
20+
name: 'ss8k',
2121
devUrl: 'http://localhost:8081/remoteEntry.js',
2222
prodPath: '/projectA/remoteEntry.js',
2323
envKey: 'MFE_PROJECTA_URL', // 允许通过 process.env.MFE_PROJECTA_URL 覆盖
2424
},
2525
{
26-
name: 'projectB',
26+
name: 'y9h4',
2727
devUrl: 'http://localhost:8082/remoteEntry.js',
2828
prodPath: '/projectB/remoteEntry.js',
2929
envKey: 'MFE_PROJECTB_URL',

0 commit comments

Comments
 (0)