0
我对JavaScript和gulp非常陌生,我需要使用从GitHub获取的使用gulp构建特定版本的外部库。构建gulp子项目
假如库位于.\chart.js\
并且命令行构建命令看起来像gulp build --types=Line
,那么从gulp构建它的方法是什么?
项目结构:
main_project\
| chart.js\ - fetched from github
| | gulpfile.js - gulp builds library using this file
| | *other files from library*
| *main project files and folders*
| gulpfile.js - I want to build library from here while building my project
我知道如何从壳盖了,但我想打造'从parrent项目gulpfile.js'。 – Pavlus
''gulpfile.js''在父文件夹内? – Ismail
Parrent项目有它自己的'gulpfile.js',我想从具有它自己的'gulpfile.js'的github库中构建。有没有正确的方法来做到这一点,而不需要直接从parrent项目的吞咽任务调用shell命令来运行另一个吞咽实例? – Pavlus