Skip to content

hfcorriez/gulp-qiniu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

上传静态资源到七牛 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

About

Gulp plugin for deploying files to Qiniu CDN

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •