Skip to content

Instantly share code, notes, and snippets.

View yogesh-xseed's full-sized avatar
🎯
Focusing

yogesh-xseed

🎯
Focusing
View GitHub Profile
import * as Sentry from "@sentry/node";
import imagemin from "imagemin";
import mozjpeg from "imagemin-mozjpeg";
import sharp from "sharp";
import isJpg from "is-jpg";
import * as aws from "aws-sdk";
import { Upload } from "../../types/graphqlUtils";
import { generateFilename } from "./generateFilename";
export const s3 = new aws.S3({