-
-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove webpack
from peerDependencies
#1567
Comments
webpack
as peerDependencies
webpack
from peerDependencies
We can't remove |
Does rspack support all loaders & plugins? We'll need to update it in them too. |
Hm, I guess that doesn't really help. Now not only Webpack but also Rspack is required, so all Webpack users will also get this installation warning. AFAIK there is no way to have conditional
Not sure which ones are compatible, but "Rspack loader is designed to reuse the webpack loader, it is compatible with most of the webpack loader API, the rest of the API is still being implemented, so most of the webpack loader can already run in Rspack." |
@feedm3 Please read how |
Oh sorry, I totally overlooked that one! You are right, this looks like a solution :) |
@feedm3 Feel free to send a PR |
@alexander-akait: There is now a PR for |
Modification Proposal
We are using
css-loader
withrsbuild
. This means, we don't use webpack directly anymore / don't have it installed.css-loader
still works fine with the setup, but when doing ayarn install
, yarn complains about not havingwebpack
listed in our dependencies.As
css-loader
doesn't usewebpack
directly, I think it's ok to just remove it from thepeerDependencies
array.Expected Behavior / Situation
The loader will behave the same, but in the context of
rsbuild
won't add a warning in the install logs.Actual Behavior / Situation
A warning in the install logs:
The text was updated successfully, but these errors were encountered: