Electron-builder: electron-updater size

Created on 7 Jun 2019  Â·  6Comments  Â·  Source: electron-userland/electron-builder

  • Version: electron-updater 4.0.6
  • Target: macOS

electron-updater increases the bundle size of our main process script by 22 times to half a megabyte. Pasting the screenshots produced by webpack bundle analyzer plugin:

Without electron-updater:
image

With electron-updater:
image

electron-builder is the most popular tool for packaging and publishing apps and I love it. It is so easy to work with. The auto-updating feature is so easy to set up. However, seeing that our app will load slower makes me think about the decision to use the electron-updater plugin.

Is there a way to minimize the bundle size by using different libraries to do the same? I am pasting a few resources to show where the size problems are.

https://bundlephobia.com/[email protected]

https://bundlephobia.com/scan-results?packages=@types/semver@6.0.0,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],lodash.[email protected],[email protected]

image

backlog electron-updater

Most helpful comment

Screenshot 2019-07-01 at 10 22 43

result for 4.1.0 — https://bundlephobia.com/[email protected]

2 less dependencies. Can be reduced further.

All 6 comments

Screenshot 2019-07-01 at 10 22 43

result for 4.1.0 — https://bundlephobia.com/[email protected]

2 less dependencies. Can be reduced further.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please don't close this issue as @develar said: "Can be reduced further.".

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please don't close this issue as @develar said: "Can be reduced further.".

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings