Skip to content

Comment on Makefiles for Web Work (2022)parent

Comments

Using make but don't have any artifact and dependency is just choosing the wrong tool for the job. It's the whole point of the tool.

In my previous job, I used Make for my asset pipeline and compilation of javascript.

At 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.