The possibilities of using zip archives have become available.
Now, when building the project, it will be offered to use the old version of the assembly, in which only the html file is created. Or a new version, where all the data used in the project will be placed in a zip archive. what is suitable for publishing the project on sites like itch.io, newgrounds, gamejolt or kongregate
The archive will contain the files that are used in the project, the rest of the files in the working folder will not be added. For build speed, the zip archive does not use data compression.
After a lot of experimentation, the JSZip library was used which proved to be the most effective.
![](https://uploads.gamedev.net/blogs/monthly_2021_01/47136ff88e3c4cbebfa56e3324ae9596.Screenshot-2021-01-28-at-19.01.05.png)