如何忽略正在安装的依赖于其他凉亭组件的特定凉亭组件 [英] How to ignore a particular bower component being installed which is dependent on other bower component

查看:170
本文介绍了如何忽略正在安装的依赖于其他凉亭组件的特定凉亭组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装采用羽毛笔作为其依赖项的ng-quill,我不想安装和使用cdn,因为有一些编译问题,只是在尝试这可以提供帮助。

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.

鲍尔组件Quilljs编辑器模块(ES6)在运行gulp构建时失败

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


推荐答案

我认为这个SO答案可以解决您的问题。它归结为将以下内容添加到 .bowerrc

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

{
  "ignoredDependencies": [
    "quill"
  ]
}

这篇关于如何忽略正在安装的依赖于其他凉亭组件的特定凉亭组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆