Add transformation to build 64.

This commit is contained in:
Bradley Shellnut 2022-02-01 22:08:28 -08:00
parent a67e16122b
commit 6ac507e1f1

View file

@ -5,7 +5,8 @@ export default async function buildBase64Data(
cloudinaryUrl, cloudinaryUrl,
imageSource, imageSource,
alt, alt,
additionalProps = {} additionalProps = {},
transformations = {}
) { ) {
let imagePath = imageSource; let imagePath = imageSource;
if (cloudinaryUrl) { if (cloudinaryUrl) {
@ -17,6 +18,7 @@ export default async function buildBase64Data(
cloud: { cloud: {
cloudName, cloudName,
}, },
transformations,
}); });
} }
} }