You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to gulp, I have done some changes to code. But the code is not working . It is not showing any error msg too.Can anyone suggest any errors?
My code is:
I am new to gulp, I have done some changes to code. But the code is not working . It is not showing any error msg too.Can anyone suggest any errors?
My code is:
var awspublish = require('gulp-awspublish');
gulp.task('publish', function() {
// create a new publisher using S3 options
// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property
var publisher = awspublish.create({
region: 'ap-south-1',
params: {
Bucket: 'sample-project'
},
accessKeyId: '',
secretAccessKey: '***************'
});
return gulp.src('./index.html')
// gzip, Set Content-Encoding headers and add .gz extension
.pipe(awspublish.gzip({ ext: '.gz' }))
});
The text was updated successfully, but these errors were encountered: