title: Webpack 4 splitChunks all + multi-configuration causes Cannot read property 'call' of undefined at ./webpack/bootstrap
body: <p>Webpack 4 <strong>splitChunks all</strong> + <strong>multi-configuration</strong> causes</p>
  
  <p><code>Cannot read property 'call' of undefined at ./webpack/bootstrap</code></p>
  
  <p><a href="https://i.stack.imgur.com/YXimI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YXimI.png" alt="enter image description here"></a></p>
  
  <p>If I turn off splitChunks, everything goes fine, but my app will increase tons of megabytes.</p>
  
  <p>If I use single config + multi-entry mode, everything also goes fine, but I need two different alias</p>
  
  <ol>
  <li>one has no alias</li>
  <li>one has alias for react -> preact</li>
  </ol>
  
  <p>Plus I want to splitChunks respectively, which is only possible in multi-configuration webpack mode.</p>