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

This library is incorrectly bundled on npm #43

Closed
AdrianoRuberto opened this issue Mar 24, 2023 · 1 comment
Closed

This library is incorrectly bundled on npm #43

AdrianoRuberto opened this issue Mar 24, 2023 · 1 comment

Comments

@AdrianoRuberto
Copy link

Hello,

I'm trying to use this library with vitejs and it seems that this library isn't correctly bundled.

The error I have:

[common-js--resolver] Failed to resolve entry for package "@uiw/react-codepen". The package may have incorrect main/module/exports specified in its package.json

The package.json have "module": "esm/index.js" but it doesn't exists in the node_modules
image

@jaywcjlove
Copy link
Member

@AdrianoRuberto Thx!

image

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

2 participants