You can also use globs to match directories and files:
gulp.task('vendor', function () { return gulp .src([ './nodemodules/bootstrap/dist/', './nodemodules/intl/dist/' ], { base: 'nodemodules' }) .pipe(gulp.dest('./vendor/')); });
You can also use globs to match directories and files: