rspack
rspack copied to clipboard
splitChunks.{cacheGroup}.chunks to also support "function (chunk) | RegExp"
Add the function type or regexp for splitChunks.{cacheGroup}. chunks.
Just like below in webpack https://webpack.js.org/plugins/split-chunks-plugin/#splitchunkschunks
This sure improves the perf in our case, because there are tons of 'async' chunks in our use-case and we do not want to go through each of the chunk.
This is related to the previously completed request by @bvanjoi : https://github.com/web-infra-dev/rspack/issues/4376
Thanks!
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Bump ^
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
bump
Supported by https://github.com/web-infra-dev/rspack/pull/5019