Webpack Exit Point
The output point is controlled by the output setting. This setting is an object. In this setting, you can specify the name of the build file using the filename switch:
webpack.config.jsexport default {
entry: './src/index.js',
output: {
filename: 'build.js',
}
};
As a result, the assembly will still be located in the dist folder, but in the file we specified.
Задание 1
Make your build go into the bundle.js file.