gulp-qiniu-upload

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i gulp-qiniu-upload

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • nighca