formations/javascript/base/exercices/pipeline/gulp/Gulpfile.js

12 lines
223 B
JavaScript
Raw Permalink Normal View History

var gulp = require('gulp');
var concat = require('gulp-concat');
gulp.task('concat', function() {
return gulp.src('../src/*.js')
.pipe(concat('myModule.js', {newLine: ';'}))
.pipe(gulp.dest('./dist/'))
;
});