Skip to content

Web: Metro error: Cannot access 'getDomain' before initialization #199

@jarethuk

Description

@jarethuk

When using the library for Expo web, I get the following error:

Metro error: Cannot access 'getDomain' before initialization

It looks the the build has the exports defined above each function.

Image

Simply moving the export to the end fixes it (if you follow change about 6 files with the same issue).

Image

Any chance the build & package can be changed to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions