In the past I've managed to implement webpack module federation in a create-react-app in production and that worked quite well, but setup was a pain.
I'm currently working on a next.js app with a plugin system, and want to have the next prod build running while swapping module code out when the module is rebuilt in the monorepo, thus, running the next.js in prod while developing and rebuilding the plugin in the same monorepo workspace.
Any suggestions or ideas on how this could be done?