sapegin / grunt-bower-concat

Bower components concatenator for Grunt
MIT License
220 stars 72 forks source link

Main file definitions without js or css breaks the task #55

Closed danifornells closed 9 years ago

danifornells commented 9 years ago

Often you can have a bower dependency that does not contains any .js or .css file on main definition, such as a font (see https://github.com/github/octicons/ as an example).

The task breaks with the message "Can’t detect main file for component." wich is not true. A main file is defined, but no .js or .css are inside.

sapegin commented 9 years ago

Probably I should change this error to notification.