Preheat the oven to 350F (180C).
Line an 8x8 inch (20x20 cm) pan with parchment paper, leaving an overhang around the edges. Alternatively, line with foil and lightly grease.
Whisk together the melted butter and brown sugar in a large bowl. Keep whisking until you no longer have pools of melted butter sitting on top of the sugar.
Whisk in the egg and vanilla extract.
Gently stir in the flour, cornstarch and salt.
Chop the raspberries in half. If you're using frozen berries, toss them in 1 extra teaspoon of flour.
Very gently fold the white chocolate chunks and chopped raspberries into the batter using a rubber spatula.
Spoon the batter into the prepared pan and smooth the top.
Bake in the preheated oven for about 22-26 minutes, or until the top looks set and an inserted toothpick comes out clean or with a few slightly damp crumbs. If using frozen berries, it may take a minute or 2 longer to bake.
Cool the bars fully in the pan. This can take up to 3 hours.
When ready to slice, lift the bars out of the pan using the overhang of the parchment paper or foil and place on a cutting board. Slice with a thin, sharp knife.