Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(package): update exports field in package.json #48

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

idebenone
Copy link
Member

Problem

Failed to resolve entry for package "@codexteam/icons". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in @codexteam/icons" package

Cause

Incorrect exports path specified in package.json.

Solution

Update the exports field with the correct paths in package.json to ensure proper module resolution.

  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.umd.js",
      "types": "./dist/index.d.ts"
    }
  },

Copy link
Member

@neSpecc neSpecc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update patch version, please

@idebenone idebenone requested a review from neSpecc July 17, 2024 14:36
@neSpecc neSpecc merged commit 7e58983 into codex-team:master Jul 17, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants