Course lesson

Install webpack and create a default bundle

In this lesson, we'll add some initial files to our project, install webpack and webpack-cli, and setup an npm script to create a JavaScript bundle using webpack. We'll inspect the resulting bundle to understand what webpack does by default. We’ll also add a...

Duration
9 min
Access
Pro
Transcript
Available

In this lesson, we'll add some initial files to our project, install webpack and webpack-cli, and setup an npm script to create a JavaScript bundle using webpack. We'll inspect the resulting bundle to understand what webpack does by default. We’ll also add a .gitignore file to avoid committing node_modules and files that result from a build process.