Closed
Description
What is the current behavior?
using modules: true
options breaks webpack chunkhash algorithm and generates a new hash for every chunk on every build. This makes long term caching impossible when using css-modules
.
I also tried extract-text-plugin
but I get same behaviour.
If the current behavior is a bug, please provide the steps to reproduce.
Follow the steps using official webpack caching guide here. create some async chunks and split points. you'll see that each chunk hash only changes if you change your files content. but if you load a css file using css-modules
that chunk's hash changes on every build.
webpack: v2.7.0
css-loader: latest
style-loader: latest