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?).
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.
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?).