How to get the unclean CSS after gulp-uncss -
i know can clean css using gulp-uncss so:
var gulp = require('gulp'); var uncss = require('gulp-uncss'); var rename = require('gulp-rename'); gulp.task('clean-my-css', function() { return gulp.src('original.css') .pipe(uncss({ html: ['http://mywebsite.com'] })) .pipe(rename('clean.css')) .pipe(gulp.dest('./fresh')); }); and run task so:
gulp clean-my-css however, i'd unclean css well. in other words, if concatenated these 2 files (clean , unclean) have original.css:
clean.css + unclean.css = original.css
is possible gulp-uncss or other tool?
Comments
Post a Comment