size-limit icon indicating copy to clipboard operation
size-limit copied to clipboard

Adding a way to track the number of chunks created and keeping a threshold for the same

Open MadaraUchiha-314 opened this issue 2 years ago • 1 comments

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.

MadaraUchiha-314 avatar Jul 25 '22 04:07 MadaraUchiha-314

You can write an additional plugin for that.

There is a PR skating third party plugins.

ai avatar Jul 25 '22 06:07 ai