webpack chunkhash
algorithm does not take is consideration ids used by DllReferencePlugin
to point to DLL modules located on external bundle.
-
case 1: app references the
jquery
library that is bundled in thedll/dist/lib.bundle.js
with the id=1 => the generated bundle has the hash55916f0def9e33032675
-
case 2: app references the
jquery
library that is bundled in thedll/dist/lib.bundle.js
with the id=4 => the generated bundle has the hash55916f0def9e33032675
-
expected result: The two bundles must have different hashes since they have different content.
- nodejs (tested with nodejs 5.5.0)
- yarn (tested with yarn 0.20.3)
At the root directory
yarn build