title: react jsconfig.json ignores paths
body: <p>I have the following <code>jsconfig.json</code> in the root of my react app:</p>
  
  <pre><code>{
      "compilerOptions": {
        "baseUrl": "./src",
        "paths": {
          "rmv": ["components/rmv/*"]
        }
      }
    }
  </code></pre>
  
  <p>and there is a <code>helper.jsx</code> file located in <code>./src/components/rmv</code> folder.</p>
  
  <p>But my attempts to export it directly like that:
  <code>import Helper from 'rmv/helper'</code>
  fail with an error:</p>
  
  <pre><code>Failed to compile
  Module not found: Can't resolve 'rmv/helper' 
  </code></pre>
  
  <p>Only <code>import Helper from 'components/rmv/helper'</code> works.
  Why?
  PS: I also tried:</p>
  
  <pre><code>"paths": {
          "rmv/*": ["components/rmv/*"]
        }
  </code></pre>
  
  <p>Does not work either.</p>
  
  <p>Here is the minimum reproducible example: github.com/chapkovski/trouble_with_jsconfig</p>
  
  <p>Specifically these lines:
  <a href="https://github.com/chapkovski/trouble_with_jsconfig/blob/e37c8c216eac0da7c70023f7fba47eea54973176/src/App.js#L4-L5" rel="nofollow noreferrer">https://github.com/chapkovski/trouble_with_jsconfig/blob/e37c8c216eac0da7c70023f7fba47eea54973176/src/App.js#L4-L5</a></p>