Webpack 4 comes with the following statement:
Error:
webpack.optimize.UglifyJsPlugin
has been removed, please useconfig.optimization.minimize
instead.
Fair enough, but I cannot find any information about configuring the UglifyJsPlugin instance running under the hood, for example to change the cache directory. Can this be done?