consume babel-preset-env targets for except
AndersDJohnson opened this issue · 0 comments
AndersDJohnson commented
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.