title: angular ng build --prod does not keep the name of the class (MyClass.constructor.name)
body: <p>When compiling in angular 7 production mode I can't keep the class names. I tried the different parameters of the Terser plugin but none of them solve this problem.
  Is there a solution for this problem? Or is there another alternative to MyClass.constructor.name.</p>
  
  <p>Thank you in advance</p>
  
  <p>Below the custom Webpack configuration</p>
  
  <pre><code>const TerserPlugin = require('terser-webpack-plugin');
  
  module.exports = {
      optimization: {
          minimizer: [
              new TerserPlugin({
                  parallel: true,
                  terserOptions: {
                      keep_classnames: true,
                      mangle: false
                  }
              })
          ]
      }
  };
  </code></pre>
  
  <ul>
  <li>@angular-builders/custom-webpack": "^7.1.1"</li>
  <li>@angular-devkit/build-angular": "^0.11.2"</li>
  <li>@angular/cli": "^7.0.4",</li>
  </ul>