From d28ecef77ca1e540f340def69f855d49bf13b989 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Mon, 16 Mar 2026 12:56:22 +0300 Subject: [PATCH] feat: fill the expose section of the federation config --- vite.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index ab87319..a41c022 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,7 +13,12 @@ export default defineConfig({ name: "auth-react-remote", manifest: true, 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"], }), ],