<p dir="auto">When I change app code, vendors.js will have a slight change as following image shows, this prevents me from doing long term caching.<br>
It seems that chunk 0 refers to my app chunk, but it's unnecessary to have this in my vendors file.<br>
How am I supposed to do to keep my vendors content same when I just change my app code?<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4210829/11013456/79624da8-8549-11e5-969c-30ae58083f9d.png"><img src="https://cloud.githubusercontent.com/assets/4210829/11013456/79624da8-8549-11e5-969c-30ae58083f9d.png" alt="image" style="max-width: 100%;"></a></p>
<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>