Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using the package when testing with Vitest #46

Open
martines3000 opened this issue Mar 25, 2024 · 0 comments · May be fixed by #47
Open

Error using the package when testing with Vitest #46

martines3000 opened this issue Mar 25, 2024 · 0 comments · May be fixed by #47

Comments

@martines3000
Copy link

martines3000 commented Mar 25, 2024

Hi @developit. This package is one of our sub dependencies and is causing the following issue when testing with Vitest:
image

I managed to patch and resolve the issue in our project, but it would be nice if the original code can get fixed, so I will open a PR.

The PR will add TSUP to bundle, which simplifies the bundling process and I also fixed the package.json exports to match the changes.

I tested the newly bundled package on arethetypeswrong and it looks like its packaged fine to support both ESM and CJS environments.

@martines3000 martines3000 linked a pull request Mar 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant