rtsao / babel-preset-es2015-node

:tropical_fish: Babel preset for the necessary es2015 plugins for your version of node
MIT License
89 stars 7 forks source link

allow version to be set as option #7

Open andreineculau opened 8 years ago

andreineculau commented 8 years ago

Context: AWS Lambda runs Node.js v4, but locally we tend to run the latest.

Given this mismatch, it would be nice to set the target Node.js version as an option to this babel plugin, with the default value of process.version. We could then say we always want babel to transpile to Node.js-v4-compatible JS.

mlucool commented 7 years ago

Any ETA on this?