babel/example-node-server

Unwanted transformations

aprilmintacpineda opened this issue · 0 comments

Correct me if I am wrong but looking at babelrc file, this example will transpile ES6 to ES5. Transforming ES6 features into ES5 for NodeJS is basically exchanging superior codes for inferior ones.

The example should not transpile ES6 codes down to ES5.

https://nodejs.org/en/docs/es6/
https://node.green/