Skip to content

[Feature]: Support handleHotUpdate hook similar to Vite #3182

@niksy

Description

@niksy

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions