Test build via Webpack

Let's make a test build. To do this, let's make a test file with an entry point:

src/index.jsalert('it works');

In the terminal, while in the root folder of your site, run the build:

terminalnpm run build

As a result, the dist folder should contain a main.js file containing the assembly. This is the default name Webpack gives to the bundle, since we did not specify our own name.

Задание 1

Perform a test build. Check that the built file appears.