O'Reilly logo

Front-End Tooling with Gulp, Bower, and Yeoman by Stefan Baumgartner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required