babel-preset-es2015-node
babel-preset-es2015-node copied to clipboard
allow version to be set as option
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.
Any ETA on this?