Is it possible to hot reload / swap module code in a Next.js prod build
Unanswered
Chinese Alligator posted this in #help-forum
Chinese AlligatorOP
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?
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?
1 Reply
cant be done to my knowledge.