title: Typescript doesn't compiles paths in tsconfig
body: <p>This is an old question, but I haven't found the exact answer.</p>
  
  <p>I want to reference my modules in my TS project without using '../../../etc' import syntax.
  I made the following changes:</p>
  
  <pre><code>...
  baseUrl: ".",
  paths: {
    "@orm/*": ["./src/orm/*"]
  }
  ...
  </code></pre>
  
  <p>the IDE is happy (VSCode) and intellisense respect when I reference </p>
  
  <pre><code>import {} from '@orm/something'
  </code></pre>
  
  <p>but when I compile it, I get require('@orm/something') in my compiled js file and of course this path doesn't exists.</p>
  
  <p>Example of compiled folder:</p>
  
  <pre><code>dst\
  --orm\
  ----something.js
  --another_folder\
  ----myfile.js (here is import {} from '@orm/something')
  </code></pre>
  
  <p>And here is my tsconfig file:</p>
  
  <pre><code>{
    "compilerOptions": {
      "outDir": "dst",
      "experimentalDecorators": true,
      "module": "commonjs",
      "target": "es5",
      "moduleResolution": "node",
      "emitDecoratorMetadata": true,
      "sourceMap": false,
      "baseUrl": ".",
      "paths": {
        "@orm/*": ["./src/orm/*"]
      }
    },
    "compileOnSave": false
  }
  </code></pre>
  
  <p>I don't understand what am I doing wrong, I don't want to use somethin like webpack to workaround, I want to keep my folder structure for the development.</p>
  
  <p>Please help)</p>