rspack
                                
                                 rspack copied to clipboard
                                
                                    rspack copied to clipboard
                            
                            
                            
                        [Bug]: Strange HMR bug after removing `<style>` in Vue SFC
Version
System: Window
Browser: Edge
vue: 2/3
and others node js 18/20
Details
i just create a pure project with pnpm create rsbuild@latest.
And then run the project with pnpm run dev . it's ok and i dont edit anything.
when i delete <style></style element in App.vue. It will throw an error writting "Cannot read properties of undefined (reading 'call')". Then i stop the HMR and run the project again. It will be OK.
I think that it has some strange problem with HMR
Reproduce link
not link
Reproduce Steps
pnpm create rsbuild@latest
cd project
pnpm i
pnpm run dev
delete style element in App.vue