Technically you could just pulse the cranberries then add the sugar to them, but you may end up with tiny bits of cranberry and really big pieces of cranberry, which could change the consistency and taste of the bread.