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

Consider using babel-preset-env #1101

Closed
SimenB opened this issue Nov 3, 2016 · 3 comments
Closed

Consider using babel-preset-env #1101

SimenB opened this issue Nov 3, 2016 · 3 comments

Comments

@SimenB
Copy link

SimenB commented Nov 3, 2016

Description

Instead of rolling your own preset config checking node version (https://github.com/avajs/ava/blob/master/lib/babel-config.js#L43-L52), just have preset: ['env'].

babel/babel-preset-env#35

I can provide a PR if you want it?

@sindresorhus
Copy link
Member

sindresorhus commented Nov 3, 2016

Duplicate of #148. I'd like to see it mature more first.

@SimenB
Copy link
Author

SimenB commented Nov 3, 2016

Duplicate of itself? I suppose #148 is the one, or #1068.

@sindresorhus
Copy link
Member

Ah yes

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

No branches or pull requests

2 participants