1
0
mirror of https://github.com/konpa/devicon.git synced 2025-01-17 21:48:28 +01:00
devicon/gulpfile.js

19 lines
476 B
JavaScript

var gulp = require('gulp');
var minifyCSS = require('gulp-minify-css');
var concatCss = require('gulp-concat-css');
var plumber = require('gulp-plumber');
gulp.task('concat-css', function () {
gulp.src(['./devicon.css', './devicon-colors.css'])
.pipe(plumber())
.pipe(concatCss('./devicon.min.css'))
.pipe(gulp.dest('./'));
});
gulp.task('minify-css', function() {
gulp.src('./devicon.min.css')
.pipe(plumber())
.pipe(minifyCSS())
.pipe(gulp.dest('./'))
});