angularjs-stellar icon indicating copy to clipboard operation
angularjs-stellar copied to clipboard

bower.json doesn't include `main`

Open irisSchaffer opened this issue 10 years ago • 1 comments

I tried to use angularjs-stellar with grunt and wiredep, but unfortunately the dependency couldn't automatically be injected because of the missing main option in this repo's bower.json (see wiredep's docs).

It would therefore be great if you could include the line

      "main": "./js/stellar.directives.js"

in the bower.json file. In the meantime, for all of you having the same problem, you can add an override for the non-existent main in your own bower.json:

"overrides": {
  "angularjs-stellar": {
    "main": "./js/stellar.directives.js"
  }
}

irisSchaffer avatar Nov 20 '15 18:11 irisSchaffer

Thanks @irisSchaffer this solved the issue

kkasunperera avatar Dec 01 '16 23:12 kkasunperera