You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
We should make an effort to optimize our application size.
To complete this task please do the following:
Investigate what files take up what size, and if any can be removed
Remove unnecessary files
Consider how we could further decrease the bundle size, eg. by taking out non-critical files etc. (Submit an issue with your findings, and we will consider what we can do)
Note:
We currently build with --no-tree-shake-icons for both iOS and Android!
Activity
wizlif commentedon Apr 10, 2023
Addding
--obfuscate --split-debug-info=build-info/reduces by about 2MBwizlif commentedon Apr 10, 2023
Any reason why we are not tree shaking icons
We can actually extract only the icons we need from both.
Xazin commentedon Apr 10, 2023
You can play around with it, but the reason is quite simple.
How will you know which icons the backend will want to display on a Commitment? You can't, therefore them all.
Xazin commentedon Apr 10, 2023
Some comments here that I noticed:
Also noticed
mocktailshould be moved todev_dependencies, not sure why it's not there already.We might also be able to take out
rxdart, our usage is quite limited, and we could definitely do without it.I guess, all of this along with at least
--obfuscateshould be enough.