0.1.0 • Published 8 years ago
fis-preprocessor-require-download v0.1.0
fis-preprocessor-require-download
A preprocessor plugin for fis to download required files.
settings
$ vi path/to/project/fis-conf.js
- 通过 roadmap.path 局部配置
// 创建vendor.download文件并配置:
{
"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",
"binary": "true",
"overwrite": "true"
}
]
}
0.1.0
8 years ago