rspack
                                
                                 rspack copied to clipboard
                                
                                    rspack copied to clipboard
                            
                            
                            
                        [Feature]: Use 1 HMR websocket connection for mutilple micro-frontend apps in same page
What problem does this feature solve?
Scene
- I have a single page: https://www.abc.com/
- Use rspack run 3 micron-frontend in local:
- main-app in port 8001
- a1-app in port 8002
- a2-app in port 8003
- Use qiankun.js to load a1-app and a2-app from main-app
- Use whistle to proxy https://www.abc.com/ page resource to local
- I wrote the proxy on main-app dev-server for a1-app and a2-app ports
Problem
- The hmr websocket connections build failed.
- Too much websocket connections
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.