So, today I'm using babel to transpile my code to es5.
Anyone know of any good tooling to use transpiled code for older browsers and es6 for newer?
Anyone know of any good tooling to use transpiled code for older browsers and es6 for newer?
EDIT (for clarity): It'd be great to see similar query support to derive a "lowest common denominator" Babel preset for an intended ES generation vs. browser profile set.
[1] https://github.com/postcss/autoprefixer [2] https://github.com/ai/browserslist#queries
Also https://twitter.com/samccone/status/722826060161617923.
You should continue to use the transpilers for some time though. It has been reported that many ES6 features run quite a bit faster as transpiled ES5 than natively as ES6.