Skip to content

adamjgrant/gulp-css-purge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp CSS Purge

Purges duplicate CSS rules. Based on css-purge

Example

var gulp = require('gulp'),
    sass = require('gulp-ruby-sass'),
    purge = require('gulp-css-purge'),
    minify = require('gulp-minify-css');

gulp.task('default', function() {
  gulp.src(['./**/*.sass'])
    .pipe(sass())
    .pipe(purge())
    .pipe(minify())
    .pipe(gulp.dest('./public'));
})

About

Purge duplicate css from a gulp stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published