From 1dc2ebbd8e594981eed4b7cb011bc0ae607a2225 Mon Sep 17 00:00:00 2001 From: Josh Ellis Date: Wed, 3 Feb 2021 09:07:34 +0000 Subject: [PATCH] fix: remove global use for ESM bundlers --- src/helpers/base64.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/helpers/base64.ts b/src/helpers/base64.ts index 94e6dc352..c531ab55b 100644 --- a/src/helpers/base64.ts +++ b/src/helpers/base64.ts @@ -1,7 +1,5 @@ import { Blob } from 'blob-polyfill' -global['Blob'] = Blob - // https://stackoverflow.com/questions/14967647/encode-decode-image-with-base64-breaks-image function fixBinary(bin) { var length = bin.length