title: How to get one file as output of angular cli
body: <p>I'm working on ng2 application and I use <code>@angular/cli</code> to build it. As output it emits several js files like <code>.inline.js</code>, <code>.vendor.js</code> etc.</p>
  
  <p>The question is -- how to set up angular-cli to emit only one file as a result, i.e. bundle <code>vendor.js</code>, <code>inline.js</code> etc. into one big file?</p>
  
  <p>I understand that it could be done by using additional bundler but it would be nice to achieve it via ng-cli</p>
  
  <p>PS I don't use lazy loading in this app and definitely won't.</p>
  
  <p>PPS Just concat files afterwards is not an option because:</p>
  
  <ul>
  <li>it doesn't work with hash in file name, need to update html as well</li>
  <li>it introduces an additional build step which is not necessary</li>
  </ul>
  
  <p>As for now it looks like moving to pure webpack would be the easiest and best option</p>
  
  <p>UPDATE</p>
  
  <p>there is possibility to avoid <code>vendor.js</code> setting <code>--vendor-chunk</code> to <code>true</code>
  but as a result I still get several files:
  <code>inline.bundle.js</code>
  <code>main.bundle.js</code>
  <code>polyfills.bundle.js</code></p>