Chrome Extension

Minify CSS using Gulp

//INSTALLATION - npm install gulp-clean-css --save-dev
var gulp = require('gulp');
var cleanCSS = require('gulp-clean-css');

gulp.task('css_minify', function() {
    return gulp.src('app/css/*.css')
            .pipe(cleanCSS())
            .pipe(gulp.dest('dist/css'));
});
We are a bunch of lazy programmers so we developed this chrome extension
search code from your favorite search engine
Install Now

You can use gulp-clean-css npm package to minify CSS using gulp.

Was this helpful?
0 Comments
Open Code Manager We are hiring