Closed subinsebastien closed 8 years ago
You could do a check with the keyTransform
method. Also, if I'm inferring correctly, this use-case is the one you reference in #37? If so, I would do the resizing first and have a separate upload task read from the folder that the resized images are being saved to. The gulp-s3-upload
gulp plugin uses the relative file name unless the keyTransform
method is overwritten.
Check out these lines in the source code for some reference on what is being sent through to the keyTransform
method.
@subinsebastien Did you ever find a solution to this?
This is necessary since, in uses cases like, uploading multiple resized versions of images into an s3 bucket, a rename system wont work, since gulp will add its own key. Just need the key filtering removed.