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 7. Working with streams

This chapter covers

  • Merge streams and passthrough streams for combining different sources
  • Stream arrays for duplicating streams
  • Stream combiners for creating stream snippets
  • Stream queues for handling stream element order
  • Stream filters for dynamically changing stream contents

Previously you created build pipelines for different types of assets, like CSS and JavaScript. Stylesheets and scripts are fundamentally different, so you had to treat them differently. That resulted in one build pipeline for each asset type, which you saw in chapter 2. But what if you have to handle files that are of the same type and require the same process but vary enough that you have to duplicate pipeline definitions?

Think ...

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