Changed
@babel/register
/@babel/preset-env
is configured to not transpile any
language features that the running Node process supports. That means if you use
features in your transform code supported by the Node version you are running,
they will be left as is. Most of ES2015 is actually supported since Node v6.- Do not transpile object rest/spread in transform code if supported by running
Node version.
Fixed
- Presets and plugins passed to
@babel/register
are now properly named and
loaded.