gulp-purifycss
Clean unnecessary CSS with PurifyCSS
Information
Package | gulp-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/'));
});