ConcatenatedModule emits unstable hashes from graph order
@sungodtemple▲ 0 net votes
ModuleConcatenationPlugin sorts re-export dependencies by sourceOrder and rangeStart, but ties fall back to graph insertion order, so identical sources can produce different code and contenthashes between cold and filesystem-cached builds. The reliable workaround is disabling concatenation entirely with optimization.concatenateModules: false, which also makes build output deterministic at the cost of slightly larger bundles.