DEV Community


Discussion on: Optimizing front-end delivery with Webpack 4

jesalg profile image
Jesal Gadhia Author • Edited

Interesting, I just verified, the hashes do stay consistent through multiple builds as long as the contents don't change.

Might be some other that plugin may be constantly changing something in your build or just a bug in Webpack that probably got fixed in later versions.

pavelloz profile image
Paweł Kowalski

Theres hash and contenthash. The latter is computed from chunk content (is deterministic, i hope), so the same input gives same output. Hash is global for the build afair.