rspack icon indicating copy to clipboard operation
rspack copied to clipboard

splitChunks.{cacheGroup}.chunks to also support "function (chunk) | RegExp"

Open pushkargupta9807 opened this issue 1 year ago • 3 comments

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!

pushkargupta9807 avatar Jan 02 '24 22:01 pushkargupta9807

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!

stale[bot] avatar Mar 03 '24 00:03 stale[bot]

Bump ^

pushkargupta9807 avatar Mar 04 '24 18:03 pushkargupta9807

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!

stale[bot] avatar May 03 '24 20:05 stale[bot]

bump

pushkargupta9807 avatar Jun 06 '24 00:06 pushkargupta9807

Supported by https://github.com/web-infra-dev/rspack/pull/5019

LingyuCoder avatar Jul 19 '24 09:07 LingyuCoder