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 working on migrating a large and old application from Webpack to Rspack, and we currently have a blocker with one of our custom plugins. So wanted to check what our alternatives are.
The plugin in a nutshell only allows some paths to be imported inside some specific entry files, anywhere in these files graph.
There are probably more issues, but right we can't even run the plugin. So I was wondering what are our options here?
The text was updated successfully, but these errors were encountered:
ahmedelgabri
changed the title
[Question] Compatibility with Webpack APIs?
[Question] Compatibility with Webpack APIs and migrating an old custom plugin
Jan 17, 2025
I'm working on migrating a large and old application from Webpack to Rspack, and we currently have a blocker with one of our custom plugins. So wanted to check what our alternatives are.
The plugin in a nutshell only allows some paths to be imported inside some specific entry files, anywhere in these files graph.
First problem:
compilation.asyncEntrypoints
is not supported https://rspack.dev/api/javascript-api/compilationSecond problem:
instanceof
checks forNormalModule
,ConcatenatedModule
andWorkerDependency
I noticed that there is
NormalModule
Class but nothing for the rest.There are probably more issues, but right we can't even run the plugin. So I was wondering what are our options here?
The text was updated successfully, but these errors were encountered: