Updating Babel 5 to 6

Share this video with your friends

Send Tweet

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.

Jesús García
Jesús García
~ 9 years ago

Super curse!

Ola
Ola
~ 8 years ago

I have been trying to figure out the difference between using the 'babel-loader' as a *.js loader and using 'babel-polyfill' as first source in entry. But I can't get my head around it, what is the difference?

Kent C. Dodds
Kent C. Dodds(instructor)
~ 8 years ago

babel-loader is a package allows transpiling JavaScript files using Babel and webpack. Learn more about that from my webpack videos. Specifically this one. Learn about babel-polyfill here: https://babeljs.io/docs/usage/polyfill/