title: tsconfig paths not working
body: <p>I'm trying to do something very similar to the <a href="https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping" rel="noreferrer">jquery path example</a> in the documentation, but TS keeps throwing <code>TS2307</code> (webpack compiles fine):</p>
  
  <pre><code>"compilerOptions": {
      "baseUrl": "./src",
      "paths": {
          "@client": [
              "client",
          ],
          "@suir": [
              "../node_modules/semantic-ui-react/dist/commonjs", // not working
          ],
      },
      // …
  },
  "include": [
      "*.d.ts",
      "client/**/*",
      "../node_modules/semantic-ui-react", // is this necessary?
  ],
  </code></pre>
  
  <p>Changing <code>baseUrl</code> to <code>"."</code> and updating <code>includes</code> and <code>paths</code> makes no difference (<code>@client</code> continues to work and <code>@suir</code> continues to not work).</p>
  
  <p>Changing <code>"@suir"</code> to <code>"@suir/"</code> or <code>"@suir/*"</code> (and appending <code>/*</code> to its value) also makes no difference.</p>
  
  <hr>
  
  <p>The reason I'm doing this is to simplify my imports (I'm specifying them explicitly instead of pulling named exports from the bundle in order to reduce my vendor bundle size—saves about 1 MB):</p>
  
  <pre><code>import Button from 'semantic-ui-react/dist/commonjs/elements/Button'; // works
  
  import Button from '@suir/elements/Button'; // not found
  </code></pre>