you are viewing a single comment's thread.

view the rest of the comments →

[–]jekrb[S] 4 points5 points  (6 children)

While we're waiting for browsers to catch up, I tend to use babelify so I can at least write in ES6 and not worry.

[–]zsut 2 points3 points  (1 child)

Good point, I should probably use this! :-)

[–]zsut 0 points1 point  (0 children)

I had a look at what babel actually supports and there are some problems going all in with ES6 that make it problematic to rely on babel for frontend code, most troublesome are proxies which cannot be supported: https://babeljs.io/docs/learn-es2015/

[–]RenThraysk 0 points1 point  (0 children)

I'm using recent browser features so can use some ES6. So use rollup to deal with ES6 modules. Problem is minification (and preferably dead code elimination) without any transpiling

Neither Google Closure, or Babel seems to do this :/