firstandthird / bower-files

Node lib to get a list of files from bower
1 stars 1 forks source link

exclude all dependencies? #3

Closed jgallen23 closed 10 years ago

jgallen23 commented 10 years ago
  it('Should remove all dependencies from exluded libs', function(done) {
    bowerFiles({
      exclude : ['fidel-template']
    }, function (err, results) {
      assert.equal(results.indexOf('bower_components/fidel-template/dist/fidel-template.js'),-1);
      assert.equal(results.indexOf('bower_components/template/dist/template.js'),-1);
      done();
    });
  });

do you think the lib should exclude all the libs dependencies as well when you exclude?

Antonio-Laguna commented 10 years ago

Humm, that's a tricky one... But I think that's correct, it should remove the dependencies as well. Green light?

jgallen23 commented 10 years ago

yep!