ck86 / gulp-bower-files

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

Stop ignoring any part of module path #6

Closed mikklepp closed 10 years ago

mikklepp commented 10 years ago

The full module path should be used when creating the srcs. Now srcs contain entries typically with bower_components/**/foo.js, which will produce false positives. I added a test fixture to expose this.

ck86 commented 10 years ago

You are right, but if 2 bower components have the same main filename and you don't want to concat all these files, just copying?

mikklepp commented 10 years ago

Agreed. The base needs to be provided to gulp.src via opts. I'll run with removing the dependency on bower modules and gulp-bower-files. You may use the test case provided to take this further.

ck86 commented 10 years ago

Can be closed until gulp adds an option for the base?

mikklepp commented 10 years ago

There is a base option. Inherited from glob-stream.