code: function configureJsMinification(config) {
    if (!(minify || minifyJs))
      return
    config.optimization.minimize = true
    config.optimization.minimizer = [new UglifyJsPlugin({
      sourceMap: !disableSourceMaps,
      uglifyOptions: {
        output: {
          comments: false,
        },
      },
    })]
  }
docs: Configure the minifier to compress the final bundle.