Chapter 6. Gulp for different environments

This chapter covers

  • Incremental builds and build caches
  • Debugging original files through sourcemaps
  • Environment specific switches and noop blocks

In part 1 of this book you learned how to create a good, solid build setup we referred to as the local development environment. This setup allowed the automation of repetitive but common tasks, as well as a development server along with the ability for automated iterative builds.

If you take a good look at the artifacts of your build, you’ll see that the result is production-ready code. JavaScript and CSS are optimized and minified, and all your dependencies are wired up, ready to be published on a production web server. One huge advantage in having ...

Get Front-End Tooling with Gulp, Bower, and Yeoman now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.