in reply to optimizing exe with cava packager
Based on the idea of removing modules from the overall package, I presume you're trying to optimize in terms of download size and/or hosting cost rather than speed.
A good compression algorithm should help a lot. Zip is ubiquitous but pretty weak.
Compressing plain text works better than compressing obfuscated or encrypted data. Check your build settings to see if you're making compression harder than it has to be.
If the volume of downloads is low, minimizing the size isn't so important. If the volume of downloads is high, consider making a torrent out of your package.