Skip to content

Instantly share code, notes, and snippets.

@markgoodyear
Created July 29, 2015 21:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save markgoodyear/d7bfd94eae95af18e308 to your computer and use it in GitHub Desktop.
Save markgoodyear/d7bfd94eae95af18e308 to your computer and use it in GitHub Desktop.
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var bower = require('main-bower-files');
gulp.task('bower', function () {
return gulp.src(bower())
.pipe(concat('vendor.js'))
.pipe(uglify())
.pipe(gulp.dest('/build/scripts'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment