Skip to content

Support top level window.Module declaration #6

@ted537

Description

@ted537

If -s MODULAR was not used during linking, then we should export a top-level module object directly.

Currently, we export a top-level promise to the object, which only works when -s MODULAR is set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions