Bower multiple registry URLs in .bowerrc

主宰稳场 提交于 2019-12-05 05:14:34

问题


I am looking to define more than one URL in my Bower settings to support the use of a private internal registry as well as the default Heroku registry.

I have tried multiple settings that I have come across, but can't seem to get it working.

There is nothing in the specs that say this is possible, but there is evidence others have gotten this to work.

Can anyone point me in the right direction here?

Is this possible, and if so, how is it done?


回答1:


Someone at work helped me with this issue. But this is for future searchers.

"registry": {
    "search": [
        "http://some.private-bower-registry.com/",
        "https://bower.herokuapp.com"
    ]
}


来源:https://stackoverflow.com/questions/24170145/bower-multiple-registry-urls-in-bowerrc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!