Preheat the oven to 350 degrees F and line an 8x8 inch square pan with parchment paper. Set to the side. In a medium bowl, whisk together the flour, baking powder, baking soda, cornstarch and salt. Set to the side.
220 grams all-purpose flour, 4 grams baking powder, 2 grams baking soda, 7 grams cornstarch, 3 grams salt
In a bowl of a stand mixer, cream together the butter and sugar on medium speed until light and fluffy, about 3-4 minutes.
200 grams sugar, 113 grams unsalted butter, room temperature
On low speed, mix in the egg yolks one at a time until fully incorporated. Then add the sourdough discard, vanilla extract and almond extract until smooth.
100 grams sourdough discard, room temperature, 2 egg yolks, room temperature, 8 grams vanilla extract, 1 gram almond extract, optional
Slowly add the dry ingredients into the wet ingredients until there are no more streaks of flour. The cookie dough will be thick. If you’d light, you can add sprinkles to the cookie dough. I’d add 60-80 grams of jimmy-style sprinkles and give a quick mix. Press the sourdough cookie dough into the prepared baking pan. Note: Since the dough is thick, it can be quite challenging to spread. I like to lightly wet my fingers and press the dough into an even layer. Remember, it doesn’t have to be perfect since we’ll be covering it with frosting! Bake the Sourdough Sugar Cookie Bars for 20-25 minutes. Be careful not to OVERBAKE. The bars are done when the edges are lightly golden brown and the center still has a slight jiggle. The bars will continue to bake while they cool in the pan. If you poke a toothpick in the center and it comes out clean, it is overbaked.
Remove the cookie bars from the oven and place on a wire rack to cool completely. Note: The bars will sink, this is expected! If you’d like a more even finish, you can press the bake of a spoon on the edges to help flatten them.