Hey! Thank you so much for such a useful library. I've found the problem with Next.js if I try to use it out of the box, the compiler gives an error because it's trying to use esm module on the server like so
I think the problem is it's trying to use ESM module as the main
if I change package.json main property like this
It compiles successfully, I'm not sure, but I think that is how it suppose to work
main - points to cjs
module - points to esm
I'm a newbie in open source, so let me know if that was helpful and if you want me to do anything else, thank you for all your work that is truly the best select for react
Hey! Thank you so much for such a useful library. I've found the problem with Next.js if I try to use it out of the box, the compiler gives an error because it's trying to use esm module on the server like so
I think the problem is it's trying to use ESM module as the main if I change package.json main property like this
It compiles successfully, I'm not sure, but I think that is how it suppose to work main - points to cjs module - points to esm I'm a newbie in open source, so let me know if that was helpful and if you want me to do anything else, thank you for all your work that is truly the best select for react