blob: 613ec7a9cae987d2cc51ff8a2c9fc355aa8186f6 [file] [log] [blame]
Matteo Scandolod4771392015-11-04 12:41:13 +01001var gulp = require('gulp');
2var uglify = require('gulp-uglify');
3var concat = require("gulp-concat");
4var wiredep = require('wiredep');
5
6module.exports = function(options){
7 gulp.task('vendor', function(){
8 var bowerDeps = wiredep().js;
9 return gulp.src(bowerDeps)
10 .pipe(concat('ngXosVendor.js'))
11 .pipe(uglify())
12 .pipe(gulp.dest(options.ngXosVendor));
13 });
14};