Closed kilemensi closed 7 months ago
Hey and thanks for pointing this out! Indeed it should. I don't know where this .umd.
had slipped in from 👀 .
Fixed now in v5.0.3
!
Thanks for the speed response @nygardk. Tested v5.0.3
and it fixes this issue.
Description
The
exports.require
in package.json points toindex.umd.cjs
. Shouldn't it point toindex.cjs
instead?Otherwise, getting this error on require.resolve("react-share")
Versions
react-share:
5.0.2
node:18.18.2