size-limit
size-limit copied to clipboard
Adding a way to track the number of chunks created and keeping a threshold for the same
Number of chunks created also can be a potential performance deterrent. Ideally we don't want too many chunks as well as too less chunks. The number of chunks that a build should create is totally dependent on use-case.
size-limit should provide a functionality to track and keep a bound (lower and upper) on the total number of chunks which are created.
You can write an additional plugin for that.
There is a PR skating third party plugins.