3 ms·
You could just use TypeScripts ES6 output directly during development, using a browser that supports ES6 natively, then add Babel to the build chain for public
by jsheard 10y ago
You could just use TypeScripts ES6 output directly during development, using a browser that supports ES6 natively, then add Babel to the build chain for public builds that need to work on older browsers.
- moosingin3space 10y agoDo I generally need to use prerelease browsers for ES6 support? Sorry, it's been a long time since I've been on the frontend.
- jsheard 10y agoThe stable versions of Chrome, Firefox and Edge all support ES6 generators. Safari stable doesn't support them yet but the tech preview does. https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/