Skip to content

ESM version #524

Open
Open
@jimmywarting

Description

@jimmywarting

could you maybe build a esm version that can be imported and uses import.meta.url to load wasm files relative to the cdn somebody is using?

would just like to be able to do import it.
the hole umd commonjs loadfile is complicated.

Activity

jimmywarting

jimmywarting commented on Aug 14, 2022

@jimmywarting
Author

that way you can also use top level await and load wasm file before anything gets exported

added a commit that references this issue on Apr 12, 2025
43a85a3
linked a pull request that will close this issue on Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jimmywarting

      Issue actions

        ESM version · Issue #524 · sql-js/sql.js