serverless-runtime-babel icon indicating copy to clipboard operation
serverless-runtime-babel copied to clipboard

Support for node 4 runtime in lambda?

Open edclement opened this issue 8 years ago • 6 comments

It would be great if support for the node4 runtime in lambda could get added. We could then switch presets from es2015 to es2015-node4 to reduce the amount of transpiling happening

edclement avatar Apr 13 '16 12:04 edclement

Just noticed that the master branch seems to have support. Anyway we can get a tagged release?

edclement avatar Apr 13 '16 12:04 edclement

https://aws.amazon.com/blogs/compute/node-js-4-3-2-runtime-now-available-on-lambda/

With es6 supported in node 4 and lambda now running 4.3.2, what of this is still valid?

stramel avatar Apr 15 '16 01:04 stramel

Babel supports much more of es6 features and even some es7 that node 4/5 don't yet support. Babel will always support the latest and/or draft ecmascript spec.

edclement avatar Apr 15 '16 01:04 edclement

Any progress on this? It would be nice to not have to point npm to master or a specific commit.

edclement avatar Apr 17 '16 23:04 edclement

I think it'd better to stay with the official es2015 preset.

@edclement you could overwrite the Babel config to use the es2015-node4.

minibikini avatar Apr 19 '16 13:04 minibikini

Yeah, I'm ok with that but can we get a tagged release for this commit:

79c87b25f47122440fa0250e81837ba82e4cd533

edclement avatar May 02 '16 12:05 edclement