Prep Time 20 minutes mins
Cook Time 18 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 8 minutes mins
For best flavor, use well-drained pineapple to avoid soggy cupcakes and toast the shredded coconut in a dry skillet over medium heat until golden for deeper nuttiness; ensure all refrigerated ingredients are at room temperature so the batter emulsifies smoothly and the cupcakes rise evenly; if baking in a dark metal pan, check doneness a few minutes early to prevent overbrowning; the frosted cupcakes keep well in an airtight container in the fridge for up to three days—just let them sit at room temperature for about 20 minutes before serving to bring back their soft, tropical texture and taste.