We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related to #258
In Web Workers, btoa is defined as a global, but window is not.
btoa
window
This error is thrown in a Web Worker:
https://github.com/Rich-Harris/magic-string/blob/master/src/SourceMap.js#L10
Suggested fix: check for btoa not window.btoa.
window.btoa
The text was updated successfully, but these errors were encountered:
Fix Rich-Harris#268
cbb8011
Successfully merging a pull request may close this issue.
Related to #258
In Web Workers,
btoa
is defined as a global, butwindow
is not.This error is thrown in a Web Worker:
https://github.com/Rich-Harris/magic-string/blob/master/src/SourceMap.js#L10
Suggested fix: check for
btoa
notwindow.btoa
.The text was updated successfully, but these errors were encountered: