Stefan Baumgartner

Web ops, performance and front-end

List of articles

Gulp: Grab files from your CDN and add them to your build pipeline

This one is a shorty, but that’s what it makes it so nice. Imagine that you have only one dependency in your project, which is some third party library your code builds upon, like jQuery. Instead of having the complete dependency management stack on your shoulders, you just want to use that single file.

Read more

Gulp 4: The new task execution system - gulp.parallel and gulp.series

One of the major changes in Gulp 4 is the new task execution system. In this article, I want to show you what’s new and how you can migrate the best.

Read more

Stay focused with Webmonitoring (

Another article I wrote for the blog over at my employer. When we switched our login from a purely JavaScript based to a progressively enhanced one, we ended up in some deployment mistakes. This was how our tool recognized those errors and what it meant for us. Read it over at Ruxit

Node.js 4.0.0 and Gulp first aid

Node.js 4.0.0 just got released! The jump from 0.12.x to 4.0 is a huge one, especially since it incorporates lots of changes that happened over at the IO.js project. So far, I haven’t experienced a lot of issues with it, and it quickly became the one version that I use as default on my system. However, there are some hickups here and there. Here I try to collect some issues with Gulp.js and first aid solutions. There are few and they might be out of date quickly.

Read more

Gulp 4: Incremental builds with gulp.lastRun

Incremental builds are a good way of speeding up your build iterations. Instead of building everything again with each and every iteration, you just process the files that have changed.

Read more

Gulp 4: Passthrough source streams

Another nice addition to vinyl-fs that will end up in Gulp 4 is the possibility of having “passthrough” source streams. This basically allows gulp.src to be writable. So what does this mean for you?

Read more

JavaScript 101: Arrays

This was the first contribution I’ve ever made at GitHub, belonging to the original website. The original article is now offline, but saved here for the future.

Read more

Gulp 4: Built-in Sourcemaps

One really cool feature on the Gulp 4 roadmap is the inclusion of native sourcemaps. A commit roughly two weeks ago at the vinyl-fs package makes this possible now. Instead of using the gulp-sourcemaps package directly, you can use a flag in gulp.src. Gulp takes care of the rest:

Read more

I'm writing a book: Front-End Tooling with Gulp, Bower and Yeoman

Okay, lovely people, this is huge for me. I’m actually in the midst of writing a book. It’s called “Front-End Tooling with Gulp, Bower and Yeoman”, and it’s – you guessed it – about front-end tooling with Gulp, Bower and Yeoman. Actually I’ve been writing on it for the last 9 months, and now it has reached the phase of going public for the first time. It’s in the so called “Early Access Program” from Manning (MEAP), where you can buy it before it goes to print, helping me pointing at all the mistakes I make. Or do some slap on the back because it’s so good.

Read more

Book Review: CSS Secrets by Lea Verou

In 2012 I saw one of Lea Verou’s talks for the first time. And if you every had the opportunity of seeing her, you know that you are in for a treat. Her unique way of teaching all those nifty CSS tricks is not only entertaining and engaging, but also a huge motivation for your own work. Every time I returned home from one of those conferences, I tried recreating those tricks and secrets (as she calls it) at home. Using her interactive slides I managed to recreate a good deal of what she’s shown, but sometimes I wished I had some sort of documentation ready. Well, this is now available with her book “CSS Secrets”.

Read more