Large number of json files when building WebGL

Hi all!

I use Cocos Creator version 3.8.3.

When building WebGL, a huge number of json files are generated. For example, in the “web-mobile/assets/resources/import” folder I have 374 json files. Each image contains at least one json file.

It turns out that you will need to make 374 requests to json files and then another 374 requests to images. Due to the large number of requests, everything starts to take a long time to load. Now if there was just one json file and even the same 374 images, then everything would be much faster.

How can I reduce the number of json files? For example, combine them all into one.

One way is to combine everything that can be into atlases (at least I think so). Some things are already in atlases. And some things just can’t be put there because of the size of the pictures.

What do you recommend?