title: Babel typescript preset not working together with react preset
body: <p>I am using the babel react preset to convert React components with JSX files into JS files. This works fine!</p>
  
  <pre><code>npm install --save-dev @babel/preset-react
  </code></pre>
  
  <p>Now I added the typescript preset,</p>
  
  <pre><code>npm install --save-dev @babel/preset-typescript
  </code></pre>
  
  <p>Both presets are in .babelrc:</p>
  
  <pre><code>{
      "presets": [
          ["@babel/env", {"modules": false }],
          "@babel/preset-typescript",
          "@babel/preset-react"
      ]
  }
  </code></pre>
  
  <p>I added the directories to tsconfig.json</p>
  
  <pre><code>{
      "compilerOptions": {
          "rootDir": "src",
          "outDir": "docs/js"
      },
      "include": [
          "src/**/*"
      ]
  }
  </code></pre>
  
  <p>But when I run Babel with </p>
  
  <pre><code>npx babel src --out-dir prod/js
  </code></pre>
  
  <p>The typescript preset is ignored. The react preset DOES work!</p>
  
  <p>If I call the typescript preset manually in the terminal, it DOES work:</p>
  
  <pre><code>npx babel --presets @babel/preset-typescript src/test.ts
  </code></pre>
  
  <p>But now my React code is ignored.</p>
  
  <p>How can I combine these two presets with Babel?</p>