title: Unable to use the build version of tsc compile
body: <p>I am building the ts version of all files to one file and trying to use that. But it does not work with that. The normal one works. Here is the tsconfig: </p>
  
  <pre><code> "compilerOptions": {
      "target": "ES5",
      "module": "system",
      "moduleResolution": "node",
      "sourceMap": true,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "removeComments": false,
      "noImplicitAny": false,
      "declaration": true,
  "outDir":"client/build/",
  "outFile": "all.js"
    },
  </code></pre>
  
  <p>The html loads all.js and the system import.</p>
  
  <pre><code>&lt;script src="client/build/all.js"&gt;&lt;/script&gt;
  &lt;!-- 2. Configure SystemJS and Import --&gt;
  &lt;script&gt;
      System.config({
      packages: {        
        client: {
          format: 'register',
          defaultExtension: 'js'
        }
      }
    });
    System.import('client/build/all')
          .then(null, console.error.bind(console));
  &lt;/script&gt;
  </code></pre>
  
  <p>The build happens but unable to load into index.html file. What more is needed to get this working? Second is there a minify with tsc? 
  Note: have checked <a href="https://stackoverflow.com/questions/34474651/typescript-compile-to-single-file">Typescript compile to single file</a></p>
  
  <p><strong>Update</strong></p>
  
  <p>Just upgraded to Typescript 1.9dev and getting error:</p>
  
  <p>[0] node_modules/angular2/src/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.
  [0] client/services/httpprovider.ts(13,5): error TS4053: Return type of public method from exported class has or is using name 'Observable' from external module "c:/git/projects/edureka/yeo/2/node_modules/rxjs/Observable" but cannot be named.</p>
  
  <p><strong>Update:</strong> Now on 1.82 stable version.</p>
  
  <p><strong>Update</strong> Update: Worked with bundles config definition (Check comments for Sasxa) - <a href="https://github.com/systemjs/systemjs/blob/master/docs/production-workflows.md" rel="nofollow noreferrer">https://github.com/systemjs/systemjs/blob/master/docs/production-workflows.md</a></p>