Created
April 27, 2017 14:00
-
-
Save gustavoquinalha/bba0c0c3b6b951249a71b1194d0bb3af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('un-css', function () { | |
return gulp.src('css/all.css') | |
.pipe(uncss({ | |
html: ['*.html'], | |
js: ['*.js'] | |
})) | |
.pipe(rename('final-clean.css')) | |
.pipe(gulp.dest('css/final')) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment