title: Build Angular2 HTML and TypeScript to a single file
body: <p>I'm putting together an app (Large scale) using Angular2 and TypeScript.  It will need to be divided into numerous projects and each project will have numerous components each with a <code>.html</code> view, <code>.css</code> stylesheet and <code>.ts</code> logic / class.</p>
  
  <p>I would like each project to compile to a single <code>*.js</code> file and be copied to a host website which will run in IIS.  This would be similar to how a WPF or Silverlight app is built with the <code>.xaml</code> files all getting compiled into the <code>.dll</code>.</p>
  
  <p>I've had a look around the web and am able to get the <code>.ts</code> files to build to a single <code>.js</code> file using the <code>--outFile</code> option.  But this doesn't help me with the <code>.html</code> files or the <code>css</code>.</p>
  
  <p>Any help would be greatly appreciated even if it's to say that what I'm asking is impossible :-)</p>
  
  <p>Stephen</p>