originjs/vite-plugin-federation

Default React Export Issue Post 1.3.1 Release

MauriceAyasse opened this issue Β· 3 comments

Versions

  • vite-plugin-federation: 1.3.1

Reproduction

  • Start the react-vite example:
pnpm build
cd packages/examples/react-vite/
pnpm build && pnpm serve
  • Go on localhost:5000
  • Empty page due to a React error
  • Go to console and realise the default export is not used for React:
grafik

What is Expected?

The page renders; no console error from React because of not having the default export available

What is actually happening?

The page renders when using shared libraries with React

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


#499

Works now after release 1.3.2 for me