userback / widget-js

MIT License
4 stars 3 forks source link

require() of ES Module #45

Closed ekwoka closed 1 year ago

ekwoka commented 1 year ago

This is in a next app, and it's quite confusing.

It seems like, for some reason, it's going to @userback/react but grabbing the cjs instead of the mjs file but then trying to grab the widget.mjs

I can only guess there is some kind of conflict with the exports

Shard commented 1 year ago

Thanks for your PR @ekwoka, I have merged the PR and cut a new release of v0.2.1.

Hopefully that resolves the last of our importing issues 🎉