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

consume babel-preset-env targets for except #4

Open
AndersDJohnson opened this issue Aug 29, 2017 · 0 comments
Open

consume babel-preset-env targets for except #4

AndersDJohnson opened this issue Aug 29, 2017 · 0 comments

Comments

@AndersDJohnson
Copy link
Owner

AndersDJohnson commented Aug 29, 2017

This would allow us to except from transpilation any modules that don't meet user-specified minimum targeted node version anyway (https://github.com/babel/babel-preset-env#targetsnode).

We would treat these modules as if they were passed to except on an exclude call - that is, not include them in the whitelist of node modules that is allowed in the regex.

@AndersDJohnson AndersDJohnson changed the title consume babel-preset-env targets consume babel-preset-env targets for except Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant