4 ms·
Not got time to look at this in depth right now, but glad to see somethibg like this. Is it swift to ES5, 6 or 7? Update: looks like ES5.
by tomelders 11y ago
Not got time to look at this in depth right now, but glad to see somethibg like this.
Is it swift to ES5, 6 or 7?
Update: looks like ES5.
- Dnld 11y agoYes, right now, it converts to ES5.
- dchurchill 11y agoWe decided to stick with ES5, since there are still many browser compatibility issues with ES6.
- zghst 11y agoHave you looked into Babel?
- theodorton 11y agoWhy not transpile down to ES6/2015 and rely on Babel for transpilation to ES5?
- rlander 11y agoYou're asking why he doesn't want to add yet another compilation step? Isn't that obvious? swift -> es6 -> es5
- jbigelow76 11y agoIf you need code written in Language X but insist on using Language Y "yet another step" probably isn't the deal breaker you imagine it to be.
- tomelders 11y agoI don't see why you'd need that intermediary step. Babel transpiles to ES5. I imagine this in an alternative to Babel, not a companion.