title: How to import webpack generated output file into an App that has already installed modules that are already in the output file?
body: <p>I have 2 apps that have Highcharts already installed</p>
  
  <p>and I developed a separate react component that uses the Highcharts lib. </p>
  
  <p>So I used webpack to generate that component with its dependencies to be imported into the 2 apps.</p>
  
  <p>I did that to make the code DRY so I don't have to write the component code into 2 Apps.</p>
  
  <p>How to import the generated output file from webpack into these apps without giving me the error of reinitializing Highcharts?</p>
  
  <p>In other words how to import the file without any conflicts with the already installed libs in the Apps?</p>
  
  <h2>Update</h2>
  
  <p>I want the lib to be in the bundled file when in case of importing it into an application that doesn't have the lib.</p>
  
  <h2>Update II</h2>
  
  <p>I want the lib to be in the bundled file when the client application doesn't have the lib, and when the application has the lib the bundled library is the one that is used by the component.</p>