Update: I took a Svelte web app, my visualisation-lab workbench, which is quite complex, does a lot of web querying using SPARQL, parses and transforms that data and then creates different kinds of visualisation that you can interact with. The result was and a 6MB AppImage. I’m not sure how big it would be in electron but the visualisation-lab bundle is at least half of that.
This required zero modifications to my app code, just putting two pretty separate projects together and a minute rationalising the dependencies in package.json and boom, it just works!!! Doing this with a second app would take me less than five minutes.