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

Missing exports types in package.json #53

Open
Bug38 opened this issue Oct 17, 2024 · 0 comments
Open

Missing exports types in package.json #53

Bug38 opened this issue Oct 17, 2024 · 0 comments

Comments

@Bug38
Copy link

Bug38 commented Oct 17, 2024

It seems that types are missing in the exports section of packages.json :
image

This fixes the error :

"exports": {
    ".": {
      "types": "./types/index.d.ts",
      "require": "./src/avatar.js",
      "import": "./esm/index.js"
    }
  },```
@Bug38 Bug38 mentioned this issue Oct 17, 2024
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

No branches or pull requests

1 participant