title: react npm build shows favicon on tab but it is only a blank page
body: <p>I have a typescript react app which I am trying to build for delpoy.</p>
  <p>After running <code>npm run build</code> and <code>serve -s build</code> my app starts but it is only a blank page. The favicon is visible on tab.</p>
  <p>I am using <code>@reach/router</code> as my router, don't know if it has anything to do with the issue.</p>
  <p>I've tried:</p>
  <ul>
  <li>adding <code>homepage: &quot;.&quot;</code> to package.json</li>
  <li>adding <code>homepage: &quot;./&quot;</code> to package.json</li>
  <li>without <code>homepage</code> in package.json</li>
  </ul>
  <p>Upon serving the app locally or deploying it to firebase I receive only the blank page. I can see the chunks being created and the files deployed.</p>
  <p>The deployed version is hosted at: <a href="https://rezervavila-prod.web.app/" rel="nofollow noreferrer">https://rezervavila-prod.web.app/</a></p>
  <hr />
  <p><strong>EDIT:</strong> I've seen on this <a href="https://stackoverflow.com/questions/55568697/blank-page-after-running-build-on-create-react-app/63277866#63277866">answer</a> that <code>BrowserRouter</code> was an issue for some. In my case I'm using <code>@reach/router</code> <a href="https://github.com/reach/router" rel="nofollow noreferrer">Router</a> but I can't find a fix.</p>
  <p><code>package.json</code>:</p>
  <pre><code>{
    &quot;name&quot;: &quot;app&quot;,
    &quot;homepage&quot;: &quot;.&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@date-io/date-fns&quot;: &quot;^1.3.13&quot;,
      &quot;@material-ui/core&quot;: &quot;^4.11.3&quot;,
      &quot;@material-ui/icons&quot;: &quot;^4.11.2&quot;,
      &quot;@material-ui/lab&quot;: &quot;^4.0.0-alpha.57&quot;,
      &quot;@material-ui/pickers&quot;: &quot;^3.3.10&quot;,
      &quot;@reach/router&quot;: &quot;^1.3.4&quot;,
      &quot;@testing-library/jest-dom&quot;: &quot;^5.11.4&quot;,
      &quot;@testing-library/react&quot;: &quot;^11.1.0&quot;,
      &quot;@testing-library/user-event&quot;: &quot;^12.1.10&quot;,
      &quot;@types/firebase&quot;: &quot;^3.2.1&quot;,
      &quot;@types/jest&quot;: &quot;^26.0.15&quot;,
      &quot;@types/node&quot;: &quot;^12.0.0&quot;,
      &quot;@types/reach__router&quot;: &quot;^1.3.7&quot;,
      &quot;@types/react-dom&quot;: &quot;^17.0.0&quot;,
      &quot;@types/react-redux&quot;: &quot;^7.1.16&quot;,
      &quot;axios&quot;: &quot;^0.21.1&quot;,
      &quot;clsx&quot;: &quot;^1.1.1&quot;,
      &quot;date-fns&quot;: &quot;^2.19.0&quot;,
      &quot;firebase&quot;: &quot;^8.2.7&quot;,
      &quot;moment&quot;: &quot;^2.29.1&quot;,
      &quot;node-cache&quot;: &quot;^5.1.2&quot;,
      &quot;prettier&quot;: &quot;^2.2.1&quot;,
      &quot;query-string&quot;: &quot;^6.14.0&quot;,
      &quot;react&quot;: &quot;^17.0.1&quot;,
      &quot;react-big-calendar&quot;: &quot;^0.33.2&quot;,
      &quot;react-dom&quot;: &quot;^17.0.1&quot;,
      &quot;react-image-file-resizer&quot;: &quot;^0.4.2&quot;,
      &quot;react-localize-redux&quot;: &quot;^3.5.3&quot;,
      &quot;react-redux&quot;: &quot;^7.2.2&quot;,
      &quot;react-scripts&quot;: &quot;4.0.2&quot;,
      &quot;react-toastify&quot;: &quot;^7.0.3&quot;,
      &quot;redux&quot;: &quot;^4.0.5&quot;,
      &quot;redux-devtools-extension&quot;: &quot;^2.13.8&quot;,
      &quot;redux-thunk&quot;: &quot;^2.3.0&quot;,
      &quot;typescript&quot;: &quot;^4.1.2&quot;,
      &quot;uniqid&quot;: &quot;^5.3.0&quot;,
      &quot;web-vitals&quot;: &quot;^1.0.1&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;react-scripts start&quot;,
      &quot;build&quot;: &quot;react-scripts build&quot;,
      &quot;build:development&quot;: &quot;env-cmd -f .env.development npm run build&quot;,
      &quot;build:production&quot;: &quot;env-cmd -f .env.production npm run build&quot;,
      &quot;test&quot;: &quot;react-scripts test&quot;,
      &quot;eject&quot;: &quot;react-scripts eject&quot;
    },
    &quot;eslintConfig&quot;: {
      &quot;extends&quot;: [
        &quot;react-app&quot;,
        &quot;react-app/jest&quot;
      ]
    },
    &quot;browserslist&quot;: [
      &quot;&gt;0.2%&quot;,
      &quot;not dead&quot;,
      &quot;not ie &lt;= 11&quot;,
      &quot;not op_mini all&quot;
    ],
    &quot;devDependencies&quot;: {
      &quot;@types/react&quot;: &quot;^17.0.2&quot;,
      &quot;@types/react-big-calendar&quot;: &quot;^0.30.0&quot;,
      &quot;@types/react-toastify&quot;: &quot;^4.1.0&quot;,
      &quot;@types/uniqid&quot;: &quot;^5.3.0&quot;,
      &quot;organize-imports-cli&quot;: &quot;^0.8.0&quot;,
      &quot;tslint&quot;: &quot;^6.1.3&quot;,
      &quot;tslint-config-prettier&quot;: &quot;^1.18.0&quot;,
      &quot;tslint-react&quot;: &quot;^5.0.0&quot;,
      &quot;tslint-react-hooks&quot;: &quot;^2.2.2&quot;
    }
  </code></pre>