babel/generator-babel-boilerplate

Add link to the cost of transpiling

Closed this issue · 6 comments

@samccone did some great research that shows that the config in this library is pretty good for small libs. This should go in the README.

//cc @paulfalgout

(this boilerplate may still switch to Rollup in the future for reasons other than strictly output size, but either way it's good news for the current setup)

@Rich-Harris chimed in: samccone/The-cost-of-transpiling-es2015-in-2016#17 Looks like Rollup might get significantly smaller

turns out mangling breaks everything (as I saw with closure... I am working on updating the source code to allow for this kind of mangling right now)

how did webpack get away with it? It's using the same library under the hood.. is webpack's mangle avoiding certain keywords by default?

it is using a slightly newer version of uglify that does not mangle prop names by default

WELCOME TO THE FUTURE OF HELL

🔥 🀄 🔥