FAQ

Why is the output of for...of so verbose and ugly?

In order to comply with the specification, the iterator’s return method must be called on errors. An alternative is to enable loose mode but please note that there are many caveats to be aware of if you enable loose mode and that you’re willingly choosing to be spec incompliant.

Help?! I just want to use Babel like it was in 5.x! Everything is too complicated now!

Upgrading from Babel 5.x to Babel 6

At the heart of Babel 6 are plugins. What plugins you need completely depends on your specific configuration but just add the following .babelrc file to get all the same transforms that were in Babel 5: