title: React boilerplate doesn't load js files in the index.html
body: <p>I'm testing React-boilerplate and I'm trying to load some javascript files in the <code>app/index.html</code> file:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;!-- The first thing in any HTML file should be the charset --&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;!-- Make the page mobile compatible --&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;!-- Allow installing the app to the homescreen --&gt;
      &lt;link rel="manifest" href="manifest.json"&gt;
      &lt;meta name="mobile-web-app-capable" content="yes"&gt;
  
      &lt;script type="text/javascript" src="myJScriptFile1.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="myJScriptFile2.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;!-- Display a message if JS has been disabled on the browser. --&gt;
      &lt;noscript&gt;If you're seeing this message, that means &lt;strong&gt;JavaScript has been disabled on your browser&lt;/strong&gt;, please &lt;strong&gt;enable JS&lt;/strong&gt; to make this app work.&lt;/noscript&gt;
  
      &lt;!-- The app hooks into this div --&gt;
      &lt;div id="app"&gt;&lt;/div&gt;
      &lt;!-- A lot of magic happens in this file. HtmlWebpackPlugin automatically includes all assets (e.g. bundle.js, main.css) with the correct HTML tags, which is why they are missing in this HTML file. Don't add any assets here! (Check out webpackconfig.js if you want to know more) --&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is the default <code>index.html</code> file. I'm running it with <code>npm</code> or <code>yarn</code> and the server console shows me no error, but my browser console keeps telling me:</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token &lt;
  </code></pre>
  
  <p>Just like this, there is no more error. These javascript files work fine because I'm using them into another React based project, and I'm calling them into the <code>index.html</code> file as well. The console prints that error per file. If I trace the error it leads me to the correspond .js file.</p>
  
  <p>After almost a week searching the web I couldn't find a solution. So that's it, does anybody have any idea on how to solve this?</p>