Use URL filename instead of index.js with Bower

Using Bower, I can download an external URL resource and set it:

# bower install ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.js --save

But it now also displays the index.js file:

 "jquery": { "source": { "main": "vendor/jquery/index.js", } } 

I want the file name to be the same as in the url if metadata is not available:

 "jquery": { "source": { "main": "vendor/jquery/jquery.js", } } 

Possible?

+7
source share
1 answer

Sounds like a mistake. Can you open a ticket ?

+2
source

All Articles