Thanks!
I’m not sure exactly what your question is.
The answer to “does the hash of a file change whenever the contents changes?” is absolutely, always, yes.
The answer to the question “does the hash of a file stay the same if the contents don’t change?” is yes, but not by default. This section of the docs explains why. This is what `HashedModuleIdsPlugin()` is for.
So, when set up like the examples in the article, you can rely on the two facts that:
- A changed file will get a new hash
- An unchanged file will keep the same hash
I don’t follow this part: “ If it did, then your entire article would be moot point, since webpack basically has it covered, and bundle splitting would be pointless”.
I can’t work out what scenario would result in Webpack having it covered, yet bundle splitting being pointless.