title: Convert node module resolution to "fully specified" with Typescript
body: <p>I have a Typescript module that needs to work in node and the browser. I use <code>import myModule from './myModule'</code> throughout and when I import my module in <code>create-react-app</code> I get this error:</p>
  <blockquote>
  <p>'BREAKING CHANGE: The request './myModule' failed to resolve only because it was resolved as fully specified'.</p>
  </blockquote>
  <p>Is there a Typescript settings to be able to convert my &quot;not fully specified&quot; to &quot;fully specified&quot; during compilation?</p>
  <p>Here is my tsconfig.json:</p>
  <pre><code>{
    &quot;extends&quot;: &quot;@tsconfig/recommended/tsconfig.json&quot;,
    &quot;include&quot;: [&quot;./src&quot;],
    &quot;compilerOptions&quot;: {
      &quot;module&quot;: &quot;ES2020&quot;,
      &quot;declaration&quot;: true,
      &quot;moduleResolution&quot;: &quot;Node&quot;,
      &quot;outDir&quot;: &quot;./dist&quot;,
      &quot;jsx&quot;: &quot;react&quot;
    },
    &quot;exclude&quot;: [&quot;**/*.spec.ts&quot;]
  }
  </code></pre>