Does Babel5 support all of ES6 or are some parts sold separately?


Does Babel5 support all of ES6 or are some parts sold separately?

I've inherited a frontend project that's using babel 5.8.34. It works as is but nobody really knows how the build system works so we generally have to tip toe around it. We recently just discovered Promises don't work.

So, as the title asks. Is es2015 support whole or partial?

As far as I can tell, all we do is gulp.src().pipe(babel()).pipe(dest) so nothing fancy going on here. Is there anything I can do to add full es2015 support or whatever else is helpful?

Google mostly only returns either results about babel 6, or 5 to 6 migration articles so it's not been very helpful. The legacy docs are also rather sparse. I would love to upgrade but we have other, more important fires to first put out.

Submitted July 13, 2017 at 05:01PM by iHaveToUseBabelFive
via reddit http://ift.tt/2ucUlxJ

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s