File is always null
Shark-Laser opened this issue · 1 comments
Shark-Laser commented
Hi I'm not sure what I'm doing wrong here. The file is showing null.
var s3_creds = {
"key": "xxxxxxxxx",
"secret": "xxxxxxxxxxx",
"bucket": "sample",
"region": "ireland"
};
/* upload the dist files */
gulp.task('deploy_s3', function(){
var options = { gzippedOnly: true };
return gulp.src('app/builds/index.html', {read: false})
.pipe(gzip({append: true}))
.pipe(s3(s3_creds, options));
});
joejeet commented
Try read: true