uiwjs / react-codepen

A React component is provided that allows you to programmatically generate codepen projects from code samples on the fly.
https://uiwjs.github.io/react-codepen/
3 stars 1 forks source link

This library is incorrectly bundled on npm #43

Closed AdrianoRuberto closed 1 year ago

AdrianoRuberto commented 1 year ago

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 commented 1 year ago

@AdrianoRuberto Thx!

image