Skip to content

require() of ES Module from tsembind/src/tsembind.js not supported. #8

@marcofugaro

Description

@marcofugaro

Screenshot 2021-09-17 at 15 08 16

I am trying to use this library with an EXPORT_ES6 library, the flags I build the library are

    -s MODULARIZE \
    -s EXPORT_ES6 \
    -s ENVIRONMENT='web' \
    -s USE_ES6_IMPORT_META=0 \

And my library ends with:

export default Module;

I also have type="module" in my package.json.

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