[Question] Compatibility with Webpack APIs and migrating an old custom plugin #9123
Unanswered
ahmedelgabri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions