<p dir="auto">Using your latest version, turns out webpack is producing broken JS code<br>
<a href="https://gist.githubusercontent.com/binarykitchen/a1899291fc3b470ba83cb9a245317775/raw/60de0910ca0a6bef87d96a202de8faa0ffb785ce/gistfile1.txt" rel="nofollow">https://gist.githubusercontent.com/binarykitchen/a1899291fc3b470ba83cb9a245317775/raw/60de0910ca0a6bef87d96a202de8faa0ffb785ce/gistfile1.txt</a></p>
<p dir="auto">Chrome complains with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="index.coffee:2 Uncaught SyntaxError: missing ) after argument list
    at Object../lib/jquery/index.coffee (lib.js:851)
    at __webpack_require__ (lib.js:710)
    at fn (lib.js:95)
    at eval (multi_jquery_goog_ext:1)
    at Object.1 (lib.js:1060)
    at __webpack_require__ (lib.js:710)
    at lib.js:762
    at lib.js:765"><pre class="notranslate"><code class="notranslate">index.coffee:2 Uncaught SyntaxError: missing ) after argument list
    at Object../lib/jquery/index.coffee (lib.js:851)
    at __webpack_require__ (lib.js:710)
    at fn (lib.js:95)
    at eval (multi_jquery_goog_ext:1)
    at Object.1 (lib.js:1060)
    at __webpack_require__ (lib.js:710)
    at lib.js:762
    at lib.js:765
</code></pre></div>
<p dir="auto">Tried to find this out by eliminating each option one after one but no luck. Any clues what this could be? I have this error three times for all my three entry points in development mode.</p>
<h1 dir="auto">Bug report</h1>




<p dir="auto"><strong>What is the current behavior?</strong><br>
React app doesn't load and throws this console error.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23143990/46099049-a4cefe80-c17a-11e8-9317-65a1e5c923db.png"><img src="https://user-images.githubusercontent.com/23143990/46099049-a4cefe80-c17a-11e8-9317-65a1e5c923db.png" alt="screen shot 2018-09-26 at 10 43 28 am" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23143990/46099316-50784e80-c17b-11e8-8f78-74a6d14a607e.png"><img src="https://user-images.githubusercontent.com/23143990/46099316-50784e80-c17b-11e8-8f78-74a6d14a607e.png" alt="screen shot 2018-09-26 at 10 48 48 am" style="max-width: 100%;"></a></p>
<p dir="auto">Temporary fixable by disabling the hard-source-webpack-plugin from your Webpack config. Your react app will take a lot longer to build since its not reading from a cache anymore</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br>
Run an npm start, load your page, kill npm, run npm start again so webpack reads from the hard-source cache, load your page, and inspect to see the console error</p>






<p dir="auto"><strong>What is the expected behavior?</strong><br>
I can run webpack and kill it any number of times, and when reading from the hard-source cache, the react app still builds and doesn't throw an unknown error</p>


<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version:  4.20.2<br>
Node.js version: 10.11.0<br>
Operating System: MacOS High Sierra 10.13.6<br>
Additional tools:</p>