-
Notifications
You must be signed in to change notification settings - Fork 250
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
Add support for .mjs
and .cjs
file formats
#2343
Comments
what are those CJS files? commonJS files? 🤔 |
Yeah, just needs to be added here: https://www.github.com/stryker-mutator/stryker/tree/epic%2Fmutation-switching/packages%2Finstrumenter%2Fsrc%2Fparsers%2Findex.ts |
More info on these extensions can be found here: https://nodejs.org/api/esm.html A great read IMHO |
Hi @nicojs That sounds like not much work to do. Can I try to work on this? |
Sure! Thanks in advance! |
The new instrumenter determins the file types based on the extension. We're missing support for
.cjs
and.mjs
file types.The text was updated successfully, but these errors were encountered: