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

Published module entry point does not exist #1

Open
byCedric opened this issue Nov 2, 2024 · 1 comment · May be fixed by #4
Open

Published module entry point does not exist #1

byCedric opened this issue Nov 2, 2024 · 1 comment · May be fixed by #4

Comments

@byCedric
Copy link

byCedric commented Nov 2, 2024

Hi! I'm running into this issue because tldraw is using this package. It seems that the latest published version of this package has multiple entry points:

  • main, which points to ./lib/index.js
  • module, which points to ./lib/index.mjs

Unfortunately, the module entry point doesn't exist: https://unpkg.com/browse/[email protected]/lib/. It's either .js or .cjs.

@TMeerhof
Copy link
Owner

This is my first published package, and I had some issues making it work reliable for both cjs and modules, this seems to be an artifact from an earlier iteration. Let me look into it this week.

@miyanokomiya miyanokomiya linked a pull request Dec 13, 2024 that will close this issue
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 a pull request may close this issue.

2 participants