blob: c11ef9e82c84bba61f4152e8121c0ce6a0e3d991 [file] [log] [blame]
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var wiredep = require('wiredep');
module.exports = function(options){
gulp.task('vendor', function(){
var bowerDeps = wiredep().js;
return gulp.src(bowerDeps)
.pipe(concat('ngXosVendor.js'))
.pipe(uglify())
.pipe(gulp.dest(options.ngXosVendor));
});
};