I find the problem lies with the trade-off you are making.
You are making your life as a developer easier in exchange massively increasing the resource requirements and battery usage on end-user machines.
It's just bad practice and Electron encourages it.
I feel like if we ever want to be taken seriously as a profession the way structural or mechanical engineers are for example, then efficiency and reliability need to be primary considerations, otherwise we are basically making toys.