Setting up Webpack build run

Now in the package.json file you should have the following modules enabled:

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

Let's also place the "scripts" setting in this file for convenient Webpack launch:

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

After this, our collector can be called with the following command:

terminalnpm run build
Задание 1

Make the appropriate edits to the package.json file.