tminglei / browserify-bower

A browserify plugin, to enable you use bower components just like node modules
MIT License
20 stars 3 forks source link

Bump to v0.4.5 breaks resolution of packages lacking a `bower.json` file #5

Closed mhamann closed 9 years ago

mhamann commented 9 years ago

It seems that the latest updates to v0.4.5 have caused a side-effect of no longer being able to resolve bower packages that lack a true bower.json file. I'm personally experiencing this issue with Modernizr, which seems to have a .bower.json but no bower.json (without the .).

It would be helpful if browserify-bower didn't necessarily care about the bower.json, though I understand why that's useful. Perhaps it could be optional?

tminglei commented 9 years ago

Ok, I'll enhance it.

BTW, .bower.json will always have same structure with bower.json, right?

tminglei commented 9 years ago

Hi @mhamann, I released new version, pls help check it.