My life's work...
My life's work...
I'm working towards releasing my first Electron app now and this has been a concern for me.
The wild thing about electron, and my app specifically, is that it relies on a handful of native modules and at least one WASM “binary” - and let me tell you, if you think you understand how it works in both dev and prod, I don’t believe you… because it’s incredibly complex and confusing. Throw in cross platform code signing, notarization, start praying.
But for everything else there’s webpack “optimizations” via uglify or similar to mangle variables and function names. Feel free to email if you’re looking for specific configs or recommendations. I’m sure there’s room for improvement on what I’ve created. Good luck!