ck86 / gulp-bower-files

Build gulp.src() of your bower packages main files.
80 stars 13 forks source link

Separate css from js deps #42

Closed soyuka closed 10 years ago

soyuka commented 10 years ago

Hey there, nice plugin! I love the bower.json deps override/ignore it's a nice idea!

It would be nice having a way to separate css from js files.

What about adding an option to this?

gulp.task('bower', function() {
  bower({jsonly: true})
        .pipe(concat('vendor.js'))
        .pipe(uglify())
                .pipe(gulp.dest('./dist'))
})
ck86 commented 10 years ago

Thanks!

There is another nice plugin called gulp-filter which does exactly what you need. ;-)

soyuka commented 10 years ago

Yes I thought about using it right after writing the issue ^^ (long day...)