You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note I'm an absolute utter beginner, so treat this ticket more as a kind of usability feedback that might not make too much sense.
I noticed that es2015 preset of babel doesn't make it pick up *.mjs per default and there is no warning/explanation either.
I think this should be changed: .mjs seems to be the default extension for es6 modules, and compiling es6 modules away to older javascript implementations seems to be a common task, hence I would expect ./node_modules/.bin/babel src -d lib --presets=es2015 to either pick up on *.mjs modules and translate them, or give me some hint on why it doesn't want to do so.
The text was updated successfully, but these errors were encountered:
Hey @Jonast! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
Hi @Jonast! A maintainer of the project has notified me that you're missing
some information we'll need to replicate this issue.
Please understand that we receive a high volume of issues, and there are only a limited number
of volunteers that help maintain this project. The easier it is for us to decipher an issue with the info provided,
the more likely it is that we'll be able to help.
Please make sure you have the following information documented in this ticket:
Your Babel configuration (typically in the form of a .babelrc)
Please provide either a link to the problem via the repl, or if the repl is insufficient,
a new and minimal repository with instructions on how to build/replicate the issue.
Please note I'm an absolute utter beginner, so treat this ticket more as a kind of usability feedback that might not make too much sense.
I noticed that es2015 preset of babel doesn't make it pick up *.mjs per default and there is no warning/explanation either.
I think this should be changed: .mjs seems to be the default extension for es6 modules, and compiling es6 modules away to older javascript implementations seems to be a common task, hence I would expect
./node_modules/.bin/babel src -d lib --presets=es2015
to either pick up on *.mjs modules and translate them, or give me some hint on why it doesn't want to do so.The text was updated successfully, but these errors were encountered: