Closed chenjiahan closed 10 months ago
Rspack is a fast Rust-based web bundler and it is compatible with the architecture and ecosystem of webpack.
The html-webpack-plugin can be used with Rspack, but users will get a peer dependency warning:
html-webpack-plugin
WARN Issues with peer dependencies found . └─┬ html-webpack-plugin 5.5.3 └── ✕ missing peer webpack@^5.20.0
This PR adds @rspack/core as an optional peer dependency, and make webpack as an optional peer dependency too.
@rspack/core
Thanks!
Background
Rspack is a fast Rust-based web bundler and it is compatible with the architecture and ecosystem of webpack.
The
html-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