Open coder-czw opened 3 weeks ago
The part of establishing the connection between the client and the server of HMR is not in the webpack/rspack runtime. Usually, they are injected by the dev server. Therefore, different dev servers may have different implementations.
In the future, after rspack 1.0 is stable, we will consider implementing this in rspack-dev-server(internal is webpack-dev-server), but it is not certain whether rspack-dev-server is directly used in qiankun.js. If it is not directly used, the dev server of qiankun.js need to support it too.
What problem does this feature solve?
Scene
Problem
What does the proposed API of configuration look like?
I want my sub-apps hmr can access successfully, it will be better that I can use only 1 hmr websocket to update all sub-apps on the same page.