This has been fixed in #284 and it's available in v.0.4.4 π
NOTE: This same issue happens with javascript in webpack as of this writing (v.4.20.2), but can be solved by adding both NamedChunksPlugin
and HashedModuleIdsPlugin
.
Happy Building!
Displays the issue with contenthash in webpack plugin
- Run
yarn build
ornpm run build
- Comment out
file2
from entry - Run
build
again - Notice how
file3.css
is created with a new hash when the contents have not changed