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

Replace babel-preset-latest with babel-preset-env #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Replace babel-preset-latest with babel-preset-env #2

wants to merge 1 commit into from

Conversation

jhwohlgemuth
Copy link

While lamenting the spotty support for ES6 in modern tooling, I stumbled upon your article on making a wrapper for fetch in ES6. Thank you for sharing your experiences.

I thought you might be interested in the fact that babel-preset-latest appears to be deprecated in favor of babel-preset-env. The babel docs say that the "env" preset with no options acts just like the "latest" preset.

Feel free to do whatever you want with this PR. I just wanted to try and give you a little help keeping one of your projects up-to-date 😉👍

Note: The transpiled output is different, but it might actually be better. Full disclosure, I did not test the newly transpiled code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant