How can i reduce the size of final project to deploy


#1

Hi ,

i’m working on an app with electron , i tray to deploy the hello world electron app and the size was 117 Mo !!!

Any idea how to reduce the size of the app .

Thanks


Clean unnecessary modules
#2

Have you followed the instructions in the Application Packaging documentation?

http://electron.atom.io/docs/latest/tutorial/application-packaging/#application-packaging


#3

You can try npm prune --production but even the most minimal Electron application is going to be around 100MB.


#4

It is normal that à Hello world application have 100 MB ???


#5

i use electron packager


#6

When the Hello World application is built on top of Chromium and Node.js, yes.