I would like to disable Webpacks optimization.minimize.
The example in the docs
module.exports = {
  //...
  optimization: {
    minimize: false,
  },
};
works for me only with mode: development.
So how to achiev that?
I saw this answer, but it does not respect mode: production.