3 ms·
That's great but is there any ES6 minification tool that handle ES6 ? Because last time I checked uglify didn't handle generators (and I assume by async to ES6
by hokkos 11y ago
That's great but is there any ES6 minification tool that handle ES6 ? Because last time I checked uglify didn't handle generators (and I assume by async to ES6 target they transform it to generators).
- flyingmutant 11y agoThere is http://rollupjs.org/ http://rollupjs.org/, which is quite young though.
- hokkos 11y agoIt uses babel, so it uses regenerator ( https://github.com/facebook/regenerator https://github.com/facebook/regenerator ) and then uglify probably. It will be great when typescript can do it natively because it knows at lot more before the being translated to javascript : https://github.com/Microsoft/TypeScript/issues/8 https://github.com/Microsoft/TypeScript/issues/8