Console logging error on bundle.js instead of React component
<p>I have created a Webpack build which works fine for me - it has a dev-server which I use for hot-reloading, and a production express server that runs a template html file and integrates the <code>bundle.js</code> file.</p>

<p>This is all great, except when I'm working in my dev-server, the console gives me error messages like this:</p>

<p><code>Uncaught Error: Expected the reducer to be a function.(…) bundle.js:36329</code></p>

<p>It references <code>bundle.js</code> as the source of the error, not the component I am working in, which makes it very difficult to track down the source of the error.</p>

<p>I know as far as the console is aware it is the <code>bundle.js</code> file that contains the error, but how can I get the console to log the pre-bundle code? (e.g. <code>Component.js</code>)</p>

<p>Thanks in advance. </p>