Preheat the oven at 350° F and line your cupcake tray with liners.
In a bowl mix in the flour, baking powder, and salt and keep aside.
In another large bowl or in the bowl of a stand mixer, add the butter and sugar and beat on high speed till the mixture becomes light and creamy in texture (You can also use a hand mixer for this).
Add in the eggs one at a time and beat them till the eggs are well incorporated into the mixture.
In a third bowl, add in all the liquids - coconut milk, pineapple juice, and coconut extract, and give it a good stir.
Add in the flour mixture to the butter mixture in three equal parts alternating it with the coconut-pineapple mixer and ending with the flour mixture, beat on low speed after each addition until just combined. Do not overmix.
Add in the crushed pineapple and fold in. Don't over mix.
Fill the prepared cupcake liners with the batter ¾ full.
Bake for 20-22 min or until a toothpick inserted in the center comes out clean. Let the cupcakes cool in the pan for 15 minutes, then move to a wire rack to cool completely.