only ignore /.*
Merge pull request #14050 from twbs/bower

Bower: only ignore /.*