Test build using Webpack in JavaScript
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, being in the root folder of your website, run build:
terminalnpm run build
As a result, the bundle.js file
containing the assembly should appear
in the dist folder.
Задание 1
Run a test build. Verify that the bundle file appears.