Using Lerna might be a solution to buliding for web, with a structure similar to: - packages - app (-> react app) - electron (-> builds electron app) - web (-> builds webapp) - resources(?) These can then cross-reference eachother and be linked as needed.