I just checked the app.asar, and it seems to literally have dependencies and source code just copied. No compilation, minification or tree shaking.
A proper build process, for example using Vite