You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to Vite, Rsbuild could have easy HMR handling through some specific option. Maybe this is better implemented at lower level like Rspack and it’s exposed as option in Rsbuild.
This could also solve HMR implementation details in Unplugin scenarios such as Vue plugin HMR.
What does the proposed API look like?
Take a look at handleHotUpdate API for Vite. There are a few simple concepts that I think can be implemented in Rsbuild.
The text was updated successfully, but these errors were encountered:
Rsbuild and Vite have different hot update processes, so it is difficult to support this feature within rsbuild (rspack).
The current research result is that HotModuleReplacementPlugin may need to provide some hooks to support modifying the hot-update module, thus affecting the final generation of hot-update chunk and json. However, this process has not been initially validated due to manpower issues.
What problem does this feature solve?
Similar to Vite, Rsbuild could have easy HMR handling through some specific option. Maybe this is better implemented at lower level like Rspack and it’s exposed as option in Rsbuild.
This could also solve HMR implementation details in Unplugin scenarios such as Vue plugin HMR.
What does the proposed API look like?
Take a look at
handleHotUpdate
API for Vite. There are a few simple concepts that I think can be implemented in Rsbuild.The text was updated successfully, but these errors were encountered: