npm package externs-generator provides a way to build extern file programmatically. Probably won't work for all libs, but should be useful.
It is possible to create a task which builds a temp dir with source files (library file and dependencies) and then shell out to npm. npm is already available at the CI and we can install the externs-generator globally.
npm package externs-generator provides a way to build extern file programmatically. Probably won't work for all libs, but should be useful.
It is possible to create a task which builds a temp dir with source files (library file and dependencies) and then shell out to npm. npm is already available at the CI and we can install the externs-generator globally.
Assigning to myself to keep track of this for my TODO list, but if someone want's to implement this, feel free.