title: Improving production build time for Angular 7 application
body: <p>My application takes a very long time to build for production using <code>ng build --prod</code></p>
  
  <p>Sometimes it even fails with</p>
  
  <blockquote>
    <p>FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory</p>
  </blockquote>
  
  <p>Is there something I can do to reduce the build time?</p>