curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

Add new option `ignorePackages` #22

Closed artch closed 10 years ago

artch commented 10 years ago

A useful option for ignoring packages when we don't want them to be copied while they are still required by some other packages. For example, Bootstrap comes with jquery dependency, however it is widely popular to include jquery via CDN, so we don't want it to be a part of our build process.

Config sample:

bower: {
  dev: {
    dest: 'public/',
    options: {
      ignorePackages: ['jquery']
    }
  }
}