sstephenson/sprockets — pull request #358 by josh (2012-09-11 05:17:40+00:00)
Title: Bower: component.json requires

Its going to keep bugging me that people won't put `index.js` into their bower projects.

I hate `#= require jquery/jquery`. `#= require jquery` ought to just work.

But I'm kinda confused about bower's `main` property. It seems you can set it to an array of all the files in your package which doesn't make a whole lotta sense if you expect only one file to be returned. I think this just needs to be clarified.

Consider something like `qunit`. It'd be neat if it set:

``` json
"main": ["./qunit.js", "./qunit.css"]
```

Then `#= require qunit` from js would pull in the js file, and `@import "qunit"` would pull in the css file. This means you'd only be able to have one file of each type in the `main` array.

/cc @maccman @fat