Chapter 6. Automating Your Build with Gulp

In the previous chapter, you learned how to integrate Angular with a Node API. In this chapter, you’ll learn how to automate the build steps of your application with Gulp.

Introducing Grunt and Gulp

All modern JavaScript applications involve some kind of build process. This might entail preprocessing CSS with Sass/Less/Stylus, concatenating JavaScript files into one, minifying assets, compiling CoffeeScript, and so on. While this can totally be done with ad hoc commands or Bash scripts, there are tools that help you manage these tasks. Another benefit that is sometimes overlooked is these tools typically work on Windows machines and not just Mac and Linux boxes.

I highly encourage taking the time to ...

Get Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.