title: Profiling React app in Chrome DevTools - Profiling not supported
body: <p>When i try to profile the production build of my app, in the <code>Profile</code> tab of the Chrome DevTools, i get the following message:</p>
  <pre><code>Profiling not supported.
  Profiling support requires either a development or production-profiling build of React v16.5+.
  </code></pre>
  <p>(my React version is 16.8)
  How can i fix that?</p>
  <p>I'm using Webpack4, and adding this to my config file as suggested by the official React docs didn't help:</p>
  <pre><code>  resolve: {
      alias: {
        'react-dom$': 'react-dom/profiling',
        'scheduler/tracing': 'scheduler/tracing-profiling',
      }
    }
  };
  </code></pre>