1.0.8 • Published 6 years ago

gulp-rev-qn v1.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

#gulp-rev-qn

npm install gulp-rev-qn
const rev = require('gulp-rev-qn');

请配合gulp-qn-upload这个库一起使用

const qn = require('gulp-qn-upload);
const qiniu_options = {
  accessKey: '',
  secretKey: '',
  bucket: '',
  origin: 'https://xxx.xxx',
};

gulp.task('publish-css', function () {
  return gulp.src(['./build/js/*.css'])
    .pipe(rev())
    .pipe(gulp.dest('./build/js'))
    .pipe(qn({
      qiniu: qiniu_options,
      prefix: 'css'
    }))
    .pipe(rev.manifest())
    .pipe(gulp.dest('./build/rev/css'));
});
1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

8 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago