Closed chenjiahan closed 9 months ago
@pmmmwh Hi, If you have the time, could you review and provide some feedback 😄
Hey, sorry that I couldn't give this a proper look previously - if the RSPack team is still interested in this I am willing to land this change in the next version 0.6.x
Background
Rspack is a fast Rust-based web bundler and it is compatible with the architecture and ecosystem of webpack.
The
react-refresh-webpack-plugin
can be used with Rspack, but users will get a peer dependency warning:Description
This PR adds
@rspack/core
as an optional peer dependency, and make webpack as an optional peer dependency too.Related issues