curist / grunt-bower

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

grunt-bower doesn't copy all files when a package has multiple main files. #13

Closed Chandler closed 10 years ago

Chandler commented 11 years ago

The bower.json for handlebars specifies:

"main": [ "handlebars.js", "handlebars.runtime.js" ],

grunt bower only copies handlebars.js over and not the second item in the list.

framerate commented 10 years ago

typeahead.js is another one.

Doesn't copy bloodhound.js, only typeahead.js :(

curist commented 10 years ago

hi, please check v0.8.0, you'll have to put some options in your Gruntfile.js for typeahead.js though. typeahead.js's main attribute didn't correctly point to any files.

framerate commented 10 years ago

This is great. Thanks so much!