title: Compile TypeScript with modules and bundle to one file
body: <p>When using a <code>module</code> inside <code>tsconfig.json</code> the TypeScript compiler will ignore any <code>--out</code> flags and generate regular output, e.g. <code>commonjs</code> modules in seperate files.</p>
  
  <p>Is there a way to bundle all transpiled files into a single file?</p>
  
  <p>I am currently trying to use webpack but can not get any of the loaders to run. Running the TypeScript compiler directly works.</p>