2015-06-09 Using PostCSS and cssnext Note: Although the example in the screencast works fine, turns out you don’t need the postcss-import or autoprefixer modules loaded separately, as they come bundled with cssnext. Curse my stupid brains. Resources On writing real CSS (again) PostCSS cssnext gulpfile.js123456789101112131415161718192021var postcss = require("gulp-postcss"), gulp = require("gulp"), cssnext = require("cssnext");gulp.task("css", function() { var processors = [ cssnext({ 'browers': ['last 2 version'], 'customProperties': true, 'colorFunction': true, 'customSelectors': true, 'sourcemap': true, 'compress': false }) ]; return gulp.src('main.css') .pipe(postcss(processors)) .pipe(gulp.dest('compiled'));});