3 ms·
>for example if I can write a plain script to handle my build process without integrating grunt or gulp I'm certainly going to do that. I used to like gulp bec
by Arnavion 11y ago
>for example if I can write a plain script to handle my build process without integrating grunt or gulp I'm certainly going to do that.
I used to like gulp because it does give you something like that. It lets you write your custom build task with an arbitrary input->output transformation and gulp will just drive it.
That said, it's quite... heavy... for what can be considered to be basically something that takes a list of tasks and their dependencies and runs them in the appropriate order. That's essentially the functionality of async.auto() from caolan/async, so for kicks I made my own build tool that wraps async.auto's functionality into a similar task() function. It's lightweight (only depends on caolan/async) and serves me quite well in the hobby project I use it in.