I am trying to add NodeJS support to www-servers/nginx-unit, but the upstream build relies on a working network connection to download dependencies and execute "npm install ..." during the build process.
How can this scenario be handled properly in an ebuild? I don't see obvious existing ebuilds that I could use as a guide. Electron seems to perform some npm wizardry, but I don't know what to make of it. -Ralph