esbuild
esbuild copied to clipboard
How to control the number of chunks
When I use the spliting attribute to pack, there are a lot of chunks, most of which are very small in size. I would like to ask how to control the number of chunks.

There is currently no way to do this, sorry.
Dupe of https://github.com/evanw/esbuild/issues/1128
There is currently no way to do this, sorry.
Any plans to support this in the future? This can result in too many requests affecting load performance
Yes, I do have plans to support this in the future.