The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Updating Babel 5 to 6

Updating Babel 5 to 6

5:00
Babel 6 was a major change in how Babel works and is configured. In this lesson, find out how to update this Angular application built with Webpack to use Babel 6. For more information about how modules have changed in Babel 6, see [this blogpost](https://medium.com/@kentcdodds/misunderstanding-es6-modules-upgrading-babel-tears-and-a-solution-ad2d5ab93ce0) by Kent.
Watch this lesson now
Avatar
egghead.io

Babel 6 was a major change in how Babel works and is configured. In this lesson, find out how to update this Angular application built with Webpack to use Babel 6.

For more information about how modules have changed in Babel 6, see this blogpost by Kent.

Avatar
Ross

What does the stage-2 preset do exactly? The docs page for it is pretty barren and Googling has turned up nothing.

I have an app up and running with just the es2015 preset, so I'm curious about what stage-2 does.

In reply to egghead.io
Avatar
Joel

What does the stage-2 preset do exactly? The docs page for it is pretty barren and Googling has turned up nothing.

stage-2 refers to the current stage of the proposal in the inclusion process into the ECMAScript20xx specification. stage-0 is a raw proposal that is experimental. stage-2 is well on its way to becoming part of the language.

In reply to Ross
Avatar
Jesús García

Super curse!

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?