Configuring the Webpack build running in JavaScript

Now in a package.json you should have modules enabled:

package.json{
  "type" : "module"
}

Let's also place the "scripts" setting in this file for easy Webpack running:

package.json{
  "type" : "module",
  "scripts" : {
    "build" : "webpack"
  }
}

After that, our bundler can be called with the following command:

terminalnpm run build
Задание 1

Edit the package.json file accordingly.