-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packaging / making with electron forge increase package size #655
Comments
Can you try using Electron Forge v6 instead? |
Sure, I have installed v6 globally: My app was packaged but it seems that all my configuration was ignored (no asar, app icon, win32metadata), and it did not make executable. Did the API have been changed? |
Yes. I'm working on a simple v5 to v6 config importer: #653 |
Sorry, I didn't see that in the documentation. I executed |
It would help if we had access to a minimal testcase that also had this behavior, maybe starting with Also, what do you mean by "executable size"? The size of the renamed |
Yes.
Would you like that I will clone electron-quick-start add the same configuration and report back the results? |
Yes? Please explain further.
Yes, please. |
Sorry, my bad,
No problem |
Package size: 120MB. |
Are those numbers with Electron Packager + electron-winstaller, or as an imported Forge v6 project? |
As an imported Forge v6 project |
As far as I can tell from making a With regards to Electron Forge v5, So, without a minimal testcase that shows a 200MB+ increase in size when using Forge, I can't do much about it except speculate. I'm going to close this issue for now, but if you can provide said reproducible testcase, I can take a look at it and then we can decide whether to reopen. |
…ing & downloading versions (#655) * refactor: removeBinary() takes a RunnableVersion param * refactor: removeVersion() takes a RunnableVersion * refactor: downloadVersion() takes a RunnableVersion
I have migrated to electron-forge this week after using electron-packager & electron-winstaller for quite a long time. I have use
electron-forge import
and set all the packaging / installer settings as they was before the change. after that I have packages and created an installer of my application, the package size increased from394MB to 588MB
and the executable size increased from120MB to 175MB
.Is it possible that the node_modules size increased that much? or is it an internal bug?
windows 10
node v8.11.1
electron-forge v5.2.3
What command line arguments am I passing?
What are the
dependencies
changes inpackage.json
look like?What does my
config.forge
data inpackage.json
look like?The text was updated successfully, but these errors were encountered: