unable to understand what this build issue is #3608
Replies: 2 comments 1 reply
-
Anything related to vite should go to module-federation/vite repo - core team does not maintain this integration |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ScriptedAlchemy But there is no discussions tab in |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently learning and integrating microfrontend architecture using mod-fed. My remote is a next 14 (react 18) app. My host is an react 18 app. It works absolutely great during dev phase (via

vite dev
). But when I run the build (vite build
) and serve it (vite preview
), it throws this error, as shown in the below screenshot.Both remote and host use the same version of mod-fed and both share react,react-dom and axios libs.
Inspecting the build code,
factory
(as pointed in the screenshot by red squigly lines) is a boolean and invoking it causing the error. But I'm not sure why though. I would like to inspect further but I'm not sure where or which rabbit hole should I dive into.I'm happy to share any additional information (as long as it doesn't involve sharing business logic) and I would love to understand why this issue exists only on deployed app and not during development.
Beta Was this translation helpful? Give feedback.
All reactions