title: SetupProxy file not being read in Create React App Typescript
body: <p>I have this code using <code>CRA --template typescript</code> in <code>setupProxy.js</code> file</p>
  
  <pre><code>const { createProxyMiddleware } = require('http-proxy-middleware');
  
  module.exports = function (app) {
    app.use(
      '/user/try',
      createProxyMiddleware({
        target: 'http://localhost:8002',
        changeOrigin: true,
      })
    );
  };
  </code></pre>
  
  <p>but the problem is that <code>setupProxy.js</code> file is completely ignored causing my request to fail.</p>
  
  <p>I know I can use the <code>"proxy": "http://localhost:8002"</code> in <code>package.json</code> but it will not accept multiple proxies. </p>
  
  <p>To further test, I also created a new <code>CRA</code> but <strong>without typescript</strong> and suddenly it's working with the same code above.</p>
  
  <p>Is there a way to make <code>setupProxy.js</code> work in <strong>CRA typescript</strong>?</p>