You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to provide an ESM build lib/browser/index.mjs as well as the current UMD one lib/browser/index.js, for use in modern browsers and Deno (also supported by Bun and even NodeJS LTS now). The current UMD browser bundle crashes upon import to Deno 2.0.0 due to the removal of the window variable (monkey patching globalThis.window = globalThis prior to import works, but it's hacky and could be liable to break other things).
The text was updated successfully, but these errors were encountered:
It would be helpful to provide an ESM build
lib/browser/index.mjs
as well as the current UMD onelib/browser/index.js
, for use in modern browsers and Deno (also supported by Bun and even NodeJS LTS now). The current UMD browser bundle crashes upon import to Deno 2.0.0 due to the removal of thewindow
variable (monkey patchingglobalThis.window = globalThis
prior to import works, but it's hacky and could be liable to break other things).The text was updated successfully, but these errors were encountered: