(the pierogi can be covered with plastic wrap and refrigerated for up to 8 hours.) to caramelize the onion: melt the butter and oil in a large saucepan over medium heat. add the yellow onion and cook, stirring occasionally, until very tender and caramelized, about 25 minutes.