feat: fill the expose section of the federation config
This commit is contained in:
@@ -13,7 +13,12 @@ export default defineConfig({
|
|||||||
name: "auth-react-remote",
|
name: "auth-react-remote",
|
||||||
manifest: true,
|
manifest: true,
|
||||||
filename: "remoteEntry.js",
|
filename: "remoteEntry.js",
|
||||||
exposes: {},
|
exposes: {
|
||||||
|
"./AuthGuard": "./src/features/auth",
|
||||||
|
"./useAuth": "./src/features/auth",
|
||||||
|
"./RegisterForm": "./src/features/auth",
|
||||||
|
"./LoginForm": "./src/features/auth",
|
||||||
|
},
|
||||||
shared: ["react", "react-dom", "zustand"],
|
shared: ["react", "react-dom", "zustand"],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user