Re:ECMAScript 2016+ in Firefox
by hzoo on Wednesday February 22, 2017 @08:24AM
(#13705245)
The purpose of Babel/transpilers is to eventually allow users to use the native versions of language features. Native support will eventually be faster (not at first), will result in less code sent to users (compiled code is larger), and easier to debug (don't need sourcemaps).
I made https://github.com/babel/babel-preset-env to make it easier to transition. Hoping that Babel makes it easier to not have to think about whether you are using native or not, so we'll work on that workflow.
Re:ECMAScript 2016+ in Firefox
by mstade on Wednesday February 22, 2017 @08:59AM
(#13705495)
Thanks for your excellent efforts hzoo, and of course everyone else involved! The new env preset really makes it much easier to maintain a forward looking code base.
https://v8project.blogspot.com/2017/02/high-performance-es20...
I made https://github.com/babel/babel-preset-env to make it easier to transition. Hoping that Babel makes it easier to not have to think about whether you are using native or not, so we'll work on that workflow.