gulp-qiniu-upload
v0.0.1
Published
Gulp task for deploying files to qiniu CDN (forked from gulp-qiniu)
Downloads
8
Readme
gulp-qiniu-upload
Forked from gulp-qiniu & fix bug.
上传静态资源到七牛 CDN
Install
npm install gulp-qiniu-upload --save-dev
Usage
实例代码:
const qiniu = require('gulp-qiniu-upload')
gulp.src('./public/**')
.pipe(qiniu({
accessKey: "xxxx",
secretKey: "xxxx",
bucket: "bucket",
private: false
}, {
dir: 'assets/',
versioning: true,
versionFile: './cdn.json',
concurrent: 10
}))
License
MIT