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
First off I just wanted to say this is an amazing project. Excellent work! It's a ton of fun to play around with.
I'm always curious about what's inside native apps so I almost reflexively clicked into Show Package Contents on Triplex.app. It's pretty common for Frameworks to be big because of Electron, but Resources was big too, and I noticed all of it is in node_modules (seems reasonable), and then most of that is in @esbuild – 175mb worth!
I'm not sure what step of the Electron build process this would go in, but it seems like this folder could be pruned (almost?) entirely and save a bunch of space in the download. It seems it shouldn't need those binaries during runtime, and there might be other folders that could be pruned too (esbuild, vite, and rollup probably?).
The text was updated successfully, but these errors were encountered:
Thank you! Yeah we definitely don't need to be including all the platform esbuild packages, hey! Good catch. Will update this issue to be both resolving this + adding ASAR archiving.
itsdouges
changed the title
Download size
The esbuild dependency has all platforms available in the macOS distributable
Oct 2, 2023
First off I just wanted to say this is an amazing project. Excellent work! It's a ton of fun to play around with.
I'm always curious about what's inside native apps so I almost reflexively clicked into Show Package Contents on Triplex.app. It's pretty common for Frameworks to be big because of Electron, but Resources was big too, and I noticed all of it is in
node_modules
(seems reasonable), and then most of that is in@esbuild
– 175mb worth!I'm not sure what step of the Electron build process this would go in, but it seems like this folder could be pruned (almost?) entirely and save a bunch of space in the download. It seems it shouldn't need those binaries during runtime, and there might be other folders that could be pruned too (
esbuild
,vite
, androllup
probably?).The text was updated successfully, but these errors were encountered: