Apparently, electron.* is actually a getter, so whenever a component of electron is referenced for the first time, it's require()'d. So, there are theoretical performance benefits to not declaring all electron.* upfront. Instead of: var autoUpdater = electron.autoUpdater Just use electron.autoUpdater directly when needed.
35 KiB
35 KiB