title: Replace 'require' on Typescript bundle
body: <p>I have a main TypeScript file with an import to another file like so:</p>
  
  <pre><code>import './app.run';
  </code></pre>
  
  <p>I use <a href="https://github.com/ToddThomson/tsproject" rel="nofollow">tsproject</a> to compile my ts files into a single bundle and then use System JS in my html page like so:</p>
  
  <pre><code>System.import('app/app.module');
  </code></pre>
  
  <p>But in my bundle, all the file imports are replaced with commonjs require statements, like so:</p>
  
  <pre><code>require('./app.run');
  </code></pre>
  
  <p>While there is no longer a <code>app.run</code> file present, because everything is bundled. How do I properly bundle ts without external file imports?</p>