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 am trying to use rspack-manifest-plugin as a replace for webpackmanifestplugin. Using rspack-manifest-plugin slows down our build from 5 seconds to 350 seconds. A whopping 70 times.
I will not be able to share a reproducible repo since the code is private. I can share some part of the rspack config file -
This is stopping us from moving from webpack to rspack. The manifest file generation is a must for us since we use that with our python backend to inject the right js bundle name into our html. The webpack build takes around ~37 seconds now. So rspack's build time of 5 seconds is a great win for us. But with the manifest file generation, it jumps to 350 seconds. And the incremental build times are also around 14-15 seconds. Let me know if i can help with any other information.
I tried to comment some parts of the code from the config file and find the bottleneck and i saw that this line in the config adds the most delay
Can you update your title first? It read very unprofessional. At first glance, I thought you were trying to blame this plugin for being slow.
On the other hand, if it's rspack-manifest-plugin that makes your workflow slow down, then why did you post it here? How do I make a fix in this repo to fix a problem on the other repo that you no longer use? Can you think about these questions yourself before posting?
I am trying to use
rspack-manifest-plugin
as a replace forwebpackmanifestplugin
. Usingrspack-manifest-plugin
slows down our build from 5 seconds to 350 seconds. A whopping 70 times.I will not be able to share a reproducible repo since the code is private. I can share some part of the rspack config file -
This is stopping us from moving from webpack to rspack. The manifest file generation is a must for us since we use that with our python backend to inject the right js bundle name into our html. The webpack build takes around ~37 seconds now. So rspack's build time of 5 seconds is a great win for us. But with the manifest file generation, it jumps to 350 seconds. And the incremental build times are also around 14-15 seconds. Let me know if i can help with any other information.
I tried to comment some parts of the code from the config file and find the bottleneck and i saw that this line in the config adds the most delay
The text was updated successfully, but these errors were encountered: