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

Add support for .mjs and .cjs file formats #2343

Closed
nicojs opened this issue Aug 1, 2020 · 5 comments
Closed

Add support for .mjs and .cjs file formats #2343

nicojs opened this issue Aug 1, 2020 · 5 comments
Labels
🐛 Bug Something isn't working
Milestone

Comments

@nicojs
Copy link
Member

nicojs commented Aug 1, 2020

The new instrumenter determins the file types based on the extension. We're missing support for .cjs and .mjs file types.

@nicojs nicojs added the 🐛 Bug Something isn't working label Aug 1, 2020
@nicojs nicojs added this to the 4.0 milestone Aug 1, 2020
@bartekleon
Copy link
Member

bartekleon commented Aug 1, 2020

what are those CJS files? commonJS files? 🤔
normal javascript mutator should be able to use mjs files tho 🤔

@nicojs
Copy link
Member Author

nicojs commented Aug 3, 2020

@nicojs
Copy link
Member Author

nicojs commented Aug 4, 2020

More info on these extensions can be found here: https://nodejs.org/api/esm.html

A great read IMHO

@Omhet
Copy link
Contributor

Omhet commented Aug 17, 2020

Hi @nicojs

That sounds like not much work to do. Can I try to work on this?

@nicojs
Copy link
Member Author

nicojs commented Aug 17, 2020

Sure! Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants