babel-preset-es2015-node icon indicating copy to clipboard operation
babel-preset-es2015-node copied to clipboard

allow version to be set as option

Open andreineculau opened this issue 8 years ago • 1 comments

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.

andreineculau avatar Aug 12 '16 10:08 andreineculau

Any ETA on this?

mlucool avatar Nov 04 '16 12:11 mlucool