In this lesson we learned:
- A popular Node package for transpiling your project automatically is called Babel.
- Babel is configured to target a list of browsers or a percentage of internet users via a .browserslistrc file.
Babel can be set up by:
- Initializing your project with
- Installing the necessary libraries as developer dependencies:
- Adding a
buildcommand in package.json specifying your source code directory and the output location.
Using Babel and transpilation, you can make your website more consistent across all of the ways users access the internet!