gulp-postcss

PostCSS gulp plugin to pipe CSS through several plugins, but parse CSS only once.

Installation

npm install --save-dev postcss gulp-postcss

Configuration

const gulp = require('gulp');
const postcss = require('gulp-postcss');

gulp.task('css', function () {
    return gulp.src('./src/*.css')
        .pipe(postcss())
        .pipe(gulp.dest('./dest'));
});