gulp-concat
npm package of node.js
This plugin is used to concatenate 2 or more files into a single output file.
var gulp = require('gulp');
var concat = require('gulp-concat');
gulp.task('scripts' , function() {
return gulp.src('source/*.js') //add your custom source here
.pipe(concat('min.js')) // name of the output file
.pipe(gulp.dest('destination4')); // name of the destination folder comes here
});
$ gulp scripts