Skip to content

Commit

Permalink
fix: remove global use for ESM bundlers
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Feb 3, 2021
1 parent 9f30f82 commit 1dc2ebb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/helpers/base64.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1dc2ebb

Please sign in to comment.