react-use-clipboard icon indicating copy to clipboard operation
react-use-clipboard copied to clipboard

Add "exports" field to package.json for modern JS

Open danoc opened this issue 4 years ago • 0 comments

https://web.dev/publish-modern-javascript/

I tried using exports but had to remove it in #33 to fix #31. It'd be great to add back since it's smaller than the other bundles. I'm not sure if the issue was in Next.js or microbundle, but it should be easy to find out by testing Next.js with any other package that uses exports in package.json.

danoc avatar Dec 29 '20 14:12 danoc