-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
breaking change in @babel/preset-env 7.4.0 #9707
Comments
Hey @andreineculau! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
ping @nicolo-ribaudo @zloirock |
Is this a public API? |
Ok either way (if we wanted it to be public API or not) that was unintentional to remove a previously exported function. Nicolò made a PR |
Bug Report
Current Behavior
isPluginRequired is not exported anymore from
@babel/preset-env
Input Code
Expected behavior/code
isPluginRequired would be a function, not undefined, with the same signature as before.
Babel Configuration (.babelrc, package.json, cli command)
Environment
Possible Solution
Whether functions like
isPluginRequired
were intended or not to be exposed is a matter of its own, but such a refactoring should not be done in a minor-version bump.Additional context/Screenshots
The text was updated successfully, but these errors were encountered: