While attempting to integrate my Electron app using rules_node, I've run into a roadblock with dependent modules that have a native build portion, in particular grpc.
At first I thought I could patch the call to yarn with some flag telling it to "build/install for Electron", which would result in a yarn_modules repository specifically built for Electron, but it seems this is not possible.
Do you have any ideas about how this could be implemented?