How to create a library that includes Moralis

We’re trying to create a library that includes Moralis. However, during the library process, the build is failing due to React-moralis. I’d like to ask if you have any examples or other materials to help me with this. Thank you.

Can you give more info, like what is the error, what versions you are trying to use