Name: gulp-purifycss
Owner: PurifyCSS
Description: Removed unused CSS with the gulp build tool
Created: 2015-06-02 15:51:25.0
Updated: 2018-05-24 12:38:56.0
Pushed: 2018-03-29 16:52:05.0
Size: 12
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Clean unnecessary CSS with PurifyCSS
Package | gulp-purifycss |
Description | Clean unnecessary CSS |
Node Version | >= 0.10 |
purify = require('gulp-purifycss');
.task('css', function() {
turn gulp.src('./public/app/example.css')
.pipe(purify(['./public/app/**/*.js', './public/**/*.html']))
.pipe(gulp.dest('./dist/'));