My build tool boilerplate goes v2

For years, I was an avid Gulp user.
But last year, I got tired of having to repair my build anytime I didn’t use it for a few months. I got tired of installing 270mb of node_modules dependencies to build a simple website or web app.
So, I put together a build tool boilerplate with simple NPM scripts (a trick I learned from Keith Cirkel years earlier). I was able to create a simplish build tool that does just what I want (and nothing more) with a fraction of the footprint.


This content originally appeared on Go Make Things and was authored by Go Make Things

For years, I was an avid Gulp user.

But last year, I got tired of having to repair my build anytime I didn’t use it for a few months. I got tired of installing 270mb of node_modules dependencies to build a simple website or web app.

So, I put together a build tool boilerplate with simple NPM scripts (a trick I learned from Keith Cirkel years earlier). I was able to create a simplish build tool that does just what I want (and nothing more) with a fraction of the footprint.

Yesterday, thanks to an amazing pull request from Simon Minter, I released v2 of my boilerplate.

Version 2 brings…

  • Watch tasks to detect changes to files and automatically run a build
  • A local server that automatically reloads whenever files changes
  • Better cross-OS support
  • Tasks run in parallel for faster build times

The whole thing is designed to be modular and easily customizable.

The documentation details each tasks, the dependencies it uses, and how to run it. Whenever I start a new project, the first thing I do is remove any of the tasks (and matching dependencies) that I don’t need. I’d encourage you to do the same.

You can find v2 of my build tool boilerplate on GitHub.


This content originally appeared on Go Make Things and was authored by Go Make Things


Print Share Comment Cite Upload Translate Updates
APA

Go Make Things | Sciencx (2021-02-17T15:30:00+00:00) My build tool boilerplate goes v2. Retrieved from https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/

MLA
" » My build tool boilerplate goes v2." Go Make Things | Sciencx - Wednesday February 17, 2021, https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/
HARVARD
Go Make Things | Sciencx Wednesday February 17, 2021 » My build tool boilerplate goes v2., viewed ,<https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/>
VANCOUVER
Go Make Things | Sciencx - » My build tool boilerplate goes v2. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/
CHICAGO
" » My build tool boilerplate goes v2." Go Make Things | Sciencx - Accessed . https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/
IEEE
" » My build tool boilerplate goes v2." Go Make Things | Sciencx [Online]. Available: https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/. [Accessed: ]
rf:citation
» My build tool boilerplate goes v2 | Go Make Things | Sciencx | https://www.scien.cx/2021/02/17/my-build-tool-boilerplate-goes-v2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.