<p dir="auto"><a href="http://stackoverflow.com/questions/38530831/webpack-vendor-chunk-changing-every-time" rel="nofollow">http://stackoverflow.com/questions/38530831/webpack-vendor-chunk-changing-every-time</a></p>
<p dir="auto"><strong>Webpack version:</strong><br>
"^1.13.1"</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
OSX El Capitan</p>
<p dir="auto"><strong>Current behavior:</strong></p>
<p dir="auto"><strong>Expected/desired behavior:</strong></p>
<ul dir="auto">
<li><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration.</strong></li>
<li><strong>What is the expected behavior?</strong></li>
<li><strong>What is the motivation / use case for changing the behavior?</strong></li>
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5 | Dart | ...]</li>
</ul>
<p dir="auto">I'm trying to split my vendor code from my app code and got it all working. However, every time I change some code in my app and create a new build, the vendor file gets a new chunkhash and thus is downloaded by the clients again. The contents are exactly the same though.</p>
<p dir="auto">Here is a fully working small example showing the problem: <a href="https://github.com/kevinrenskers/chunkhash-problem">https://github.com/kevinrenskers/chunkhash-problem</a></p>
<p dir="auto">And as you can see, the contents of these files are 100% identical even though the chunkhash keeps changing:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/229384/8997650/7d59d360-3713-11e5-9ea6-691012429126.png"><img src="https://cloud.githubusercontent.com/assets/229384/8997650/7d59d360-3713-11e5-9ea6-691012429126.png" alt="screen shot 2015-07-30 at 22 47 59" style="max-width: 100%;"></a></p>