I'm running a SvelteKit (Svelte 5) project and trying to expose a navigation bar to my other microservices. Builds for both the host and remote are completing successfully.
https://github.com/DavyK17/module-federation-svelte-5
cd remote (terminal 1) and cd host (terminal 2)npm installnpm run build && npm run preview to build and serve the remote first, then the hostremote at http://localhost:4173 and the host at http://localhost:4174remote app to display a header with the text "This is my remote header"host app to display a header with the text "This is my host header"The remote header is rendered correctly. The host header is not rendered and the following error is logged to the browser's console:
Uncaught (in promise) TypeError: Failed to resolve module specifier '${__federation_expose_./header}'
at y (remoteEntry.js:1:1092)
at ./header (remoteEntry.js:1:94)
at Module.v (remoteEntry.js:1:1182)
at 2.D2Y7IcEZ.js:1:1033
at async 2.D2Y7IcEZ.js:1:1269