Well,

if we want to target ES6 I think we should do it directly using TypeScript. IMHO we should avoid using Babel, because it would make our source maps useless and debugging more difficult.
I checked browser support of ES6 and it seems good.


David

On Wed, Dec 14, 2016 at 3:47 AM, Ondrej Zizka <ozizka@redhat.com> wrote:
Could we target ES 6?


Currently we can't use certain useful things like iterators, see
https://github.com/Microsoft/TypeScript/issues/6842

and
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map#Iterating_Maps_with_for..of


Are we assuming someone running 2+ years old browsers?
If yes, someone mentioned targetting ES 6 and then Babel to solve that.

Ondra

--
--
Ondrej Zizka, Windup project, Brno

_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev