我想将 highstock(highcharts 中的 highstock.js)集成到我的 jHipster 项目中。因此,我在 bower.json 中添加了以下内容:
"dependencies": {
"highcharts" : "4.2.6",
"highcharts-ng": "0.0.12"
},
"overrides": {
"highcharts-ng": {
"dependencies": {
"angular": "1.5.8",
"highcharts": "4.2.6"
}
}
}
当我使用此配置构建项目时,gulp 会在 index.html 文件中导入 javascript 依赖项,如下所示:
<script src="bower_components/highcharts/highcharts.js"></script>
<script src="bower_components/highcharts/highcharts-more.js"></script>
<script src="bower_components/highcharts/modules/exporting.js"></script>
<script src="bower_components/highcharts-ng/dist/highcharts-ng.js"></script>
但我实际上需要的只是 highstock.js: Highcharts 项目概述
我如何控制,这里导入了什么?