1×
Become a member
to unlock all features
Autoplay

    Install webpack and create a default bundle

    webpackwebpack

    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.