Skip to content

Incorrect module entry in package.json (missing index.mjs) #54

@goiblas

Description

@goiblas

The package.json declares:

"module": "dist/index.mjs"

However, dist/index.mjs is not present in the published package.

resolve: {
  alias: {
    "react-loqate": "./node_modules/react-loqate/dist/index.js",
  },
}

Expected

Generate and publish dist/index.mjs or update the module field to point to an existing file.

Thanks!

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