Check out my npm package here. Unfortunately, when I try to install it in a project using vite, there seems to be an issue with the build which results in the error mentioned above.
Here is the complete error information:
Your error message text here...
Additionally, I am facing challenges while bundling the project with TypeScript inference. My goal is to export type definitions for the instance and other types, but so far, I have been unsuccessful.
I would greatly appreciate any assistance on this matter.
Below is my current configuration in vite.config.ts file:
Your Vite config code here...
And here is the content of my package.json file:
Your package.json content here...
Despite setting everything up as per the configurations, the functionality doesn't seem to be working properly, and I am unable to identify the root cause of the problem.