mquandalle / meteor-bower

[DEPRECATED] Use bower packages in your Meteor app
http://bower.io/search/
MIT License
157 stars 28 forks source link

problem with "ignoredDependencies": [ "jquery" ]? #79

Open thearabbit opened 9 years ago

thearabbit commented 9 years ago

I try add select2 and ignore jquery like this

{
  "name": "my-app",
  "version": "0.0.1",
  "dependencies": {
    "select2": "3.5.2"
  },
  "ignoredDependencies": [
    "jquery"
  ],
  "private": true
}

but after installed, in .meteor/local/bower folder has jquery too.

lorensr commented 9 years ago

Do you see jquery in your <head>? If not, it isn't being shipped to the client.

sferoze commented 9 years ago

I also have jquery as an ignored dependency but I still see it in the bower folder. I even tried uninstalling jQuery specifically (bower asks if its ok to uninstall jquery since another package depends on it, I choose yes).

But upon starting meteor again bower automatically installs jquery again. But in my bower I have jquery in ignored dependencies and also in my bower overrides

"overrides": {
    "jquery": {
      "main": []
    },
ccheshire commented 8 years ago

Try putting "ignoredDependencies" in your .bowerrc, that's what worked for me.