Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am not sure when this was written, but Lambda supports ES6 directly as of about a month ago. https://aws.amazon.com/blogs/compute/node-js-4-3-2-runtime-n...

I think you can avoid the transpiling/babel dependency.

Great work!



Yep, I started it before that. I'd love to lessen the dependency on Babel/Webpack as much as possible.

I'm still using async/await, ES6 modules and some other more experiment ES-next features, so I think it will be awhile before Babel/Webpack can be completely removed. Of course, I don't really have to use those features. :-)


If the babel/webpack builds happen before deployment to Lambda, I'm not sure it really matters at this point... once we see Node > 7 or so drop, with ES6 module support, it might then be time to consider dropping babel, but it's going to be around a while, and still nicer in a lot of ways than alternatives.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: