Preheat your oven to 350°F (175°C). Grease a 9x5-inch loaf pan and set aside.
In a large mixing bowl, whisk together the flour, sugar, baking powder, baking soda, salt, and shredded coconut until well combined.
In another bowl, mix the melted butter, eggs, vanilla extract, buttermilk, and crushed pineapple until smooth.
Pour the wet ingredients into the dry ingredients and stir gently until just combined. Do not overmix; a few lumps are okay.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake for 55-60 minutes, or until a toothpick inserted into the center comes out clean.
Let the bread cool in the pan for 10 minutes before transferring it to a wire rack to cool completely.