title: webpack multiple entry points
body: <p>I am working on an Angular project using webpack and I have set two different entry points</p>
  
  <pre><code>entry: {
      'polyfills': './src/polyfills.ts',
      'vendor': './src/vendor.ts',
      'app': ['./src/main.ts', './src/counter.ts']   },
  </code></pre>
  
  <p>Main and Counter are two modules and then when I put in my index.html <code>&lt;counter&gt;&lt;/counter&gt;</code>  and <code>&lt;app-root&gt;&lt;/app-root&gt;</code>, it works</p>
  
  <p>But after exporting the app with <code>npm run build --prod</code> command on the production environment only works app-root not counter. any clue about this weird behaviour?</p>
  
  <p>Thanks!</p>