-
Notifications
You must be signed in to change notification settings - Fork 6
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
Lack of CommonJS support #49
Comments
sorry for the late reply, is it still actual? |
Hey @vmidyllic, yes, this issue is still occurring. There is no commonJS support on the latest version. |
@KyrneDev v1.0.0-beta.7 contains explicit CommonJS build support. (added in #56 ) But the issue with tests - is not about CommonJS build of js-iden3-auth lib. For now, you stick to the approach they recommend or the one which we use in our tests (without experimental feature support):
Also, when we wrote tests using the mocha framework we didn’t face a such error. |
Hello,
Currently, this package doesn't support CommonJS modules, the build files are esModule only. This is causing a pretty big headache for my project that relies on a heavy set of jest tests.
I'm having to use the experiment VM modules option for node, which in turn is causing seg faults on our CI.
Would be great to have proper CommonJS support if possible.
The text was updated successfully, but these errors were encountered: