fis-parser-dependencies
A parser plugin for fis to copy or download dependencies.
settings
$ vi path/to/project/fis-conf.js
- 通过 roadmap.path 局部配置
fis.config.merge({
modules: {
parser: { map: 'dependencies' }
...
then put dependency map into your project:
/project/whatever/dependencies.map
{
"bundle": [
{
"from": "D:/x.properties",
"to": "./source/x.properties",
"overwrite": "true"
},
{
"from": "http://gitlab.xxx.com/aj4g/tools/raw/master/aaa.txt",
"to": "./source/b.txt",
"overwrite": "true"
},
{
"from": "http://gitlab.xxx.com/aj4g/tools/raw/master/bbb.png",
"to": "./source/c.png",
"overwrite": "true"
}
]
}