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
Reducing size of build #133
Comments
also is electron really 100MB? seems big. |
can try this trick: electron/electron#2003 (comment) |
from @gregor 😀
|
OK I made it so the dist of id isn't copied, it didn't save that much space though as far as I can tell. |
I took out modules to attempt to see which one(s) were the culprit..
|
I was looking into this with mapfilter-desktop. Electron itself is about 33Mb (compressed in the installer). The rest comes from the I reviewed the Although I have not seen examples of it as common practice, I think we should look at bundling the JS as part of the build process, and not including node_modules at all. I think this would also increase app startup time because all those I can't see any reason why our bundled code would be much more than a few Mb, so we should be able to get the whole install package down to around 50Mb. |
Build is significantly smaller now. Yay. |
yay!
|
After the merge of branch that updates to iD 2 it seems like it's 50mb larger. Why?
The text was updated successfully, but these errors were encountered: