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
I'm using this loader with both Webpack and Rspack, and it is working nicely.
However, when using it with Rspack, it requires installing Webpack, which I would like to avoid.
Would you be open to a PR that allows the use of Rspack or Webpack independently?
My idea is that when using a hook, when we get an instance of compiler, there is a compiler.webpack property (also in Rspack) with a full webpack export inside, which can avoid importing the webpack package itself.
I'd be happy to look at a PR. I'm not sure if this is something we'd want to explicitly support or not. If it requires very little change to the package then maybe.
Activity
johnnyreilly commentedon May 19, 2026
I'd be happy to look at a PR. I'm not sure if this is something we'd want to explicitly support or not. If it requires very little change to the package then maybe.