I am in the process of developing my first Electron application, and I have a few questions regarding deployment.
I am developing on MacOS and using electron-packager to package it for both MacOS and Windows.
There appear to be a large number of modules in the node_modules directory. I know they don’t take up so much space, but the number of files certainly slows down the packaging and zipping/unzipping process. How can I trim the unused modules?
There also appear to be a large number of locales which I don’t use. Ditto.