Preheat your oven to 350 degrees F
Grease and flour your cake pans. I am using mini bundt pans, and I grease and floured each one.
In a large mixing bowl, use a whisk to mix together your sugar, oil, eggs, sourdough discard and vanilla. Mix until well combined and starts to become creamy. Just a couple of minutes.
To this, add your shredded carrots and crushed pineapple and mix together.
Next you will add your dry ingredients. Add the flour, baking soda, cinnamon, and salt.
I like to use a rubber spatula to mix this all together. if you use a whisk the carrot get stuck all inside the whisk.
Use the spatula to combine all the dry ingredients with the wet. Do not overmix this though.
Grease a cupcake pan or add liners to it. Then add batter til it is about 2/3 full.
Bake on the center rack in your oven for 22-25 minutes or until the center is done and a toothpick comes out clean. Dont overbake.
Once they are done baking, let them cool on a wire rack before topping them with cream cheese frosting. You can get my cream cheese frosting recipe here! Store any leftover cake in an airtight container in the fridge on on the countertop. You can also freezes the cakes and then defrost and use them! But not with the icing. Add that once they are defrosted.