19

Please stop making stuff with JavaScript.
I have a fairly old and slow laptop.

Comments
  • 5
    JavaScript is not the problem. Clien-side bundle is.
  • 5
    A simple hello world made with Electron takes up 180 MB of disk space.
  • 1
    @daniel-wu not used electron beyond tinkering years ago, is that the project folder size or the actual executable?
  • 1
    @MM83 the installation file is smaller, but when it's unpacked at target device, it took up at least 180 MB of disk space.

    Each installation of electron app comes with a bundled chromium browser and nodeJS. Even incremental update of the same app adds another bundle of chromium and nodejs to our storage space. Until we delete them, manually.
  • 1
    @daniel-wu I figured it'd bundle chromium (and I guess node makes sense) but damn, that's still a lot bigger than I'd expect it to be, and the incremental thing is insane. I wonder if this is just the way now, or we'll ever look back on this era as the age of bloat. I never fail to feel exasperated as another npm i eats up half a gig of my HD with mostly unused shit.
Add Comment