[windup-dev] Let's target ES 6?
David Klingenberg
dklingen at redhat.com
Wed Dec 14 04:52:39 EST 2016
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/windup-dev/attachments/20161214/a3f7c66e/attachment.html
More information about the windup-dev
mailing list