feat: fill the expose section of the federation config

This commit is contained in:
Ilia Mashkov
2026-03-16 12:56:22 +03:00
parent 85d296942b
commit d28ecef77c

View File

@@ -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"],
}), }),
], ],