In most cases, the difference is negligible.
The stiffness of the heat exchanger - either as a piping element or as a rigid element - vastly exceeds that of the piping.
When the stiffness of the piping approaches that of the equipment, then you need to be more vigilant.