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

Switch from preset-latest to preset-env #1711

Closed
Timer opened this issue Mar 3, 2017 · 1 comment
Closed

Switch from preset-latest to preset-env #1711

Timer opened this issue Mar 3, 2017 · 1 comment

Comments

@Timer
Copy link
Contributor

Timer commented Mar 3, 2017

We should probably switch babel-preset-react-app from babel-preset-latest to babel-preset-env. We should target ie 9.

We now have this beautiful warning:

warning react-scripts > babel-preset-react-app > babel-preset-latest@6.22.0:
💥  preset-latest accomplishes the same task as babel-preset-env.
🙏  Please install it with 'npm install babel-preset-env --save-dev'.
'{ "presets": ["latest" }'
 to 
'{ "presets": ["env"] }'.

For more info, please check the docs: http://babeljs.io/docs/plugins/preset-env 👌.
And let us know how you're liking Babel at @babeljs on 🐦

A PR doing this would be welcome, but please research the stability, too!

@Timer Timer changed the title Switch to preset-env? Switch from preset-latest to preset-env Mar 3, 2017
@Timer Timer added this to the 0.10.0 milestone Mar 4, 2017
@Timer
Copy link
Contributor Author

Timer commented Mar 6, 2017

#1742

@Timer Timer closed this as completed Mar 6, 2017
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant