Yes, after about a third of a nice Sunday lost, I arrived at almost exactly the same results/solution as described there Damn, it even has the mix cmd
I asked about in another thread, although written a tiny tad differently.
So answering myself:
One does it calling node
and passing a JS to it rather than using the integrated esbuild lib.