You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that have migrated from CRA and craco-module-federation to Vite and vite-plugin-federation.
Before migration - when I runned craco-module-federation - I didn't need to build the remote to be able to see the effected changes I did during development in my host-application.
Now I need to build and serve the remote to be able to see the changes in the host. The effect of this is when troubleshooting the code, you just have the build and the chunks to rely on.
Is there a way to not serve the build in development and instead serve not compiled code to the host application?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I have a project that have migrated from CRA and craco-module-federation to Vite and vite-plugin-federation.
Before migration - when I runned craco-module-federation - I didn't need to build the remote to be able to see the effected changes I did during development in my host-application.
Now I need to build and serve the remote to be able to see the changes in the host. The effect of this is when troubleshooting the code, you just have the build and the chunks to rely on.
Is there a way to not serve the build in development and instead serve not compiled code to the host application?
Beta Was this translation helpful? Give feedback.
All reactions