Skip to content

Incorrect default import path #4

@SnaveSutit

Description

@SnaveSutit

When I attempt to import the module using ESBuild, it gives me this error:

Image

After doing a little digging, I discovered this line is targeting a .mjs file when it should be targeting a .js file:

"import": "./dist/index.mjs",

After changing the import path to .js locally, it works as expected.

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