title: TypeScript compile AMD modules with required defines
body: <p>In AMD (as implemented in requirejs) one can defined modules to be included as dependencies, eg:</p>
  
  <pre><code>define(['require','exports'], function(require, exports) {
    var externalDep = require('path/to/depModule');
  
    // Use the module somewhere.
  });
  </code></pre>
  
  <p>I have tried the --module amd and it outputs correctly an AMD module usable by requirejs.</p>
  
  <p>Is it possible to define dependencies inside the source of TypeScript source file that translates to something like the example above?</p>