Step 1: Preheat your oven to 350°F (175°C) and line a cupcake pan with paper liners.
Step 2: In a large mixing bowl, whisk together the coconut milk, canola oil, vanilla extract, and sugar until smooth.
Step 3: In another bowl, sift together the all-purpose flour, cocoa powder, baking soda, baking powder, and salt.
Step 4: Gradually add the dry ingredients into the wet ingredients, stirring gently until just combined.
Step 5: Spoon the batter into the cupcake liners, filling each about two-thirds full.
Step 6: Make a small well in the center of each cupcake batter and fill with raspberry preserves.
Step 7: Bake for 18-20 minutes, or until a toothpick inserted comes out clean.
Step 8: Let the cupcakes cool in the pan for about 5 minutes, then transfer to a wire rack to cool completely.
Step 9: Melt the chocolate in a double boiler. Heat the heavy cream until simmering and pour over the melted chocolate. Stir until smooth.
Step 10: Once the ganache cools and thickens, frost each cupcake generously.