fix(build): Optimize incremental builds with shared content graph hashing (#17630)