Skip to content

Error using the package when testing with Vitest #46

Description

@martines3000

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions