plan/react-rewrite #1
@@ -0,0 +1,15 @@
|
||||
import { createModuleFederationConfig } from "@module-federation/modern-js";
|
||||
|
||||
export default createModuleFederationConfig({
|
||||
name: "aeroflot_flights",
|
||||
exposes: {
|
||||
"./OnlineBoard": "./src/mf/expose/OnlineBoard.tsx",
|
||||
"./Schedule": "./src/mf/expose/Schedule.tsx",
|
||||
"./FlightsMap": "./src/mf/expose/FlightsMap.tsx",
|
||||
"./PopularRequests": "./src/mf/expose/PopularRequests.tsx",
|
||||
},
|
||||
shared: {
|
||||
react: { singleton: true, requiredVersion: "^18.2.0" },
|
||||
"react-dom": { singleton: true, requiredVersion: "^18.2.0" },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user