Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to ignore to dependencies in bower way #246

Open
Purush0th opened this issue Jul 6, 2016 · 1 comment
Open

Option to ignore to dependencies in bower way #246

Purush0th opened this issue Jul 6, 2016 · 1 comment

Comments

@Purush0th
Copy link

Currently to ignore bower dependencies we need to install it but have to exclude it by specifying specific paths.

Instead wiredep could use .bowerrc to ignore dependencies in bower way. So that we don't need to install a dependent package and exclude it in wiredep configuration.

.bowerrc

{
  "directory": "bower_components",
  "ignoredDependencies": [
    "jquery",
    "bootstrap",
    "angular"
  ]
}

Wiredep configuration

{
    exclude: ['/angular/','/jquery/','/bootstrap/'],
    directory: 'bower_components'
 }
@miketricking
Copy link

miketricking commented Nov 24, 2017

This would be very useful, having to install dependencies first to then say you wish to ignore is a bit backwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants