Is there a way to separate for example compose-icons-extended to a different wasm file and only load it when its needed? This would make the initial load of the main wasm file faster and the icons wasm file could be cached independently.
r
Rok Oblak
10/30/2024, 4:19 PM
Won't the unused icons be removed during the minification step? Asking because I'm wondering about that, because I am not sure if there are any references in the library preventing this.
p
Pau Marzo
10/30/2024, 4:41 PM
first news about wasm having minification and code deletion if unused tbh. even then, im using quite a few ones and i still got quite a large file.
r
Rok Oblak
10/30/2024, 4:48 PM
I am speaking out of my * here to be honest 🙂 I know there is some minification done when making release browser builds. But no idea if it does anything akin to proguard.