gulp-concat-css npm package of node.js


Overview

This gulp plugin is used to concatenate the css files from 2 different locations.

Code


													
var gulp = require('gulp');
var concatCss = require('gulp-concat-css');

gulp.task('default', function () {
  return gulp.src('source/*.css')
    .pipe(concatCss("gulp.min.css"))
    .pipe(gulp.dest('out'));
});
        
													
												

Run

  • Now run the snippet using the following command :
    													
    $gulp