diff --git a/tasks/upload-assets-to-s3.js b/tasks/upload-assets-to-s3.js index 060d02d7..25d95711 100644 --- a/tasks/upload-assets-to-s3.js +++ b/tasks/upload-assets-to-s3.js @@ -7,7 +7,7 @@ const aws = require('aws-sdk'); const defaultDirectory = 'public'; const defaultBucket = 'ft-next-hashed-assets-prod'; const defaultDestination = 'hashed-assets/uploaded'; -const defaultFileExtensions = ['js', 'css', 'map', 'gz', 'br', 'png', 'jpg', 'jpeg', 'gif', 'webp'].join(); +const defaultFileExtensions = ['js', 'css', 'map', 'gz', 'br', 'png', 'jpg', 'jpeg', 'gif', 'webp', 'svg'].join(); const defaultCacheControl = 'public, max-age=31536000, stale-while-revalidate=60, stale-if-error=3600'; function getFileType (filename) {