File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff line change 1717 */
1818export 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' ,
You can’t perform that action at this time.
0 commit comments