It appears there's an issue with the current Webpack configuration file. The error is pointing out that the old method, webpack.optimize.UglifyJsPlugin, has been removed in newer Webpack versions, and the new approach is to utilize config.optimization.minimize.
Description
It appears there's an issue with the current Webpack configuration file. The error is pointing out that the old method, webpack.optimize.UglifyJsPlugin, has been removed in newer Webpack versions, and the new approach is to utilize config.optimization.minimize.