Skip to content

Instantly share code, notes, and snippets.

@M1ke
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save M1ke/3a14b42489c0e7359e83 to your computer and use it in GitHub Desktop.

Select an option

Save M1ke/3a14b42489c0e7359e83 to your computer and use it in GitHub Desktop.
A basic but repetitive way of having bower go to multiple directories.
var gulp = require('gulp');
var bower = require('gulp-bower');
gulp.task('bower', function() {
bower({ directory: '../../assets', cwd: './bower/assets/' });
bower({ directory: '../../js', cwd: './bower/js/' });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment