Preheat the oven to 350°F. Line a 9x5-inch loaf pan with parchment paper leaving an overhang on the two longer sides, then grease the parchment paper lightly with cooking spray.
In the bowl of a stand mixer fitted with the paddle attachment, cream together the butter and sugar until light and fluffy, about 2 minutes. Add the eggs one at a time, beating between each addition, then add the coconut extract.
In a small bowl, whisk together the flour, baking powder and salt. In a separate small bowl, whisk together the coconut milk and pineapple juice. Alternately add the flour mixture and the coconut milk mixture to the stand mixture, beating between each addition. Stir in the flaked coconut then pour the batter into the prepared baking pan and bake it for about 50 minutes or until a toothpick inserted comes out clean.
Remove the bread from the oven and allow it to cool for 15 minutes in the pan. Using the parchment paper overhangs, transfer the bread to a cooling rack, remove the parchment paper and allow the bread to cool completely before topping it with the glaze (recipe follows).