-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wasm file size #10
Comments
Perhaps having specific wasm files per feature. I'm using pako because I'm able to require only the gzip portion of it, then my final bundle right now is about 30k after webpack. That's because the work I'm doing I need only to gzip content, I don't need to deflate, inflate or, gunzip; Having those features within the file would be a big penalty for an old android with a 3G connection across the globe to download it. |
@danielsan that is exactly my use case. Do you have a package for this? I don't think it's about the 30Kb / 150Kb but those do stack up eventually. I mean Angular can be around 70kb get the point here? |
That's exactly what I meant while using only the gzip feature from pako. I don't know yet how to export a .wasm file with only the gzip feature but that is my idea |
@danielsan oh ok got it. I thought you did the same for the wasm file. I think for wasm (without being an expert) it depends to towards what compatibility its targeted, not the code per say but I can also be total.y wrong. |
pako minification is quite amazing. I've used |
I am not an expert here but this lib size is about 158Kb (wasm file the browser downloads).
Is there any way this can be optimized? 158Kb can be quite a lot even now-a-days.
The text was updated successfully, but these errors were encountered: