How to ignore a particular bower component being installed which is dependent on other bower component

别说谁变了你拦得住时间么 提交于 2019-12-12 04:23:36

问题


I am trying to install ng-quill which takes quill as its dependency which I do not want to install and use cdn instead, due to some compilation issue, just trying if this can help.

Bower component Quilljs editor module (ES6) is failing while running gulp build

"overrides": {
     "ngQuill" : {
         "dependencies" : []
     }
  }

回答1:


I think this SO answer has the solution to your problem. It boils down to adding the following to your .bowerrc:

{
  "ignoredDependencies": [
    "quill"
  ]
}


来源:https://stackoverflow.com/questions/41802349/how-to-ignore-a-particular-bower-component-being-installed-which-is-dependent-on

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