The Dodgers edged the Pirates thanks to Cody Bellinger and Joc Pederson finding their form.