1 cup pumpkin puree
1 cup granulated sugar
½ cup vegetable oil
2 large eggs
2 cups all-purpose flour
1 tsp baking powder
1 tsp cinnamon
½ tsp nutmeg
½ tsp salt
½ cup optional: chocolate chips
Preheat the oven to 350°F (175°C). Grease and flour a 9×9-inch baking pan or line with parchment paper.
In a medium bowl, whisk together the flour, baking powder, cinnamon, nutmeg, and salt. Set aside.
In a large bowl, beat the sugar and oil together. Add the eggs one at a time, mixing well after each addition. Stir in the pumpkin puree until fully combined.
Gradually add the dry mixture to the wet mixture, stirring gently until just combined. Be careful not to overmix.
If adding chocolate chips or nuts, fold them in now.
Spread the batter evenly in the prepared baking pan.
Bake in the preheated oven for 30 to 35 minutes, until a toothpick inserted into the center comes out clean.
Allow the cake to cool in the pan for 10 minutes before transferring it to a wire rack to cool completely.
Slice into squares and serve warm with your favorite beverage, or store in an airtight container.