title: The empty content of ts file in browse
body: <p>I had created a project in ASP.NET-Core. The project has been configured, that for folder <code>wwwroot</code> contains only local files like <code>*.html, *.css, *.js</code> and so on. Files with extension <code>*.ts</code> are in other folder names <code>scripts</code>. All looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/1Z7xN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1Z7xN.png" alt="enter image description here"></a></p>
  
  <p>Settings for <em>tsconfig.json</em>:</p>
  
  <pre><code>{
    "compilerOptions": {
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "module": "commonjs",
      "noEmitOnError": true,
      "noImplicitAny": false,
      "outDir": "../wwwroot/appScripts/",
      "removeComments": false,
      "sourceMap": true,
      "target": "es5"
    },
    "exclude": [
      "node_modules"    
    ]
  }
  </code></pre>
  
  <p>Everything is good compile. As you can see: the property <em>sourceMap</em> (in tsconfig.json) has value <strong>true</strong>, well at the end of each <code>*.js</code> (created by **.ts*) is added sourceMapping:
  <a href="https://i.stack.imgur.com/cFm3E.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cFm3E.png" alt="enter image description here"></a></p>
  
  <p><em>app.js.map</em>:</p>
  
  <pre><code>{
    "version": 3,
    "file": "app.js",
    "sourceRoot": "",
    "sources": [
      "../../scripts/app.ts"
    ],
    "names": [
      "AppComponent",
      "AppComponent.constructor"
    ],
    "mappings": "(...)"
  }
  </code></pre>
  
  <p>List of <code>sources</code> points for good file ts:</p>
  
  <p><a href="https://i.stack.imgur.com/efUk2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/efUk2.png" alt="enter image description here"></a></p>
  
  <p>I stared the project in Chrome / Chrome Canary (with / without debug - the same effect). Then go to source (<em>F12 -> Sources</em>). I see that the files <code>script/app.ts</code> and <code>script/boot.ts</code> are empty:
  <a href="https://i.stack.imgur.com/jCzgX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jCzgX.png" alt="enter image description here"></a></p>
  
  <p>When i try to open <code>script/app.ts</code> in IE11 i get the error:</p>
  
  <pre><code>Could not locate http://localhost:61272/appScripts/../../scripts/app.ts specified in source map http://localhost:61272/appScripts/app.js.map.
  </code></pre>
  
  <p>Maybe you know what's wrong? <strong>I think that this issue create another problem: I can't debug..</strong></p>