adriennn / gulp-purifycss

Removed unused CSS with the gulp build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-purifycss

Clean unnecessary CSS with PurifyCSS

Information

Packagegulp-purifycss
Description Clean unnecessary CSS
Node Version >= 0.10

Usage

var purify = require('gulp-purifycss');

gulp.task('css', function() {
  return gulp.src('./public/app/example.css')
    .pipe(purify(['./public/app/**/*.js', './public/**/*.html']))
    .pipe(gulp.dest('./dist/'));
});

About

Removed unused CSS with the gulp build tool

License:MIT License


Languages

Language:JavaScript 100.0%