gulp-qndn
Qiniu DN gulp tasks.
Install
npm install --save-dev gulp-react
Usage
var gulp = ;var upload = upload; var qnOptions = accessKey: 'your access key' secretKey: 'your secret key' bucket: 'your bucket name' domain: 'http://xxxx.xxx.xx.glb.clouddn.com'; gulp;
API
.upload(options)
options.qn
object
Qinniu DN config, see qn docs.
options.prefix
string
file path prefix, default ''
.
options.flatten
bool
, flatten file path or not, default false
.