上传静态资源到七牛 CDN
Install
npm install gulp-qiniu --save-dev
Usage
实例代码:
gulp.src('./public/**')
.pipe(qiniu({
accessKey: "xxxx",
secretKey: "xxxx",
bucket: "bucket",
private: false
}, {
dir: 'assets/',
versioning: true,
versionFile: './cdn.json',
concurrent: 10
}))
License
MIT