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:

alert('it works');

In the terminal, being in the root folder of your website, run build:

npm run build

As a result, the bundle.js file containing the assembly should appear in the dist folder.

Run a test build. Verify that the bundle file appears.

enru