title: Angular 5 - Main bundle file is too large on the development server
body: <p>We are developing an application using <code>Angular 5</code>. After running the <code>ng build --prod --aot</code> and deployed the dist folder to the dev server the main bundle produced <code>2.2MB on initial load</code>. It's already small compared to <code>8MB</code> vendor bundle size (when running ng build --prod) but still, we need to lower the size of the main bundle. Is there any way to lower the size of the main bundle?</p>
  
  <p><a href="https://i.stack.imgur.com/PpVaD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PpVaD.png" alt="network"></a></p>