title: Unhandled Rejection (ChunkLoadError): Loading chunk 1 failed
body: <p>I am basically trying to do a <code>poc</code> on extracting the some part of my main application into a separate package.A Sample separate package I have built it in my git repo <a href="https://github.com/prabhatmishra33/myapp-poc-ui/" rel="nofollow noreferrer">myapp-poc-ui</a>.</p>
  
  <p>Now I am trying to access this in my <code>main application.</code><br/>
  <code>package.json :</code> </p>
  
  <pre><code> "dependencies": {
      "myapp-poc-ui": "git+https://github.com/prabhatmishra33/myapp-poc-ui#master",
      "react": "^16.10.1",
      "react-dom": "^16.10.1",
      "react-scripts": "3.2.0"
    },
  </code></pre>
  
  <p>I am accessing the exported module in my main app by:</p>
  
  <pre><code>import React from 'react';
  import './App.css';
  import { HelloWorld } from "myapp-poc-ui";
  import { LazyComponent } from "myapp-poc-ui";
  
  function App() {
    return (
      &lt;div&gt;
        &lt;HelloWorld /&gt;
        &lt;LazyComponent /&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  </code></pre>
  
  <p>Issue : I am getting an issue on my browser </p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token '&lt;'
  Uncaught (in promise) ChunkLoadError: Loading chunk 1 failed.
  </code></pre>
  
  <p><code>Hello World</code> gets loaded properly but this issue comes while loading the <code>LazyComponent</code>.</p>
  
  <p>I am guessing there is something wrong in <code>webpack config file publicPath property</code> for <code>myapp-poc-ui</code></p>
  
  <p>Any design change suggestion is also welcome.</p>
  
  <p>Thanks in advance.</p>