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

package.json has incorrect ESM path #73

Closed
joshhunt opened this issue Jan 19, 2024 · 0 comments · Fixed by #78
Closed

package.json has incorrect ESM path #73

joshhunt opened this issue Jan 19, 2024 · 0 comments · Fixed by #78
Labels
good first issue Good for newcomers

Comments

@joshhunt
Copy link

Trying to import this package from an ESM-first tool, such as vite, fails because the module path in the package.json file does not point to the correct index file. It points to dist/esm/index.js when the file is actually at dist/esm/src/index.js

image

To reproduce, check out https://github.com/grafana/grafana-aws-sdk-react

@idastambuk idastambuk added the good first issue Good for newcomers label Jan 26, 2024
@jackw jackw mentioned this issue Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants