How to reduce WASM build size? #2643
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Will be nice have a way to remove not used libraries to make it small enought to web platforms: ![]() |
Beta Was this translation helpful? Give feedback.
-
@paulocoutinhox For 2 games I'm able to have the Wasm file near 5MB, and another 10MB.
Also I add The packed resources into .data file also count for the initial download size, unless you start the game without any images before downloading assets in the loading screen and from another source |
Beta Was this translation helpful? Give feedback.
try
axmol -p wasm -O3
to build without debug information