I haven't read the article yet but why not make a PHONY target that just runs that build command?
.PHONY all
all:
tsc --build ./tsconfig.json .PHONY all
all:
tsc --build ./tsconfig.jsonAt some point, I discovered esbuild and realised that I had to split the file in two for tasks that had to be done sequentially and those that could be done in parallel.
Esbuild still had dependencies, but needed to be run only once for those dependencies.
Still got great results ultimately. Going from something like a minute to four seconds.