You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
And in total the node.js dependencies in node_modules are ~200MB. Crazy.
The build process calls npm install --prodution to exclude all dev dependencies, but obviously that still pulls in a lot of unnecessary files.
We should reduce the disk footprint as much as possible.
Two options as of today:
Fix and minimize dependencies (eg. typeascript should not be a production dependency, pulled in by webcrypto-core)
Ship Orbit Electron version only with a bundled, minified distribution build, ie. the browser version (which can detect by itself whether it's running in Electron or browser)
Would love to hear about other options, strategies and tools we can use to get rid of megabytes of extra and slimming the Orbit Electron build as much as possible.
The text was updated successfully, but these errors were encountered:
Currently the electron build is ~300MB! :O
There's various reasons for that, but looking at some of the biggest disk space consumers:
libp2p-* ~40MB
wrtc 11MB
typescript 21MB
ipld-resolver 5MB
ipfs-daemon 8MB
core-js 6.6MB
ipfs-api 5.8MB
And in total the node.js dependencies in node_modules are ~200MB. Crazy.
The build process calls
npm install --prodution
to exclude all dev dependencies, but obviously that still pulls in a lot of unnecessary files.We should reduce the disk footprint as much as possible.
Two options as of today:
Would love to hear about other options, strategies and tools we can use to get rid of megabytes of extra and slimming the Orbit Electron build as much as possible.
The text was updated successfully, but these errors were encountered: