Skip to content

ESM build #64

Open
Open
@lionel-rowe

Description

@lionel-rowe

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    modernizationModernize to fit current spec(s)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions