Installing the Webpack bundler in JavaScript
To bundle modules, we will use the popular Webpack bundler.
Let's install the bundler itself:
terminalnpm install webpack --save-dev
Now we will also install the Webpack CLI, which allows you to access the bundler via the command line:
terminalnpm install webpack-cli --save-dev
Задание 1
Install Webpack and Webpack CLI.
Задание 2
Verify that Webpack is installed by running a version check command.