Make, Cmake and autoconf offered solutions in this space, but for C/C++.
I do like what esbuild and swc are doing though.