-
Notifications
You must be signed in to change notification settings - Fork 5
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
Invalid main/module/exports in package json #6
Comments
If i remove the |
Yes you are right, I will open a PR for fixing this asap |
ytkimirti
added a commit
that referenced
this issue
Nov 20, 2024
This option also changes the outputs of tsup. So it does not output index.mjs file but instead index.js and index.cjs files. This breaks esm imports
Hey @yharaskrik, we published a new version. Can you try bumping to 1.0.5? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to run with vite-node causes this error. Seems like maybe the package json isn't quite right?
It looks like the published version is missing the file in the
module
field"module": "./dist/index.mjs",
The text was updated successfully, but these errors were encountered: