News for hackers. Stuff that matters.
Re:Babili: An ES6+ aware minifier based on Babel by k__ on Tuesday August 30, 2016 @04:50PM (#12393781)
Can this yield smaller bundles?
Re:Babili: An ES6+ aware minifier based on Babel by Kequc on Tuesday August 30, 2016 @05:53PM (#12394251)
I've been seeing incredibly compressible output from Typescript, if that helps any. If what you mean by 'bundle' are these 'webpack' things that include css and images, and all that. Smaller bundle to me would be not to use one at all.

It doesn't seem like webpack's chief concern is file size or simplicity. So if yours is, just don't use it.

Re:Babili: An ES6+ aware minifier based on Babel by k__ on Tuesday August 30, 2016 @06:09PM (#12394359)
What has this to do with TypeScript?
Re:Babili: An ES6+ aware minifier based on Babel by anotherthing on Tuesday August 30, 2016 @06:25PM (#12394459)
Can babili or babel parse TS?
Re:Babili: An ES6+ aware minifier based on Babel by pipeep on Wednesday August 31, 2016 @04:08AM (#12396734)
Babel can parse Flow, which is similar to Typescript. However, Babel doesn't have any built-in support for inferring or analyzing flow types. However, some of this type information might be useful in building a more advanced closure-like minifier.