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

fix: improve cjs esm compatibility #47

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

martines3000
Copy link

@martines3000 martines3000 commented Mar 25, 2024

Fixes: #46 and also #36 and #44

@SnickerChar
Copy link

Will this fix #44 as well do you think?

@martines3000
Copy link
Author

Will this fix #44 as well do you think?

Yes, this PR also resolves that issue. There was another issue now ReferenceError: __filename is not defined in ES module scope, but I fixed this in latest commit.

Thank you for making me aware of that, it helped me catch the bug 👍 .

@martines3000
Copy link
Author

I also fixed a wrong import in tests and small lint issue that was introduced by me. Now it should be better.

@martines3000
Copy link
Author

@developit When you get the time, please check out the PR as it should resolve quite a lot of issues.
Thank you in advance 💯 .

@EmilIvanichkovv
Copy link

Possibly a fix for #48 too

@DanielSchiavini
Copy link

The build is broken for 7 months in this PR isn't reviewed after 4 months. Maybe time to fork this 😢

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 this pull request may close these issues.

Error using the package when testing with Vitest
4 participants